IsInRHIThread

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/CoreGlobals.h

Include

#include "CoreGlobals.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp

Syntax

bool IsInRHIThread()

Returns

True if called from the RHI thread, or if called from ANY thread during single threaded rendering

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