Skip to content

FfxFsr2ContextDescription

struct FfxFsr2ContextDescription

A structure encapsulating the parameters required to initialize FidelityFX Super Resolution 2 upscaling.

Dependencies: FfxDimensions2D, FfxInterface

Public Interface

Public Members:

uint32_t flags

uint32_t flags

A collection of FfxFsr2InitializationFlagBits.

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

FfxDimensions2D maxRenderSize

FfxDimensions2D maxRenderSize

The maximum size that rendering will be performed at.

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

FfxDimensions2D displaySize

FfxDimensions2D displaySize

The size of the presentation resolution targeted by the upscaling process.

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

FfxFsr2Message fpMessage

FfxFsr2Message fpMessage

A pointer to a function that can receive messages from the runtime.

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

FfxInterface backendInterface

FfxInterface backendInterface

A set of pointers to the backend implementation for FidelityFX SDK.

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

Used By: ffxFsr2

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