Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/DataDrivenShaderPlatformInfo.h |
| Include | #include "DataDrivenShaderPlatformInfo.h" |
bool RHISupportsRayTracing
(
const FStaticShaderPlatform Platform
)
Remarks
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.