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 |
---|---|
commandList
The “FfxCommandList“ to record VRS rendering commands into.
|
|
historyColor
A “FfxResource“ containing the color buffer for the previous frame (at presentation resolution).
|
|
motionVectors
A “FfxResource“ containing the velocity buffer for the current frame (at presentation resolution).
|
|
output
A “FfxResource“ containing the ShadingRateImage buffer for the current frame.
|
|
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.
|
motionVectorScale
Scale motion vectors to different format.
|