FfxDofDispatchDescription

A structure encapsulating the parameters for dispatching of FidelityFX Depth of Field.

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

Detailed description

A structure encapsulating the parameters for dispatching of FidelityFX Depth of Field.

Data fields

Type

Description

FfxCommandList

commandList
The “FfxCommandList“ to record DoF rendering commands into.

FfxResource

color
The “FfxResource“ containing color information.

FfxResource

depth
The “FfxResource“ containing depth information.

FfxResource

output
The “FfxResource“ to output into. Can be the same as the color input.

float

cocScale
The factor converting depth to circle of confusion size. Can be calculated using ffxDofCalculateCocScale.

float

cocBias
The bias to apply to circle of confusion size. Can be calculated using ffxDofCalculateCocBias.