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 |
---|---|
commandList
The “FfxCommandList“ to record Denoiser rendering commands into.
|
|
depthHierarchy
A “FfxResource“ containing the depth buffer with full mip maps for the current frame.
|
|
motionVectors
A “FfxResource“ containing the motion vectors buffer for the current frame.
|
|
normal
A “FfxResource“ containing the normal buffer for the current frame.
|
|
radianceA
A “FfxResource“ containing the ping-pong radiance buffers to filter.
|
|
radianceB
A “FfxResource“ containing the ping-pong radiance buffers to filter.
|
|
varianceA
A “FfxResource“ containing the ping-pong variance buffers used to filter and guide reflections.
|
|
varianceB
A “FfxResource“ containing the ping-pong variance buffers used to filter and guide reflections.
|
|
extractedRoughness
A “FfxResource“ containing the roughness of the current frame.
|
|
denoiserTileList
A “FfxResource“ containing the tiles to be denoised.
|
|
indirectArgumentsBuffer
A “FfxResource“ containing the indirect arguments used by the indirect dispatch calls tha compose the denoiser.
|
|
output
A “FfxResource“ to store the denoised reflections.
|
|
renderSize
The resolution that was used for rendering the input resources.
|
|
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.
|