FfxFsr2Context

A structure encapsulating the FidelityFX Super Resolution 2 context.

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

Detailed description

A structure encapsulating the FidelityFX Super Resolution 2 context.

This sets up an object which contains all persistent internal data and resources that are required by FSR2.

The FfxFsr2Context object should have a lifetime matching your use of FSR2. Before destroying the FSR2 context care should be taken to ensure the GPU is not accessing the resources created or used by FSR2. It is therefore recommended that the GPU is idle before destroying the FSR2 context.

Data fields

Type

Description

uint32_t

data
An opaque set of “uint32_t“ which contain the data for the context.