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

FfxCommandList

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

FfxResource

depthBuffer
A “FfxResource“ containing the depth buffer for the current frame.

FfxResource

normalBuffer
A “FfxResource“ containing the normal buffer for the current frame.

FfxResource

outputBuffer
A “FfxResource“ containing the output color buffer for CACAO.

FfxFloat32x4x4 *

proj
A “FfxFloat32x4x4“ containing the projection matrix for the current frame.

FfxFloat32x4x4 *

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.