FfxCacaoContext

A structure encapsulating the FidelityFX CACAO context.

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

Detailed description

A structure encapsulating the FidelityFX CACAO context.

This sets up an object which contains all persistent internal data and resources that are required by CACAO.

The FfxCacaoContext object should have a lifetime matching your use of CACAO. Before destroying the CACAO context care should be taken to ensure the GPU is not accessing the resources created or used by CACAO. It is therefore recommended that the GPU is idle before destroying the CACAO context.

Data fields

Type

Description

uint32_t

data
An opaque set of “uint32_t“ which contain the data for the context.