2#include <UnCompute/Base/Base.h>
16 virtual void*
Allocate(USize size, USize alignment) = 0;
24 [[nodiscard]]
virtual const char*
GetName()
const = 0;
An interface for memory allocators.
Definition: IAllocator.h:8
virtual void Deallocate(void *pointer)=0
Deallocate memory.
virtual const char * GetName() const =0
Get debug name of the allocator.
virtual void * Allocate(USize size, USize alignment)=0
Allocate memory.