Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FVariableRateShadingImageManager
Explicit VRS source flags; each type of VRS image generated here will have it's own flag defined in this bitfield. These flags can be used for any particular rendering path to exclude specific types of VRS generation; e.g. Used to allow exclusion of certain types when getting image.
| Name | EVRSSourceType |
| Type | enum |
| Header File | /Engine/Source/Runtime/Renderer/Public/VariableRateShadingImageManager.h |
| Include Path | #include "VariableRateShadingImageManager.h" |
Syntax
enum EVRSSourceType
{
FixedFoveation = 0x1,
EyeTrackedFoveation = 0x2,
ContrastAdaptiveShading = 0x4,
All = FixedFoveation | EyeTrackedFoveation | ContrastAdaptiveShading,
XRFoveation = FixedFoveation | EyeTrackedFoveation,
None = 0x0,
}
Values
| Name | Remarks |
|---|---|
| FixedFoveation | Fixed Foveation: Shading rate is decreased near the periphery of the viewport |
| EyeTrackedFoveation | Eye-Tracked Foveation: Shading rate is decreased in the periphery of the user's gaze |
| ContrastAdaptiveShading | Contrast Adaptive Shading: Shading rate is decreased in areas of low contrast (calculated based on the prior frame) |
| All | Mask of all available VRS source types. |
| XRFoveation | Mask of XR foveated VRS gen only. |
| None |