Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/CoreGlobals.h |
Include |
#include "CoreGlobals.h" |
Source |
/Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp |
bool IsInParallelRenderingThread()
True if called from the rendering thread, or if called from ANY thread that isn't the game thread, except that during single threaded rendering the game thread is ok too.