IsInRHIThread

Choose your operating system:

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