docs.unity.cn
    Show / Hide Table of Contents

    Interface IShaderVariantSettings

    Exposes settings for shader variants

    Namespace: UnityEngine.Rendering
    Syntax
    public interface IShaderVariantSettings

    Properties

    exportShaderVariants

    Specifies if the stripping of the shaders variants needs to be exported

    Declaration
    bool exportShaderVariants { get; set; }
    Property Value
    Type Description
    Boolean

    shaderVariantLogLevel

    Specifies the level of the logging for shader variants

    Declaration
    ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
    Property Value
    Type Description
    ShaderVariantLogLevel

    stripDebugVariants

    Controls whether debug display shaders for Rendering Debugger are available in Player builds.

    Declaration
    virtual bool stripDebugVariants { get; set; }
    Property Value
    Type Description
    Boolean

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023