29#ifndef PX_ALLOCATOR_CALLBACK_H
30#define PX_ALLOCATOR_CALLBACK_H
36#include "foundation/PxFoundationConfig.h"
37#include "foundation/Px.h"
75 virtual void*
allocate(
size_t size,
const char* typeName,
const char* filename,
int line) = 0;
Abstract base class for an application defined memory allocator that can be used by the Nv library.
Definition PxAllocatorCallback.h:53
virtual void deallocate(void *ptr)=0
Frees memory previously allocated by allocate().
virtual void * allocate(size_t size, const char *typeName, const char *filename, int line)=0
Allocates size bytes of memory, which must be 16-byte aligned.
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39