Struct HDShadowInitParameters
Shadows Global Settings.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct HDShadowInitParameters
Fields
allowDirectionalMixedCachedShadows
Maximum shadow map resolution for directional lights.
Declaration
public bool allowDirectionalMixedCachedShadows
Field Value
Type | Description |
---|---|
bool |
areaLightShadowAtlas
Initialization parameters for area shadows atlas.
Declaration
public HDShadowInitParameters.HDShadowAtlasInitParams areaLightShadowAtlas
Field Value
Type | Description |
---|---|
HDShadowInitParameters.HDShadowAtlasInitParams |
areaShadowFilteringQuality
Area Shadow filtering quality.
Declaration
public HDAreaShadowFilteringQuality areaShadowFilteringQuality
Field Value
Type | Description |
---|---|
HDAreaShadowFilteringQuality |
cachedAreaLightShadowAtlas
Resolution for the area lights cached shadow maps atlas.
Declaration
public int cachedAreaLightShadowAtlas
Field Value
Type | Description |
---|---|
int |
cachedPunctualLightShadowAtlas
Resolution for the punctual lights cached shadow maps atlas.
Declaration
public int cachedPunctualLightShadowAtlas
Field Value
Type | Description |
---|---|
int |
directionalShadowFilteringQuality
Directional shadow filtering quality.
Declaration
[FormerlySerializedAs("shadowQuality")]
[FormerlySerializedAs("shadowFilteringQuality")]
public HDShadowFilteringQuality directionalShadowFilteringQuality
Field Value
Type | Description |
---|---|
HDShadowFilteringQuality |
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 |
---|---|
int |
maxDirectionalShadowMapResolution
Maximum shadow map resolution for directional lights.
Declaration
public int maxDirectionalShadowMapResolution
Field Value
Type | Description |
---|---|
int |
maxPunctualShadowMapResolution
Maximum shadow map resolution for punctual lights.
Declaration
public int maxPunctualShadowMapResolution
Field Value
Type | Description |
---|---|
int |
maxScreenSpaceShadowSlots
Maximum number of screen space shadows.
Declaration
public int maxScreenSpaceShadowSlots
Field Value
Type | Description |
---|---|
int |
maxShadowRequests
Maximum number of shadow requests at the same time.
Declaration
public int maxShadowRequests
Field Value
Type | Description |
---|---|
int |
punctualLightShadowAtlas
Initialization parameters for punctual shadows atlas.
Declaration
public HDShadowInitParameters.HDShadowAtlasInitParams punctualLightShadowAtlas
Field Value
Type | Description |
---|---|
HDShadowInitParameters.HDShadowAtlasInitParams |
punctualShadowFilteringQuality
Punctual shadow filtering quality.
Declaration
[FormerlySerializedAs("shadowQuality")]
[FormerlySerializedAs("shadowFilteringQuality")]
public HDShadowFilteringQuality punctualShadowFilteringQuality
Field Value
Type | Description |
---|---|
HDShadowFilteringQuality |
screenSpaceShadowBufferFormat
Format for screen space shadows.
Declaration
public ScreenSpaceShadowFormat screenSpaceShadowBufferFormat
Field Value
Type | Description |
---|---|
ScreenSpaceShadowFormat |
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 |
---|---|
bool |