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.

Related pages

  • Visit the FidelityFX SDK product page for download links and more information.

Looking for more documentation on GPUOpen?

AMD GPUOpen software blogs

Our handy software release blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

GPUOpen Manuals

Don’t miss our manual documentation! And if slide decks are what you’re after, you’ll find 100+ of our finest presentations here.

AMD GPUOpen Performance Guides

The home of great performance and optimization advice for AMD RDNAâ„¢ 2 GPUs, AMD Ryzenâ„¢ CPUs, and so much more.

Getting started: AMD GPUOpen software

New or fairly new to AMD’s tools, libraries, and effects? This is the best place to get started on GPUOpen!

AMD GPUOpen Getting Started Development and Performance

Looking for tips on getting started with developing and/or optimizing your game, whether on AMD hardware or generally? We’ve got you covered!

AMD GPUOpen Technical blogs

Browse our technical blogs, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan®, DirectX®, Unreal Engine, and lots more.

Find out more about our software!

AMD GPUOpen Effects - AMD FidelityFX technologies

Create wonder. No black boxes. Meet the AMD FidelityFX SDK!

AMD GPUOpen Samples

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

AMD GPUOpen developer SDKs

Discover what our SDK technologies can offer you. Query hardware or software, manage memory, create rendering applications or machine learning, and much more!

AMD GPUOpen Developer Tools

Analyze, Optimize, Profile, Benchmark. We provide you with the developer tools you need to make sure your game is the best it can be!