Navigation
Unreal Engine C++ API Reference > Runtime > PreLoadScreen
Inheritance Hierarchy
- FRunnable
- FPreLoadScreenSlateThreadTask
References
Module | PreLoadScreen |
Header | /Engine/Source/Runtime/PreLoadScreen/Public/PreLoadSlateThreading.h |
Include | #include "PreLoadSlateThreading.h" |
Syntax
class FPreLoadScreenSlateThreadTask : public FRunnable
Remarks
The Slate thread is simply run on a worker thread. Slate is run on another thread because the game thread (where Slate is usually run) is blocked loading things. Slate is very modular, which makes it very easy to run on another thread with no adverse effects. It does not enqueue render commands, because the RHI is not thread safe. Thus, it waits to enqueue render commands until the render thread tickables ticks, and then it calls them there.
Constructors
Type | Name | Description | |
---|---|---|---|
FPreLoadScreenSlateThreadTask
(
FPreLoadScreenSlateSynchMechanism& InSyncMechanism |