Skip to content

FfxLensDispatchDescription

struct FfxLensDispatchDescription

A structure encapsulating the parameters for dispatching of FidelityFX Lens.

Dependencies: FfxDimensions2D, FfxResource

Public Interface

Public Members:

FfxCommandList commandList

FfxCommandList commandList

The FfxCommandList to record Lens rendering commands into.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 118, column 33)

FfxResource resource

FfxResource resource

The FfxResource to run Lens on.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 119, column 33)

FfxResource resourceOutput

FfxResource resourceOutput

The FfxResource to write Lens output to.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 120, column 33)

FfxDimensions2D renderSize

FfxDimensions2D renderSize

The resolution used for rendering the scene.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 121, column 33)

float grainScale

float grainScale

Artistic tweaking constant for grain scale..

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 122, column 33)

float grainAmount

float grainAmount

Artistic tweaking constant for how intense the grain is.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 123, column 33)

uint32_t grainSeed

uint32_t grainSeed

The seed for grain RNG.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 124, column 33)

float chromAb

float chromAb

Artistic tweaking constant for chromatic aberration intensity.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 125, column 33)

float vignette

float vignette

Artistic tweaking constant for vignette intensity.

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 126, column 33)

Used By: FfxLens

Source: sdk/include/FidelityFX/host/ffx_lens.h (line 116, column 1)