Skip to content

FfxDenoiserShadowsDispatchDescription

struct FfxDenoiserShadowsDispatchDescription

A structure encapsulating the parameters for dispatching of FidelityFX Denoiser.

Dependencies: 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 109, column 20)

FfxResource hitMaskResults

FfxResource hitMaskResults

A FfxResource containing the raytracing results where every pixel represents a 8x4 tile.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 110, column 20)

FfxResource depth

FfxResource depth

A FfxResource containing 32bit depth values for the current frame.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 111, column 20)

FfxResource velocity

FfxResource velocity

A FfxResource containing 2-dimensional motion vectors.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 112, column 20)

FfxResource normal

FfxResource normal

A FfxResource containing the normals.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 113, column 20)

FfxResource shadowMaskOutput

FfxResource shadowMaskOutput

A FfxResource which is used to store the fullscreen raytracing output.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 114, column 20)

FfxFloat32x2 motionVectorScale

FfxFloat32x2 motionVectorScale

A multiply factor to transform the motion vectors to the space expected by the shadow denoiser.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 116, column 20)

FfxFloat32 normalsUnpackMul

FfxFloat32 normalsUnpackMul

A multiply factor to transform the normal to the space expected by the shadow denoiser.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 117, column 20)

FfxFloat32 normalsUnpackAdd

FfxFloat32 normalsUnpackAdd

An offset to transform the normal to the space expected by the shadow denoiser.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 118, column 20)

FfxFloat32x3 eye

FfxFloat32x3 eye

The camera position.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 120, column 20)

uint32_t frameIndex

uint32_t frameIndex

The current frame index.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 121, column 20)

FfxFloat32 projectionInverse

FfxFloat32 projectionInverse

The inverse of the camera projection matrix.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 122, column 20)

FfxFloat32 reprojectionMatrix

FfxFloat32 reprojectionMatrix

The result of multiplying the projection matrix of the current frame by the result of the multiplication between the camera previous’s frame view matrix by the inverse of the view-projection matrix.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 123, column 20)

FfxFloat32 viewProjectionInverse

FfxFloat32 viewProjectionInverse

The inverse of the camera view-projection matrix.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 124, column 20)

FfxFloat32 depthSimilaritySigma

FfxFloat32 depthSimilaritySigma

A constant factor used in the denoising filters, defaults to 1.0f.

Source: sdk/include/FidelityFX/host/ffx_denoiser.h (line 126, column 20)

Used By: FfxDenoiser

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