docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ShaderVariantList.SerializedShaderVariant

    A serialized shader variant.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.TestTools.Graphics
    Assembly: UnityEditor.TestTools.Graphics.dll
    Syntax
    [Serializable]
    public struct ShaderVariantList.SerializedShaderVariant

    Fields

    keywords

    The sorted keywords used in the shader variant.

    Declaration
    public string keywords
    Field Value
    Type Description
    string

    passName

    The name of the pass.

    Declaration
    public string passName
    Field Value
    Type Description
    string

    shaderName

    The name of the shader.

    Declaration
    public string shaderName
    Field Value
    Type Description
    string

    stage

    The type of the shader.

    Declaration
    public ShaderType stage
    Field Value
    Type Description
    ShaderType
    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)