Skip to content

FfxFsr2GenerateReactiveDescription

struct FfxFsr2GenerateReactiveDescription

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

Dependencies: FfxDimensions2D, FfxResource

Public Interface

Public Members:

FfxCommandList commandList

FfxCommandList commandList

The FfxCommandList to record FSR2 rendering commands into.

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 211, column 33)

FfxResource colorOpaqueOnly

FfxResource colorOpaqueOnly

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

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 212, column 33)

FfxResource colorPreUpscale

FfxResource colorPreUpscale

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

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 213, column 33)

FfxResource outReactive

FfxResource outReactive

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

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 214, column 33)

FfxDimensions2D renderSize

FfxDimensions2D renderSize

The resolution that was used for rendering the input resources.

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 215, column 33)

float scale

float scale

A value to scale the output.

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 216, column 33)

float cutoffThreshold

float cutoffThreshold

A threshold value to generate a binary reactive mask.

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 217, column 33)

float binaryValue

float binaryValue

A value to set for the binary reactive mask.

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 218, column 33)

uint32_t flags

uint32_t flags

Flags to determine how to generate the reactive mask.

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 219, column 33)

Used By: ffxFsr2

Source: sdk/include/FidelityFX/host/ffx_fsr2.h (line 209, column 1)