FfxBrixelizerUpdateDescription

A structure encapsulating the parameters used for computing an update by the Brixelizer context.

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

Detailed description

A structure encapsulating the parameters used for computing an update by the Brixelizer context.

Data fields

Type

Description

FfxBrixelizerResources

resources
Structure containing all resources to be used by the Brixelizer context.

uint32_t

frameIndex
The index of the current frame.

float

sdfCenter
The center of the cascades.

FfxBrixelizerPopulateDebugAABBsFlags

populateDebugAABBsFlags
Flags determining which AABBs to draw in a debug visualization. See “FfxBrixelizerPopulateDebugAABBsFlag“.

FfxBrixelizerDebugVisualizationDescription *

debugVisualizationDesc
An optional debug visualization description. If this parameter is set to “NULL“ no debug visualization is drawn.

uint32_t

maxReferences
The maximum number of triangle voxel references to be stored in the update.

uint32_t

triangleSwapSize
The size of the swap space available to be used for storing triangles in the update.

uint32_t

maxBricksPerBake
The maximum number of bricks to be updated.

size_t*

outScratchBufferSize
An optional pointer to a “size_t“ to receive the size of the GPU scratch buffer needed to process the update.

FfxBrixelizerStats *

outStats
An optional pointer to an “FfxBrixelizerStats“ struct to receive statistics for the update. Note, stats read back after a call to update do not correspond to the same frame that the stats were requested, as reading of stats requires readback from GPU buffers which is performed with a delay.