docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPlayerContentBuilder

    Interface for building player content for graphics tests.

    Namespace: UnityEditor.TestTools.Graphics.Builder
    Assembly: UnityEditor.TestTools.Graphics.dll
    Syntax
    public interface IPlayerContentBuilder

    Methods

    BuildContent(IList<GraphicsTestCase>, IEnumerable<GraphicsTestPlatform>, BuildTarget)

    Builds the content for the test cases and nodes specified.

    Declaration
    IEnumerable<string> BuildContent(IList<GraphicsTestCase> testCases, IEnumerable<GraphicsTestPlatform> searchPlatforms, BuildTarget buildTarget)
    Parameters
    Type Name Description
    IList<GraphicsTestCase> testCases

    The test cases to be built

    IEnumerable<GraphicsTestPlatform> searchPlatforms

    The nodes for which to search reference images

    BuildTarget buildTarget

    The build target for the player

    Returns
    Type Description
    IEnumerable<string>

    The names of the built content bundles.

    CleanUp()

    Cleans up the content built by this builder.

    Declaration
    void CleanUp()
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)