cesium-native
0.41.0
|
When implemented by a rendering engine, allows tasks to be asynchronously executed in background threads. More...
#include <CesiumAsync/ITaskProcessor.h>
Public Member Functions | |
virtual | ~ITaskProcessor ()=default |
Default destructor. | |
virtual void | startTask (std::function< void()> f)=0 |
Starts a task that executes the given function in a background thread. More... | |
When implemented by a rendering engine, allows tasks to be asynchronously executed in background threads.
Not supposed to be used by clients.
Definition at line 14 of file ITaskProcessor.h.
|
pure virtual |
Starts a task that executes the given function in a background thread.
f | The function to execute |