Skip to content

FfxDofContextDescription

struct FfxDofContextDescription

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

Dependencies: FfxDimensions2D, FfxInterface

Public Interface

Public Members:

uint32_t flags

uint32_t flags

A collection of FfxDofInitializationFlagBits.

Source: sdk/include/FidelityFX/host/ffx_dof.h (line 102, column 33)

uint32_t quality

uint32_t quality

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

Source: sdk/include/FidelityFX/host/ffx_dof.h (line 103, column 33)

FfxDimensions2D resolution

FfxDimensions2D resolution

Resolution of the input and output textures.

Source: sdk/include/FidelityFX/host/ffx_dof.h (line 104, column 33)

FfxInterface backendInterface

FfxInterface backendInterface

A set of pointers to the backend implementation for FidelityFX.

Source: sdk/include/FidelityFX/host/ffx_dof.h (line 105, column 33)

float cocLimitFactor

float cocLimitFactor

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

Source: sdk/include/FidelityFX/host/ffx_dof.h (line 106, column 33)

Used By: DofRM, ffxDof

Source: sdk/include/FidelityFX/host/ffx_dof.h (line 101, column 1)