PxAllocator

Defined in include/foundation/PxAllocator.h

class PxAllocator

Allocator used to access the global PxAllocatorCallback instance without providing additional information.

Subclassed by PxAlignedAllocator< N, BaseAllocator >, PxHashBase< Entry, Key, HashFn, GetKey, PxAllocator, compacting >

Public Functions

inline PxAllocator(const char* = NULL)

Public Static Functions

static inline void *allocate(size_t size, const char *file, int line, uint32_t *cookie = NULL)
static inline void deallocate(void *ptr, uint32_t *cookie = NULL)