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

Public Member Functions

 PxsPreIntegrateTask (DynamicsContext &context, PxsBodyCore *const *bodyArray, PxsRigidBody *const *originalBodyArray, PxU32 const *nodeIndexArray, PxSolverBody *solverBodies, PxSolverBodyData *solverBodyDataPool, PxF32 dt, PxU32 numBodies, volatile PxU32 *maxSolverPositionIterations, volatile PxU32 *maxSolverVelocityIterations, const PxU32 startIndex, const PxU32 numToIntegrate, const PxVec3 &gravity)
 
virtual void runInternal ()
 
virtual const char * getName () const
 Return a user-provided task name for profiling purposes.
 
- 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
 

Public Attributes

DynamicsContext & mContext
 
PxsBodyCore *const * mBodyArray
 
PxsRigidBody *const * mOriginalBodyArray
 
PxU32 const * mNodeIndexArray
 
PxSolverBody * mSolverBodies
 
PxSolverBodyData * mSolverBodyDataPool
 
PxF32 mDt
 
PxU32 mNumBodies
 
volatile PxU32 * mMaxSolverPositionIterations
 
volatile PxU32 * mMaxSolverVelocityIterations
 
PxU32 mStartIndex
 
PxU32 mNumToIntegrate
 
PxVec3 mGravity
 

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::Dy::PxsPreIntegrateTask::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 physx::Dy::PxsPreIntegrateTask::runInternal ( )
virtual

Implements physx::Cm::Task.


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