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

Public Member Functions

 PxsContext (const PxSceneDesc &desc, PxTaskManager *, Cm::FlushPool &, PxCudaContextManager *, const PxU32 poolSlabSize, PxU64 contextID)
 
void createTransformCache (PxVirtualAllocatorCallback &allocatorCallback)
 
PxsContactManager * createContactManager (PxsContactManager *contactManager, const bool useCCD)
 
void createCache (Gu::Cache &cache, PxGeometryType::Enum geomType0, PxGeometryType::Enum geomType1)
 
void destroyCache (Gu::Cache &cache)
 
void destroyContactManager (PxsContactManager *cm)
 
PX_FORCE_INLINE PxU64 getContextId () const
 
PX_FORCE_INLINE PxContactModifyCallback * getContactModifyCallback () const
 
PX_FORCE_INLINE void setContactModifyCallback (PxContactModifyCallback *c)
 
void setScratchBlock (void *addr, PxU32 size)
 
PX_FORCE_INLINE void setContactDistance (const PxFloatArrayPinned *contactDistances)
 
void updateContactManager (PxReal dt, bool hasBoundsArrayChanged, bool hasContactDistanceChanged, PxBaseTask *continuation, PxBaseTask *firstPassContinuation, Cm::FanoutTask *updateBoundAndShapeTask)
 
void secondPassUpdateContactManager (PxReal dt, PxBaseTask *continuation)
 
void fetchUpdateContactManager ()
 
void swapStreams ()
 
void resetThreadContexts ()
 
bool getManagerTouchEventCount (int *newTouch, int *lostTouch, int *ccdTouch) const
 
bool fillManagerTouchEvents (PxvContactManagerTouchEvent *newTouch, PxI32 &newTouchCount, PxvContactManagerTouchEvent *lostTouch, PxI32 &lostTouchCount, PxvContactManagerTouchEvent *ccdTouch, PxI32 &ccdTouchCount)
 
bool fillManagerTouchEvents2 (PxvContactManagerTouchEvent *newTouch, PxI32 &newTouchCount, PxvContactManagerTouchEvent *lostTouch, PxI32 &lostTouchCount, PxvContactManagerTouchEvent *ccdTouch, PxI32 &ccdTouchCount)
 
void beginUpdate ()
 
PX_FORCE_INLINE PxvSimStats & getSimStats ()
 
PX_FORCE_INLINE const PxvSimStats & getSimStats () const
 
PX_FORCE_INLINE Cm::FlushPool & getTaskPool () const
 
PX_FORCE_INLINE PxRenderBuffer & getRenderBuffer ()
 
PX_FORCE_INLINE PxReal getRenderScale () const
 
PX_FORCE_INLINE PxReal getVisualizationParameter (PxVisualizationParameter::Enum param) const
 
PX_FORCE_INLINE void setVisualizationParameter (PxVisualizationParameter::Enum param, PxReal value)
 
PX_FORCE_INLINE void setVisualizationCullingBox (const PxBounds3 &box)
 
PX_FORCE_INLINE const PxBounds3 & getVisualizationCullingBox () const
 
PX_FORCE_INLINE bool getPCM () const
 
PX_FORCE_INLINE bool getContactCacheFlag () const
 
PX_FORCE_INLINE bool getCreateAveragePoint () const
 
void shiftOrigin (const PxVec3 &shift)
 
PX_FORCE_INLINE void setPCM (bool enabled)
 
PX_FORCE_INLINE void setContactCache (bool enabled)
 
PX_FORCE_INLINE PxcScratchAllocator & getScratchAllocator ()
 
PX_FORCE_INLINE PxsTransformCache & getTransformCache ()
 
PX_FORCE_INLINE const PxReal * getContactDistances () const
 
PX_FORCE_INLINE PxvNphaseImplementationContext * getNphaseImplementationContext () const
 
PX_FORCE_INLINE void setNphaseImplementationContext (PxvNphaseImplementationContext *ctx)
 
PX_FORCE_INLINE PxvNphaseImplementationContext * getNphaseFallbackImplementationContext () const
 
PX_FORCE_INLINE void setNphaseFallbackImplementationContext (PxvNphaseImplementationContext *ctx)
 
PxU32 getTotalCompressedContactSize () const
 
PxU32 getMaxPatchCount () const
 
PX_FORCE_INLINE PxcThreadCoherentCache< PxcNpThreadContext, PxcNpContext > & getNpThreadContextPool ()
 
PX_FORCE_INLINE PxcNpThreadContext * getNpThreadContext ()
 
PX_FORCE_INLINE void putNpThreadContext (PxcNpThreadContext *threadContext)
 
PX_FORCE_INLINE PxMutex & getLock ()
 
PX_FORCE_INLINE PxTaskManager & getTaskManager ()
 
PX_FORCE_INLINE PxCudaContextManager * getCudaContextManager ()
 
PX_FORCE_INLINE void clearManagerTouchEvents ()
 
PX_FORCE_INLINE Cm::PoolList< PxsContactManager, PxsContext > & getContactManagerPool ()
 
PX_FORCE_INLINE void setActiveContactManager (const PxsContactManager *manager, PxIntBool useCCD)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 
- Public Member Functions inherited from physx::PxcNpContext
PX_FORCE_INLINE PxReal getToleranceLength () const
 
PX_FORCE_INLINE void setToleranceLength (PxReal x)
 
PX_FORCE_INLINE PxReal getMeshContactMargin () const
 
PX_FORCE_INLINE void setMeshContactMargin (PxReal x)
 
PX_FORCE_INLINE PxcNpMemBlockPool & getNpMemBlockPool ()
 
PX_FORCE_INLINE const PxcNpMemBlockPool & getNpMemBlockPool () const
 
PX_FORCE_INLINE void setMaterialManager (PxsMaterialManager *m)
 
PX_FORCE_INLINE PxsMaterialManager * getMaterialManager () const
 

Friends

class PxsCCDContext
 
class PxsNphaseImplementationContext
 
class PxgNphaseImplementationContext
 

Additional Inherited Members

- Public Attributes inherited from physx::PxcNpContext
PxcScratchAllocator mScratchAllocator
 
PxcNpMemBlockPool mNpMemBlockPool
 
PxReal mMeshContactMargin
 
PxReal mToleranceLength
 
Cm::RenderBuffer mRenderBuffer
 
PxcDataStreamPool * mContactStreamPool
 
PxcDataStreamPool * mPatchStreamPool
 
PxcDataStreamPool * mForceAndIndiceStreamPool
 
PxcDataStreamPool * mConstraintWriteBackStreamPool
 
PxsMaterialManager * mMaterialManager
 

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