RavEngine
Loading...
Searching...
No Matches
physx::Bp::PostBroadPhaseStage2Task Class Reference
Inheritance diagram for physx::Bp::PostBroadPhaseStage2Task:
[legend]
Collaboration diagram for physx::Bp::PostBroadPhaseStage2Task:
[legend]

Public Member Functions

 PostBroadPhaseStage2Task (PxU64 contextID, AABBManager &manager)
 
virtual const char * getName () const
 Return a user-provided task name for profiling purposes.
 
void setFlushPool (Cm::FlushPool *pool)
 
virtual void runInternal ()
 
- Public Member Functions inherited from physx::Cm::Task
 Task (PxU64 contextId)
 
virtual void run ()
 The user-implemented run method where the task's work should be performed.
 
- Public Member Functions inherited from physx::PxLightCpuTask
PX_INLINE void setContinuation (PxTaskManager &tm, PxBaseTask *c)
 Initialize this task and specify the task that will have its ref count decremented on completion.
 
PX_INLINE void setContinuation (PxBaseTask *c)
 Initialize this task and specify the task that will have its ref count decremented on completion.
 
PX_INLINE PxBaseTask * getContinuation () const
 Retrieves continuation task.
 
virtual void removeReference () PX_OVERRIDE
 Manually decrement this task's reference count. If the reference count reaches zero, the task will be dispatched.
 
virtual int32_t getReference () const PX_OVERRIDE
 Return the ref-count for this task.
 
virtual void addReference () PX_OVERRIDE
 Manually increment this task's reference count. The task will not be allowed to run until removeReference() is called.
 
virtual void release () PX_OVERRIDE
 called by CpuDispatcher after run method has completed
 
- Public Member Functions inherited from physx::PxBaseTask
PX_FORCE_INLINE PxTaskManager * getTaskManager () const
 Return PxTaskManager to which this task was submitted.
 
PX_FORCE_INLINE void setContextId (PxU64 id)
 
PX_FORCE_INLINE PxU64 getContextId () const
 

Additional Inherited Members

- Protected Attributes inherited from physx::PxLightCpuTask
PxBaseTask * mCont
 Continuation task, can be NULL.
 
volatile int32_t mRefCount
 PxTask is dispatched when reaches 0.
 
- Protected Attributes inherited from physx::PxBaseTask
PxU64 mContextID
 Context ID for profiler interface.
 
PxTaskManager * mTm
 Owning PxTaskManager instance.
 

Member Function Documentation

◆ getName()

virtual const char * physx::Bp::PostBroadPhaseStage2Task::getName ( ) const
inlinevirtual

Return a user-provided task name for profiling purposes.

It does not have to be unique, but unique names are helpful.

Returns
The name of this task

Implements physx::PxBaseTask.

◆ runInternal()

void PostBroadPhaseStage2Task::runInternal ( )
virtual

Implements physx::Cm::Task.


The documentation for this class was generated from the following files: