Skip to content

FfxVrsDispatchDescription

struct FfxVrsDispatchDescription

A structure encapsulating the parameters for dispatching the various passes of FidelityFX Variable Shading.

Dependencies: FfxDimensions2D, FfxFloatCoords2D, FfxResource

Public Interface

Public Members:

FfxCommandList commandList

FfxCommandList commandList

The FfxCommandList to record VRS rendering commands into.

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 108, column 22)

FfxResource historyColor

FfxResource historyColor

A FfxResource containing the color buffer for the previous frame (at presentation resolution).

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 109, column 22)

FfxResource motionVectors

FfxResource motionVectors

A FfxResource containing the velocity buffer for the current frame (at presentation resolution).

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 110, column 22)

FfxResource output

FfxResource output

A FfxResource containing the ShadingRateImage buffer for the current frame.

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 111, column 22)

FfxDimensions2D renderSize

FfxDimensions2D renderSize

The resolution that was used for rendering the input resource.

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 112, column 22)

float varianceCutoff

float varianceCutoff

This value specifies how much variance in luminance is acceptable to reduce shading rate.

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 113, column 22)

float motionFactor

float motionFactor

The lower this value, the faster a pixel has to move to get the shading rate reduced.

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 114, column 22)

uint32_t tileSize

uint32_t tileSize

ShadingRateImage tile size.

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 115, column 22)

FfxFloatCoords2D motionVectorScale

FfxFloatCoords2D motionVectorScale

Scale motion vectors to different format.

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 116, column 22)

Used By: FfxVrs

Source: sdk/include/FidelityFX/host/ffx_vrs.h (line 106, column 1)