docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShaderStrippingSetting

    Class that stores shader stripping settings shared between all pipelines

    Inheritance
    object
    ShaderStrippingSetting
    Implements
    IRenderPipelineGraphicsSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    [SupportedOnRenderPipeline(new Type[] { })]
    [CategoryInfo(Name = "Additional Shader Stripping Settings", Order = 40)]
    [ElementInfo(Order = 0)]
    public class ShaderStrippingSetting : IRenderPipelineGraphicsSettings

    Properties

    exportShaderVariants

    Controls whether to output shader variant information to a file.

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

    shaderVariantLogLevel

    Controls the level of logging of shader variant information outputted during the build process. Information appears in the Unity Console when the build finishes.

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

    stripRuntimeDebugShaders

    When enabled, all debug display shader variants are removed when you build for the Unity Player. This decreases build time, but prevents the use of most Rendering Debugger features in Player builds.

    Declaration
    public bool stripRuntimeDebugShaders { get; set; }
    Property Value
    Type Description
    bool

    version

    Current version.

    Declaration
    public int version { get; }
    Property Value
    Type Description
    int

    Implements

    IRenderPipelineGraphicsSettings

    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, 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)