A PxBaseTask implementation with deferred execution and full dependencies. More...
#include <PxTask.h>
Inheritance diagram for physx::PxTask:Public Member Functions | |
| virtual void | release () |
| Release method implementation. | |
| PX_INLINE void | finishBefore (PxTaskID taskID) |
| Inform the PxTaskManager this task must finish before the given. | |
| PX_INLINE void | startAfter (PxTaskID taskID) |
| Inform the PxTaskManager this task cannot start until the given. | |
| PX_INLINE void | addReference () |
| Manually increment this task's reference count. The task will not be allowed to run until removeReference() is called. | |
| PX_INLINE void | removeReference () |
| Manually decrement this task's reference count. If the reference count reaches zero, the task will be dispatched. | |
| PX_INLINE PxI32 | getReference () const |
| Return the ref-count for this task. | |
| PX_INLINE PxTaskID | getTaskID () const |
| Return the unique ID for this task. | |
| virtual void | submitted () |
| Called by PxTaskManager at submission time for initialization. | |
| PX_INLINE void | requestSyncPoint () |
| Specify that the GpuTask sync flag be set. | |
Protected Attributes | |
| PxTaskID | mTaskID |
| ID assigned at submission. | |
| PxU32 | mStreamIndex |
| GpuTask CUDA stream index. | |
| bool | mPreSyncRequired |
| GpuTask sync flag. | |
Friends | |
| class | PxTaskMgr |
| class | PxGpuWorkerThread |
A PxBaseTask implementation with deferred execution and full dependencies.
A PxTask must be submitted to a PxTaskManager to to be executed, Tasks may optionally be named when they are submitted.
| virtual void physx::PxTask::submitted | ( | ) | [inline, virtual] |
Called by PxTaskManager at submission time for initialization.
Perform simulation step initialization here.