The Slate thread is simply run on a worker thread. 更多...
#include <PreLoadSlateThreading.h>
类 FPreLoadScreenSlateThreadTask 继承关系图:Public 成员函数 | |
| virtual void | Exit () override |
| Exits the runnable object. 更多... | |
| virtual bool | Init () override |
| Initializes the runnable object. 更多... | |
| virtual uint32 | Run () override |
| Runs the runnable object. 更多... | |
Public 成员函数 继承自 FRunnable | |
| virtual void | Exit () |
| Exits the runnable object. 更多... | |
| virtual class FSingleThreadRunnable * | GetSingleThreadInterface () |
| Gets single thread interface pointer used for ticking this runnable when multi-threading is disabled. 更多... | |
| virtual bool | Init () |
| Initializes the runnable object. 更多... | |
| virtual uint32 | Run ()=0 |
| Runs the runnable object. 更多... | |
| virtual void | Stop () |
| Stops the runnable object. 更多... | |
| virtual | ~FRunnable () |
| Virtual destructor | |
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.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |