docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphicsTestBuildManager

    Abstract class for managing the building of graphics tests.

    Inheritance
    object
    GraphicsTestBuildManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.TestTools.Graphics.Builder
    Assembly: UnityEditor.TestTools.Graphics.dll
    Syntax
    public abstract class GraphicsTestBuildManager

    Properties

    TestMode

    The TestMode for the graphics test build.

    Declaration
    public abstract TestMode TestMode { get; protected set; }
    Property Value
    Type Description
    TestMode

    Methods

    Build(GraphicsTestBuildSettings, IEnumerable<GraphicsTestPlatform>, IList<GraphicsTestCase>)

    Build the graphics tests using this BuildManager.

    Declaration
    public abstract GraphicsTestBuildResult Build(GraphicsTestBuildSettings settings, IEnumerable<GraphicsTestPlatform> platforms, IList<GraphicsTestCase> graphicsTestCases)
    Parameters
    Type Name Description
    GraphicsTestBuildSettings settings

    The settings to use for the build.

    IEnumerable<GraphicsTestPlatform> platforms

    The nodes to build for.

    IList<GraphicsTestCase> graphicsTestCases

    The graphics test cases to build.

    Returns
    Type Description
    GraphicsTestBuildResult

    The result of the build.

    CleanUp(GraphicsTestBuildSettings)

    Clean up the build for the graphics tests.

    Declaration
    public void CleanUp(GraphicsTestBuildSettings settings)
    Parameters
    Type Name Description
    GraphicsTestBuildSettings settings

    The settings to use for cleaning up the graphics tests.

    Remarks

    This method is called after the build is complete to clean up any temporary files or directories.

    FromContext(TestMode, RuntimePlatform)

    Creates a new instance of the graphics test build manager based on the specified context.

    Declaration
    public static GraphicsTestBuildManager FromContext(TestMode testMode, RuntimePlatform platform)
    Parameters
    Type Name Description
    TestMode testMode

    The context to use for creating the build manager.

    RuntimePlatform platform

    The platform to build for.

    Returns
    Type Description
    GraphicsTestBuildManager

    A new instance of the graphics test build manager for the specified context.

    Exceptions
    Type Condition
    ArgumentException

    If the context is unknown.

    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)