FfxFsr3GenerateReactiveDescription

A structure encapsulating the parameters for automatic generation of a reactive mask.

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

Detailed description

A structure encapsulating the parameters for automatic generation of a reactive mask.

Data fields

Type

Description

FfxCommandList

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

FfxResource

colorOpaqueOnly
A “FfxResource“ containing the opaque only color buffer for the current frame (at render resolution).

FfxResource

colorPreUpscale
A “FfxResource“ containing the opaque+translucent color buffer for the current frame (at render resolution).

FfxResource

outReactive
A “FfxResource“ containing the surface to generate the reactive mask into.

FfxDimensions2D

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

float

scale
A value to scale the output.

float

cutoffThreshold
A threshold value to generate a binary reactive mask.

uint32_t

flags
Flags to determine how to generate the reactive mask.