docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IShaderVariantSettings

    Exposes settings for shader variants

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Obsolete("Use GraphicsSettings.GetRenderPipelineSettings<ShaderStrippingSetting>(). #from(23.3)")]
    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
    bool

    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
    bool stripDebugVariants { get; set; }
    Property Value
    Type Description
    bool

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 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)