Diligent::FixedBlockMemoryAllocator class final

Memory allocator that allocates memory in a fixed-size chunks.

Contents

Base classes

struct IMemoryAllocator
Base interface for a raw memory allocator.

Public functions

auto Allocate(size_t Size, const Char* dbgDescription, const char* dbgFileName, const Int32 dbgLineNumber) -> void* final
Allocates block of memory.
void Free(void* Ptr) final
Releases memory.