Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIGlobals
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIGlobals.h |
| Include | #include "RHIGlobals.h" |
Syntax
struct FVariableRateShading
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | AttachmentEnabled | Whether attachment (image-based) VRS is currently enabled (separate from whether it's supported/available). | |
| bool | Enabled | Whether VRS (in all flavors) is currently enabled (separate from whether it's supported/available). | |
| EVRSImageDataType | ImageDataType | Data type contained in a shading-rate image for image-based Variable Rate Shading. | |
| EPixelFormat | ImageFormat | Image format for the shading rate image for image-based Variable Rate Shading. | |
| int32 | ImageTileMaxHeight | Maximum tile height in a screen space texture that can be used to drive Variable Rate Shading. | |
| int32 | ImageTileMaxWidth | Maximum tile width in a screen space texture that can be used to drive Variable Rate Shading. | |
| int32 | ImageTileMinHeight | Minimum tile height in a screen space texture that can be used to drive Variable Rate Shading. | |
| int32 | ImageTileMinWidth | Minimum tile width in a screen space texture that can be used to drive Variable Rate Shading. | |
| bool | SupportsAttachment | Whether or not the RHI can support image-based Variable Rate Shading. | |
| bool | SupportsAttachmentArrayTextures | Whether or not the RHI can support shading rate attachments as array textures. | |
| bool | SupportsComplexCombinerOps | Whether or not the RHI can support complex combiner operatations between per-draw (pipeline) VRS and image VRS. | |
| bool | SupportsLargerSizes | Whether or not the Variable Rate Shading can be done at larger (2x4 or 4x2 or 4x4) sizes. | |
| bool | SupportsLateUpdate | Whether Variable Rate Shading deferred shading rate texture update is supported. | |
| bool | SupportsPipeline | Whether or not the RHI can support per-draw Variable Rate Shading. |