FfxDenoiserReflectionsDispatchDescription

A structure encapsulating the parameters for dispatching of FidelityFX Denoiser.

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

Detailed description

A structure encapsulating the parameters for dispatching of FidelityFX Denoiser.

Data fields

Type

Description

FfxCommandList

commandList
The “FfxCommandList“ to record Denoiser rendering commands into.

FfxResource

depthHierarchy
A “FfxResource“ containing the depth buffer with full mip maps for the current frame.

FfxResource

motionVectors
A “FfxResource“ containing the motion vectors buffer for the current frame.

FfxResource

normal
A “FfxResource“ containing the normal buffer for the current frame.

FfxResource

radianceA
A “FfxResource“ containing the ping-pong radiance buffers to filter.

FfxResource

radianceB
A “FfxResource“ containing the ping-pong radiance buffers to filter.

FfxResource

varianceA
A “FfxResource“ containing the ping-pong variance buffers used to filter and guide reflections.

FfxResource

varianceB
A “FfxResource“ containing the ping-pong variance buffers used to filter and guide reflections.

FfxResource

extractedRoughness
A “FfxResource“ containing the roughness of the current frame.

FfxResource

denoiserTileList
A “FfxResource“ containing the tiles to be denoised.

FfxResource

indirectArgumentsBuffer
A “FfxResource“ containing the indirect arguments used by the indirect dispatch calls tha compose the denoiser.

FfxResource

output
A “FfxResource“ to store the denoised reflections.

FfxDimensions2D

renderSize
The resolution that was used for rendering the input resources.

FfxFloatCoords2D

motionVectorScale
The scale factor to apply to motion vectors.

float

invProjection
An array containing the inverse of the projection matrix in column major layout.

float

invView
An array containing the inverse of the view matrix in column major layout.

float

prevViewProjection
An array containing the view projection matrix of the previous frame in column major layout.

float

normalsUnpackMul
A multiply factor to transform the normal to the space expected by SSSR.

float

normalsUnpackAdd
An offset to transform the normal to the space expected by SSSR.

bool

isRoughnessPerceptual
A boolean to describe the space used to store roughness in the materialParameters texture. If false, we assume roughness squared was stored in the Gbuffer.

uint32_t

roughnessChannel
The channel to read the roughness from the materialParameters texture.

float

temporalStabilityFactor
A boolean to describe the space used to store roughness in the materialParameters texture. If false, we assume roughness squared was stored in the Gbuffer.

float

roughnessThreshold
Regions with a roughness value greater than this threshold won’t spawn rays.

uint32_t

frameIndex
The index of the current frame.