Skip to content

FfxCacaoDispatchDescription

struct FfxCacaoDispatchDescription

A structure encapsulating the parameters and resources required to dispatch FidelityFX CACAO.

Dependencies: FfxResource

Public Interface

Public Members:

FfxCommandList commandList

FfxCommandList commandList

The FfxCommandList to record CACAO rendering commands into.

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 390, column 32)

FfxResource depthBuffer

FfxResource depthBuffer

A FfxResource containing the depth buffer for the current frame.

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 391, column 32)

FfxResource normalBuffer

FfxResource normalBuffer

A FfxResource containing the normal buffer for the current frame.

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 392, column 32)

FfxResource outputBuffer

FfxResource outputBuffer

A FfxResource containing the output color buffer for CACAO.

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 393, column 32)

FfxFloat32x4x4 * proj

FfxFloat32x4x4 * proj

A FfxFloat32x4x4 containing the projection matrix for the current frame.

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 394, column 22)

FfxFloat32x4x4 * normalsToView

FfxFloat32x4x4 * normalsToView

A FfxFloat32x4x4 containing the normal matrix for the current frame.

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 395, column 29)

float normalUnpackMul

float normalUnpackMul

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 396, column 32)

float normalUnpackAdd

float normalUnpackAdd

Multiplication value to unpack normals. Set to 1 if normals are already in [-1,1] range.

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 397, column 32)

Used By: FfxCacao

Source: sdk/include/FidelityFX/host/ffx_cacao.h (line 388, column 1)