A PxSpuDispatcher.
More...
#include <PxSpuDispatcher.h>
A PxSpuDispatcher.
A PxSpuDispatcher is responsible for scheduling the execution of SPU tasks passed to it by the SDK.
- See Also
- PxSpuTask
-
PxTaskManager
virtual PxSpuDispatcher::~PxSpuDispatcher |
( |
| ) |
|
|
inlinevirtual |
virtual void PxSpuDispatcher::submitTask |
( |
PxSpuTask & |
task | ) |
|
|
pure virtual |
Called by the TaskManager when an SPU task is to be queued for execution.
Upon receiving a task, the dispatcher should schedule the task to run on any available SPUs. After the task has been run, it should call the release() method and discard it's pointer.
- Parameters
-
[in] | task | The task to be run. |
- See Also
- PxSpuTask
The documentation for this class was generated from the following file: