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 &alloc)#
inline void *allocate(
size_t 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#
inline void setExtraSize(PxU8 extraSize)#

Protected Attributes

PxU8 mBuffer[N]#
PxU8 mExtraSize#
bool mBufferUsed#