Navigation
API > API/Runtime > API/Runtime/RHI
Description
Whether this platform can build acceleration structures and use full ray tracing pipelines or inline ray tracing (ray queries). To use at runtime, also check GRHISupportsRayTracing and r.RayTracing CVar (see IsRayTracingEnabled() helper). Check GRHISupportsRayTracingShaders before using full ray tracing pipeline state objects. Check GRHISupportsInlineRayTracing before using inline ray tracing features in compute and other shaders.
| Name | RHISupportsRayTracing |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DataDrivenShaderPlatformInfo.h |
| Include Path | #include "DataDrivenShaderPlatformInfo.h" |
bool RHISupportsRayTracing
(
const FStaticShaderPlatform Platform
)