FfxLensDispatchDescription

A structure encapsulating the parameters for dispatching of FidelityFX Lens.

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

Detailed description

A structure encapsulating the parameters for dispatching of FidelityFX Lens.

Data fields

Type

Description

FfxCommandList

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

FfxResource

resource
The “FfxResource“ to run Lens on.

FfxResource

resourceOutput
The “FfxResource“ to write Lens output to.

FfxDimensions2D

renderSize
The resolution used for rendering the scene.

float

grainScale
Artistic tweaking constant for grain scale..

float

grainAmount
Artistic tweaking constant for how intense the grain is.

uint32_t

grainSeed
The seed for grain RNG.

float

chromAb
Artistic tweaking constant for chromatic aberration intensity.

float

vignette
Artistic tweaking constant for vignette intensity.