FfxBrixelizerDebugVisualizationDescription

A structure encapsulating the parameters for drawing a debug visualization.

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

Detailed description

A structure encapsulating the parameters for drawing a debug visualization.

Data fields

Type

Description

float

inverseViewMatrix
Inverse view matrix for the scene in row major order.

float

inverseProjectionMatrix
Inverse projection matrix for the scene in row major order.

FfxBrixelizerTraceDebugModes

debugState
An FfxBrixelizerTraceDebugModes determining what kind of debug output to draw.

uint32_t

startCascadeIndex
The index of the most detailed cascade in the cascade chain.

uint32_t

endCascadeIndex
The index of the least detailed cascade in the cascade chain.

float

sdfSolveEps
The epsilon value used in SDF ray marching.

float

tMin
The tMin value for minimum ray intersection.

float

tMax
The tMax value for maximum ray intersection.

uint32_t

renderWidth
The width of the output resource.

uint32_t

renderHeight
The height of the output resource.

FfxResource

output
An FfxResource to draw the debug visualization to.

FfxCommandList

commandList
An FfxCommandList to write the draw commands to.

uint32_t

numDebugAABBInstanceIDs
The number of FfxBrixelizerInstanceIDs in the debugAABBInstanceIDs array.

const FfxBrixelizerInstanceID *

debugAABBInstanceIDs
An array of FfxBrixelizerInstanceIDs for instances to draw the bounding boxes of.

FfxBrixelizerCascadeDebugAABB

cascadeDebugAABB
An array of flags showing what AABB debug output to draw for each cascade.