FfxCacaoDispatchDescription
A structure encapsulating the parameters and resources required to dispatch FidelityFX CACAO.
File location: sdk/include/FidelityFX/host/ffx_cacao.h
Detailed description
A structure encapsulating the parameters and resources required to dispatch FidelityFX CACAO.
Data fields
Type |
Description |
---|---|
commandList
The “FfxCommandList“ to record CACAO rendering commands into.
|
|
depthBuffer
A “FfxResource“ containing the depth buffer for the current frame.
|
|
normalBuffer
A “FfxResource“ containing the normal buffer for the current frame.
|
|
outputBuffer
A “FfxResource“ containing the output color buffer for CACAO.
|
|
proj
A “FfxFloat32x4x4“ containing the projection matrix for the current frame.
|
|
normalsToView
A “FfxFloat32x4x4“ containing the normal matrix for the current frame.
|
|
float |
normalUnpackAdd
Multiplication value to unpack normals. Set to 1 if normals are already in [-1,1] range.
|