FfxVrsDispatchDescription

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

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

Detailed description

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

Data fields

Type

Description

FfxCommandList

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

FfxResource

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

FfxResource

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

FfxResource

output
A “FfxResource“ containing the ShadingRateImage buffer for the current frame.

FfxDimensions2D

renderSize
The resolution that was used for rendering the input resource.

float

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

float

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

uint32_t

tileSize
ShadingRateImage tile size.

FfxFloatCoords2D

motionVectorScale
Scale motion vectors to different format.