Class ShaderConfig
Project-wide shader configuration options.
Inherited Members
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
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
s_BarnDoor
Indicates whether to support barn doors.
Declaration
public static int s_BarnDoor
Field Value
Type | Description |
---|---|
int |
See Also
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
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
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
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
s_XrMaxViews
Specifies the maximum number of views to use for XR rendering.
Declaration
public static int s_XrMaxViews
Field Value
Type | Description |
---|---|
int |