IsThreadSafeForSlateRendering

Is this thread valid for sending out rendering commands? If the slate loading thread exists, then yes, it is always safe Otherwise, we have to be on the game thread

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h

Include

#include "Rendering/SlateRenderer.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Rendering/SlateRenderer.cpp

Syntax

bool IsThreadSafeForSlateRendering()

Remarks

Is this thread valid for sending out rendering commands? If the slate loading thread exists, then yes, it is always safe Otherwise, we have to be on the game thread