IsInActualRenderingThread

Unlike IsInRenderingThread, this will always return false if we are running single threaded. It only returns true if this is actually a separate rendering thread. Mostly useful for checks.

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 IsInActualRenderingThread()

Remarks

Unlike IsInRenderingThread, this will always return false if we are running single threaded. It only returns true if this is actually a separate rendering thread. Mostly useful for checks.

Returns

True if called from the rendering thread.