Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::FixedBlockMemoryAllocator Class Referencefinal

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

#include <FixedBlockMemoryAllocator.hpp>

Inheritance diagram for Diligent::FixedBlockMemoryAllocator:
Diligent::IMemoryAllocator

Public Member Functions

virtual void * Allocate (size_t Size, const Char *dbgDescription, const char *dbgFileName, const Int32 dbgLineNumber) override final
 Allocates block of memory.
 
virtual void Free (void *Ptr) override final
 Releases memory.
 
virtual void * AllocateAligned (size_t Size, size_t Alignment, const Char *dbgDescription, const char *dbgFileName, const Int32 dbgLineNumber) override final
 Allocates block of memory with specified alignment.
 
virtual void FreeAligned (void *Ptr) override final
 Releases memory allocated with AllocateAligned.
 

Detailed Description

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