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 FRayTracing
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AccelerationStructureAlignment | Required alignment for ray tracing acceleration structures. | |
| uint32 | InstanceDescriptorSize | Size of an individual element in the ray tracing instance buffer. | |
| uint32 | ScratchBufferAlignment | Required alignment for ray tracing scratch buffers. | |
| uint32 | ShaderTableAlignment | Required alignment for ray tracing shader binding table buffer. | |
| bool | Supported | Whether or not the RHI supports ray tracing on current hardware (acceleration structure building and new ray tracing-specific shader types). | |
| bool | SupportsAMDHitToken | Whether or not the RHI supports the AMD Hit Token extension. | |
| bool | SupportsAsyncBuildAccelerationStructure | Whether or not the RHI supports async building ray tracing acceleration structures. | |
| bool | SupportsDispatchIndirect | Whether or not the RHI supports indirect ray tracing dispatch commands. | |
| bool | SupportsInlineRayTracing | Whether or not the RHI supports inline ray tracing in compute shaders, without a full ray tracing pipeline. | |
| bool | SupportsPSOAdditions | Whether or not the RHI supports adding new shaders to an existing RT PSO. | |
| bool | SupportsShaders | Whether or not the RHI supports ray tracing raygen, miss and hit shaders (i.e. full ray tracing pipeline). |