|
RavEngine
|
#include <CmPool.h>
Public Member Functions | |
| PX_INLINE | PoolList (const Alloc &alloc, ArgumentType *argument, PxU32 eltsPerSlab) |
| PX_INLINE void | destroy () |
| PxU32 | preallocate (const PxU32 nbRequired, T **elements) |
| PX_INLINE T * | get () |
| PX_INLINE void | put (T *element) |
| PX_FORCE_INLINE T * | findByIndex (PxU32 index) const |
| PX_FORCE_INLINE T * | findByIndexFast (PxU32 index) const |
| bool | extend () |
| PX_INLINE PxU32 | getMaxUsedIndex () const |
| PX_INLINE PxBitMap::Iterator | getIterator () const |
Public Member Functions inherited from physx::PxReflectionAllocator< T > | |
| PxReflectionAllocator (const PxEMPTY) | |
| PxReflectionAllocator (const char *=0) | |
| PxReflectionAllocator (const PxReflectionAllocator &) | |
| PX_FORCE_INLINE void * | allocate (size_t size, const char *filename, int line) |
| PX_FORCE_INLINE void | deallocate (void *ptr) |
Allocator for pools of data structures Also decodes indices (which can be computed from handles) into objects. To make this faster, the EltsPerSlab must be a power of two