Skip to content

FfxDenoiserReflectionsDispatchDescription

struct FfxDenoiserReflectionsDispatchDescription

A structure encapsulating the parameters for dispatching of FidelityFX Denoiser.

Dependencies: FfxDimensions2D, FfxFloatCoords2D, FfxResource

Public Interface

Public Members:

FfxCommandList commandList

FfxCommandList commandList

The FfxCommandList to record Denoiser rendering commands into.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 136, column 25)

FfxResource depthHierarchy

FfxResource depthHierarchy

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 137, column 25)

FfxResource motionVectors

FfxResource motionVectors

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 138, column 25)

FfxResource normal

FfxResource normal

A FfxResource containing the normal buffer for the current frame.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 139, column 25)

FfxResource radianceA

FfxResource radianceA

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 140, column 25)

FfxResource radianceB

FfxResource radianceB

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 141, column 25)

FfxResource varianceA

FfxResource varianceA

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 142, column 25)

FfxResource varianceB

FfxResource varianceB

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 143, column 25)

FfxResource extractedRoughness

FfxResource extractedRoughness

A FfxResource containing the roughness of the current frame.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 144, column 25)

FfxResource denoiserTileList

FfxResource denoiserTileList

A FfxResource containing the tiles to be denoised.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 145, column 25)

FfxResource indirectArgumentsBuffer

FfxResource indirectArgumentsBuffer

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 146, column 25)

FfxResource output

FfxResource output

A FfxResource to store the denoised reflections.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 147, column 25)

FfxDimensions2D renderSize

FfxDimensions2D renderSize

The resolution that was used for rendering the input resources.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 148, column 25)

FfxFloatCoords2D motionVectorScale

FfxFloatCoords2D motionVectorScale

The scale factor to apply to motion vectors.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 149, column 25)

float invProjection

float invProjection

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 150, column 25)

float invView

float invView

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 151, column 25)

float prevViewProjection

float prevViewProjection

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 152, column 25)

float normalsUnpackMul

float normalsUnpackMul

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 153, column 25)

float normalsUnpackAdd

float normalsUnpackAdd

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 154, column 25)

bool isRoughnessPerceptual

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.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 155, column 25)

uint32_t roughnessChannel

uint32_t roughnessChannel

The channel to read the roughness from the materialParameters texture.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 156, column 25)

float temporalStabilityFactor

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.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 157, column 25)

float roughnessThreshold

float roughnessThreshold

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

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 158, column 25)

uint32_t frameIndex

uint32_t frameIndex

The index of the current frame.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 159, column 25)

bool reset

bool reset

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 160, column 25)

Used By: FfxDenoiser

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 134, column 1)