RavEngine
Loading...
Searching...
No Matches
physx::PxcNpMemBlockPool Class Reference

Public Member Functions

 PxcNpMemBlockPool (PxcScratchAllocator &allocator)
 
void init (PxU32 initial16KDataBlocks, PxU32 maxBlocks)
 
void flush ()
 
void setBlockCount (PxU32 count)
 
PxU32 getUsedBlockCount () const
 
PxU32 getMaxUsedBlockCount () const
 
PxU32 getPeakConstraintBlockCount () const
 
void releaseUnusedBlocks ()
 
PxcNpMemBlock * acquireConstraintBlock ()
 
PxcNpMemBlock * acquireConstraintBlock (PxcNpMemBlockArray &memBlocks)
 
PxcNpMemBlock * acquireContactBlock ()
 
PxcNpMemBlock * acquireFrictionBlock ()
 
PxcNpMemBlock * acquireNpCacheBlock ()
 
PxU8 * acquireExceptionalConstraintMemory (PxU32 size)
 
void acquireConstraintMemory ()
 
void releaseConstraintMemory ()
 
void releaseConstraintBlocks (PxcNpMemBlockArray &memBlocks)
 
void releaseContacts ()
 
void swapFrictionStreams ()
 
void swapNpCacheStreams ()
 
void flushUnused ()
 

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