RHISupportsRayTracingShaders

Can this platform compile ray tracing shaders (regardless of project settings).

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHI.h

Include

#include "RHI.h"

Syntax

bool RHISupportsRayTracingShaders
(
    const FStaticShaderPlatform Platform
)

Remarks

Can this platform compile ray tracing shaders (regardless of project settings). To use at runtime, also check GRHISupportsRayTracing and r.RayTracing CVar (see IsRayTracingEnabled() helper).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss