PxInlineAllocator

Defined in include/foundation/PxInlineAllocator.h

template<PxU32 N, typename BaseAllocator>
class PxInlineAllocator : private BaseAllocator

Public Functions

inline PxInlineAllocator(const PxEMPTY v)
inline PxInlineAllocator(const BaseAllocator &alloc = BaseAllocator())
inline PxInlineAllocator(const PxInlineAllocator &aloc)
inline void *allocate(PxU32 size, const char *filename, PxI32 line, uint32_t *cookie = NULL)
inline void deallocate(void *ptr, uint32_t *cookie = NULL)
inline PxU8 *getInlineBuffer()
inline bool isBufferUsed() const

Protected Attributes

PxU8 mBuffer[N]
bool mBufferUsed