PxVirtualAllocatorCallback

Defined in include/foundation/PxAllocator.h

class PxVirtualAllocatorCallback

Virtual allocator callback used to provide run-time defined allocators to foundation types like Array or Bitmap.

This is used by VirtualAllocator

Public Functions

inline PxVirtualAllocatorCallback()
inline virtual ~PxVirtualAllocatorCallback()
virtual void *allocate(size_t size, int group, const char *file, int line) = 0
virtual void deallocate(void *ptr) = 0