IsRayTracingEnabled

Returns `true_ when running on RT-capable machine and RT support is enabled for the project.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderResource.h

Include

#include "RenderResource.h"

Syntax

bool IsRayTracingEnabled()

Remarks

Returns `true_ when running on RT-capable machine and RT support is enabled for the project. This function is a runtime only function!

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