Skip to content

FfxBrixelizerUpdateDescription

struct FfxBrixelizerUpdateDescription

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

Dependencies: FfxBrixelizerDebugVisualizationDescription, FfxBrixelizerResources, FfxBrixelizerStats

Public Interface

Public Members:

FfxBrixelizerResources resources

FfxBrixelizerResources resources

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

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 139, column 49)

uint32_t frameIndex

uint32_t frameIndex

The index of the current frame.

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 140, column 49)

float sdfCenter

float sdfCenter

The center of the cascades.

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 141, column 49)

FfxBrixelizerPopulateDebugAABBsFlags populateDebugAABBsFlags

FfxBrixelizerPopulateDebugAABBsFlags populateDebugAABBsFlags

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

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 142, column 49)

FfxBrixelizerDebugVisualizationDescription * debugVisualizationDesc

FfxBrixelizerDebugVisualizationDescription * debugVisualizationDesc

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

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 143, column 48)

uint32_t maxReferences

uint32_t maxReferences

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

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 144, column 49)

uint32_t triangleSwapSize

uint32_t triangleSwapSize

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

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 145, column 49)

uint32_t maxBricksPerBake

uint32_t maxBricksPerBake

The maximum number of bricks to be updated.

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 146, column 49)

size_t * outScratchBufferSize

size_t * outScratchBufferSize

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

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 147, column 48)

FfxBrixelizerStats * outStats

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.

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 148, column 48)

Used By: BrixelizerRM, ffxBrixelizer

Source: sdk/include/FidelityFX/host/ffx_brixelizer.h (line 138, column 1)