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 |
---|---|
commandList
The “FfxCommandList“ to record Classifier rendering commands into.
|
|
depth
The “FfxResource“ (SRV Texture 0)containing depth information.
|
|
normals
The “FfxResource“ (SRV Texture 1)containing normals information.
|
|
shadowMaps
The “FfxResource“ (SRV Texture 2)containing shadowMap(s) information.
|
|
workQueue
The “FfxResource“ (UAV Buffer 0)Work Queue: rwsb_tiles.
|
|
workQueueCount
The “FfxResource“ (UAV Buffer 1)Work Queue Counter: rwb_tileCount.
|
|
rayHitTexture
The “FfxResource“ (UAV Texture 0)Ray Hit Texture.
|
|
normalsUnPackMul
A multiply factor to transform the normal to the space expected by the Classifier.
|
|
normalsUnPackAdd
An offset to transform the normal to the space expected by the Classifier.
|
|
lightDir
The light direction.
|
|
sunSizeLightSpace
The sun size.
|
|
tileCutOff
The tile cutoff.
|
|
bRejectLitPixels
UI Setting, selects wheter to reject lit pixels in the shadows maps.
|
|
cascadeCount
The number of cascades.
|
|
blockerOffset
UI Setting, the blocker offsett.
|
|
bUseCascadesForRayT
UI Setting, selects whether to use the classifier to save ray intervals.
|
|
cascadeSize
The cascade size.
|
|
cascadeScale
A multiply factor for each cascade.
|
|
cascadeOffset
An offeset factor for each cascade.
|