docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShaderConfig

    Project-wide shader configuration options. This class reflects the enum. Use it in C# code to check the current configuration.

    Inheritance
    object
    ShaderConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Config.Runtime.dll
    Syntax
    public class ShaderConfig

    Fields

    FPTLMaxLightCount

    Indicates the maximum number of lights available for Fine Prunning Tile Lighting.

    Declaration
    public static int FPTLMaxLightCount
    Field Value
    Type Description
    int
    See Also
    FPTLMaxLightCount

    LightClusterMaxCellElementCount

    Indicates the cap on the maximum number of elements per cell in the light cluster.

    Declaration
    public const int LightClusterMaxCellElementCount = 24
    Field Value
    Type Description
    int
    See Also
    LightClusterMaxCellElementCount

    PathTracingMaxLightCount

    Indicates the maximum number of lights in the path tracing light list.

    Declaration
    public static int PathTracingMaxLightCount
    Field Value
    Type Description
    int
    See Also
    PathTracingMaxLightCount

    k_XRMaxViewsForCBuffer

    Maximum number of XR views for constant buffer allocation.

    Declaration
    public const int k_XRMaxViewsForCBuffer = 2
    Field Value
    Type Description
    int

    s_AreaLights

    Indicates whether to support area lights.

    Declaration
    public static int s_AreaLights
    Field Value
    Type Description
    int
    See Also
    AreaLights

    s_BarnDoor

    Indicates whether to support barn doors.

    Declaration
    public static int s_BarnDoor
    Field Value
    Type Description
    int
    See Also
    BarnDoor

    s_CameraRelativeRendering

    Indicates whether to use camera-relative rendering to enhance precision.

    Declaration
    public static int s_CameraRelativeRendering
    Field Value
    Type Description
    int
    See Also
    CameraRelativeRendering

    s_GlobalMipBias

    Indicates whether to support application of global mip bias on all texture samplers of hdrp.

    Declaration
    public static bool s_GlobalMipBias
    Field Value
    Type Description
    bool
    See Also
    GlobalMipBias

    s_PreExposition

    Indicates whether to use pre-exposition to enhance color prevision.

    Declaration
    public static int s_PreExposition
    Field Value
    Type Description
    int
    See Also
    PreExposition

    s_PrecomputedAtmosphericAttenuation

    Indicates whether to precompute atmosphere attenuation for the directional light on the CPU.

    Declaration
    public static int s_PrecomputedAtmosphericAttenuation
    Field Value
    Type Description
    int
    See Also
    PrecomputedAtmosphericAttenuation

    s_XrMaxViews

    Specifies the maximum number of views to use for XR rendering.

    Declaration
    public static int s_XrMaxViews
    Field Value
    Type Description
    int
    See Also
    XrMaxViews
    In This Article
    Back to top
    Copyright © 2025 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)