RavEngine
Loading...
Searching...
No Matches
internalABP::ABP_CompleteBoxPruningStartTask Class Reference
Inheritance diagram for internalABP::ABP_CompleteBoxPruningStartTask:
[legend]
Collaboration diagram for internalABP::ABP_CompleteBoxPruningStartTask:
[legend]

Public Member Functions

virtual const char * getName () const PX_OVERRIDE
 Return a user-provided task name for profiling purposes.
 
void setup (const PxBounds3 &updatedBounds, ABP_PairManager *PX_RESTRICT pairManager, PxU32 nb, const SIMD_AABB_X4 *PX_RESTRICT listX, const SIMD_AABB_YZ4 *PX_RESTRICT listYZ, const ABP_Index *PX_RESTRICT inputRemap, PxU64 contextID)
 
void addDelayedPairs ()
 
void addDelayedPairs2 (PxArray< BroadPhasePair > &createdPairs)
 
virtual void run () PX_OVERRIDE
 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
 

Public Attributes

const SIMD_AABB_X4 * mListX
 
const SIMD_AABB_YZ4 * mListYZ
 
const ABP_Index * mInputRemap
 
ABP_PairManager * mPairManager
 
PxU32 * mRemap
 
SIMD_AABB_X4 * mBoxListXBuffer
 
SIMD_AABB_YZ4 * mBoxListYZBuffer
 
PxU32 mCounters [NB_BUCKETS]
 
SIMD_AABB_X4 * mBoxListX [NB_BUCKETS]
 
SIMD_AABB_YZ4 * mBoxListYZ [NB_BUCKETS]
 
PxU32 * mRemapBase [NB_BUCKETS]
 
PxBounds3 mBounds
 
PxU32 mNb
 
ABP_CompleteBoxPruningTask mTasks [9]
 
ABP_CompleteBoxPruningEndTask mEndTask
 

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 * internalABP::ABP_CompleteBoxPruningStartTask::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.

◆ run()

void ABP_CompleteBoxPruningStartTask::run ( )
virtual

The user-implemented run method where the task's work should be performed.

run() methods must be thread safe, stack friendly (no alloca, etc), and must never block.

Implements physx::PxBaseTask.


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