#include <Threads.h>
|
static bool | isOnMainThread () |
| Whether current thread is the thread that called main() .
|
|
static bool | isOnRenderThread () |
| Whether current thread is the rendering thread.
|
|
static RenderThread & | getRenderThread () |
| Get the rendering thread. It is an error to call this method when the application is not running.
|
|
◆ getRenderThread()
Get the rendering thread. It is an error to call this method when the application is not running.
- Note
- Thread-safe in application main loop.
◆ isOnMainThread()
bool ph::editor::Threads::isOnMainThread |
( |
| ) |
|
|
inlinestatic |
Whether current thread is the thread that called main()
.
- Note
- Thread-safe in application main loop.
◆ isOnRenderThread()
bool ph::editor::Threads::isOnRenderThread |
( |
| ) |
|
|
inlinestatic |
Whether current thread is the rendering thread.
- Note
- Thread-safe in application main loop.
◆ Application
◆ Program
The documentation for this class was generated from the following files: