PxAllocator

Defined in include/foundation/PxAllocator.h

Inheritance Relationships

Derived Types

  • public PxAlignedAllocator< N, BaseAllocator > (PxAlignedAllocator)

  • private PxHashBase< Entry, Key, HashFn, GetKey, PxAllocator, compacting > (PxHashBase)

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)
inline void *allocate(size_t size, const char *file, int line)
inline void deallocate(void *ptr)