FfxDofContextDescription

A structure encapsulating the parameters required to initialize FidelityFX Depth of Field.

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

Detailed description

A structure encapsulating the parameters required to initialize FidelityFX Depth of Field.

Data fields

Type

Description

uint32_t

flags
A collection of FfxDofInitializationFlagBits .

uint32_t

quality
The number of rings to be used in the DoF blur kernel.

FfxDimensions2D

resolution
Resolution of the input and output textures.

FfxInterface

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

float

cocLimitFactor
The limit to apply to circle of confusion size as a factor for resolution height.