|
RavEngine
|
A default implementation for a CPU task dispatcher. More...
#include <PxDefaultCpuDispatcher.h>
Public Member Functions | |
| virtual void | release ()=0 |
| Deletes the dispatcher. | |
| virtual void | setRunProfiled (bool runProfiled)=0 |
| Enables profiling at task level. | |
| virtual bool | getRunProfiled () const =0 |
| Checks if profiling is enabled at task level. | |
Public Member Functions inherited from physx::PxCpuDispatcher | |
| virtual void | submitTask (PxBaseTask &task)=0 |
| Called by the TaskManager when a task is to be queued for execution. | |
| virtual uint32_t | getWorkerCount () const =0 |
| Returns the number of available worker threads for this dispatcher. | |
A default implementation for a CPU task dispatcher.
|
pure virtual |
Checks if profiling is enabled at task level.
Implemented in physx::Ext::DefaultCpuDispatcher.
|
pure virtual |
Deletes the dispatcher.
Do not keep a reference to the deleted instance.
Implemented in physx::Ext::DefaultCpuDispatcher.
|
pure virtual |
Enables profiling at task level.
| [in] | runProfiled | True if tasks should be profiled. |
Implemented in physx::Ext::DefaultCpuDispatcher.