Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/DataDrivenShaderPlatformInfo.h |
| Include | #include "DataDrivenShaderPlatformInfo.h" |
bool RHISupportsRayTracingShaders
(
const FStaticShaderPlatform Platform
)
Remarks
Whether this platform can compile ray tracing shaders (regardless of project settings). To use at runtime, also check GRHISupportsRayTracing and r.RayTracing CVar (see IsRayTracingEnabled() helper).