docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class URPShaderStrippingSetting

    Class that stores the shader stripping settings that are specific for UniversalRenderPipeline

    Inheritance
    object
    URPShaderStrippingSetting
    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.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    [Serializable]
    [SupportedOnRenderPipeline(typeof(UniversalRenderPipelineAsset))]
    [CategoryInfo(Name = "Additional Shader Stripping Settings", Order = 40)]
    [ElementInfo(Order = 10)]
    public class URPShaderStrippingSetting : IRenderPipelineGraphicsSettings

    Properties

    stripScreenCoordOverrideVariants

    Controls whether Screen Coordinates Override shader variants are automatically stripped.

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

    stripUnusedPostProcessingVariants

    Controls whether to automatically strip post processing shader variants based on UnityEngine.Rendering.VolumeProfile components. Stripping is done based on VolumeProfiles in project, their usage in scenes is not considered.

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

    stripUnusedVariants

    Controls whether to strip variants if the feature is disabled.

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

    version

    Current version.

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

    Implements

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