![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Rendering/SlateRenderer.h"#include "Textures/TextureAtlas.h"#include "Fonts/FontCache.h"#include "Fonts/FontMeasure.h"#include "Widgets/SWindow.h"Functions | |
| DEFINE_STAT (STAT_SlatePreFullBufferTime) | |
| bool | IsThreadSafeForSlateRendering () |
| bool | DoesThreadOwnSlateRendering () |
| DEFINE_STAT | ( | STAT_SlatePreFullBufferTime | ) |
| bool DoesThreadOwnSlateRendering | ( | ) |
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.
| bool 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