docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum GraphicsApiValidationMode

    Whether a graphics API validation layer is active during a test run. This is used with IgnoreGraphicsTestAttribute to ignore a test when a validation layer is enabled. Combine with a GraphicsDeviceType value in the ignore to scope it to specific graphics APIs.

    Namespace: UnityEngine.TestTools.Graphics.Platforms
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    public enum GraphicsApiValidationMode

    Fields

    Name Description
    Enabled

    A graphics API validation layer is active. How the layer is enabled is API-specific (for Direct3D12, the -force-d3d12-debug-as-errors command line argument).

    None

    No graphics API validation layer is active.

    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)