Module |
|
Header |
/Engine/Source/Runtime/PreLoadScreen/Public/PreLoadSlateThreading.h |
Include |
#include "PreLoadSlateThreading.h" |
class FPreLoadScreenSlateSynchMechanism
This class will handle all the nasty bits about running Slate on a separate thread and then trying to sync it up with the game thread and the render thread simultaneously
Name | Description | |
---|---|---|
|
FPreLoadScreenSlateSynchMechanism |
Name | Description | |
---|---|---|
|
~FPreLoadScreenSlateSynchMechanism() |
Name | Description | ||
---|---|---|---|
|
DestroySlateThread() |
Cleans up the slate thread |
|
|
Initialize() |
Sets up the locks in their proper initial state for running |
|
|
IsSlateDrawPassEnqueued() |
Handles the strict alternation of the slate drawing passes |
|
|
IsSlateMainLoopRunning() |
Handles the counter to determine if the slate thread should keep running |
|
|
ResetSlateDrawPassEnqueued() |
||
|
ResetSlateMainLoopRunning() |
||
|
SetSlateDrawPassEnqueued() |
||
|
SetSlateMainLoopRunning() |
||
|
SlateThreadRunMainLoop() |
The main loop to be run from the Slate thread |
Name |
Description |
---|---|
LoadingThreadInstanceCounter |
This counter is used to generate a unique id for each new instance of the loading thread |