Struct HDShadowInitParameters
Shadows Global Settings.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public struct HDShadowInitParameters
Fields
allowDirectionalMixedCachedShadows
Maximum shadow map resolution for directional lights.
Declaration
public bool allowDirectionalMixedCachedShadows
Field Value
Type | Description |
---|---|
Boolean |
areaLightShadowAtlas
Initialization parameters for area shadows atlas.
Declaration
public HDShadowInitParameters.HDShadowAtlasInitParams areaLightShadowAtlas
Field Value
Type | Description |
---|---|
HDShadowInitParameters.HDShadowAtlasInitParams |
cachedAreaLightShadowAtlas
Resolution for the area lights cached shadow maps atlas.
Declaration
public int cachedAreaLightShadowAtlas
Field Value
Type | Description |
---|---|
Int32 |
cachedPunctualLightShadowAtlas
Resolution for the punctual lights cached shadow maps atlas.
Declaration
public int cachedPunctualLightShadowAtlas
Field Value
Type | Description |
---|---|
Int32 |
directionalShadowsDepthBits
Depth bits for directional shadows.
Declaration
public DepthBits directionalShadowsDepthBits
Field Value
Type | Description |
---|---|
DepthBits |
maxAreaShadowMapResolution
Maximum shadow map resolution for area lights.
Declaration
public int maxAreaShadowMapResolution
Field Value
Type | Description |
---|---|
Int32 |
maxDirectionalShadowMapResolution
Maximum shadow map resolution for directional lights.
Declaration
public int maxDirectionalShadowMapResolution
Field Value
Type | Description |
---|---|
Int32 |
maxPunctualShadowMapResolution
Maximum shadow map resolution for punctual lights.
Declaration
public int maxPunctualShadowMapResolution
Field Value
Type | Description |
---|---|
Int32 |
maxScreenSpaceShadowSlots
Maximum number of screen space shadows.
Declaration
public int maxScreenSpaceShadowSlots
Field Value
Type | Description |
---|---|
Int32 |
maxShadowRequests
Maximum number of shadow requests at the same time.
Declaration
public int maxShadowRequests
Field Value
Type | Description |
---|---|
Int32 |
punctualLightShadowAtlas
Initialization parameters for punctual shadows atlas.
Declaration
public HDShadowInitParameters.HDShadowAtlasInitParams punctualLightShadowAtlas
Field Value
Type | Description |
---|---|
HDShadowInitParameters.HDShadowAtlasInitParams |
screenSpaceShadowBufferFormat
Format for screen space shadows.
Declaration
public ScreenSpaceShadowFormat screenSpaceShadowBufferFormat
Field Value
Type | Description |
---|---|
ScreenSpaceShadowFormat |
shadowFilteringQuality
Shadow filtering quality.
Declaration
[FormerlySerializedAs("shadowQuality")]
public HDShadowFilteringQuality shadowFilteringQuality
Field Value
Type | Description |
---|---|
HDShadowFilteringQuality |
shadowResolutionArea
Shadow scalable resolution for area lights.
Declaration
public IntScalableSetting shadowResolutionArea
Field Value
Type | Description |
---|---|
IntScalableSetting |
shadowResolutionDirectional
Shadow scalable resolution for directional lights.
Declaration
public IntScalableSetting shadowResolutionDirectional
Field Value
Type | Description |
---|---|
IntScalableSetting |
shadowResolutionPunctual
Shadow scalable resolution for point lights.
Declaration
public IntScalableSetting shadowResolutionPunctual
Field Value
Type | Description |
---|---|
IntScalableSetting |
supportScreenSpaceShadows
Enable support for screen space shadows.
Declaration
public bool supportScreenSpaceShadows
Field Value
Type | Description |
---|---|
Boolean |