FfxClassifierShadowDispatchDescription

A structure encapsulating the parameters for dispatching of FidelityFX Classifier for shadows.

File location: sdk/include/FidelityFX/host/ffx_classifier.h

Detailed description

A structure encapsulating the parameters for dispatching of FidelityFX Classifier for shadows.

Data fields

Type

Description

FfxCommandList

commandList
The “FfxCommandList“ to record Classifier rendering commands into.

FfxResource

depth
The “FfxResource“ (SRV Texture 0)containing depth information.

FfxResource

normals
The “FfxResource“ (SRV Texture 1)containing normals information.

FfxResource

shadowMaps
The “FfxResource“ (SRV Texture 2)containing shadowMap(s) information.

FfxResource

workQueue
The “FfxResource“ (UAV Buffer 0)Work Queue: rwsb_tiles.

FfxResource

workQueueCount
The “FfxResource“ (UAV Buffer 1)Work Queue Counter: rwb_tileCount.

FfxResource

rayHitTexture
The “FfxResource“ (UAV Texture 0)Ray Hit Texture.

FfxFloat32

normalsUnPackMul
A multiply factor to transform the normal to the space expected by the Classifier.

FfxFloat32

normalsUnPackAdd
An offset to transform the normal to the space expected by the Classifier.

FfxFloat32x3

lightDir
The light direction.

FfxFloat32

sunSizeLightSpace
The sun size.

FfxUInt32

tileCutOff
The tile cutoff.

FfxBoolean

bRejectLitPixels
UI Setting, selects wheter to reject lit pixels in the shadows maps.

FfxUInt32

cascadeCount
The number of cascades.

FfxFloat32

blockerOffset
UI Setting, the blocker offsett.

FfxBoolean

bUseCascadesForRayT
UI Setting, selects whether to use the classifier to save ray intervals.

FfxFloat32

cascadeSize
The cascade size.

FfxFloat32x4

cascadeScale
A multiply factor for each cascade.

FfxFloat32x4

cascadeOffset
An offeset factor for each cascade.