DoesThreadOwnSlateRendering

If it's the game thread, and there's no loading thread, then it owns slate rendering.

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

Remarks

If it's the game thread, and there's no loading thread, then it owns slate rendering. However if there's a loading thread, it is the exlusive owner of slate rendering.