![]() |
ezEngine
Release 25.03
|
A block allocator which can only allocates blocks of memory at once. More...
#include <LargeBlockAllocator.h>
Public Member Functions | |
ezLargeBlockAllocator (ezStringView sName, ezAllocator *pParent, ezAllocatorTrackingMode mode=ezAllocatorTrackingMode::Default) | |
template<typename T > | |
ezDataBlock< T, BlockSizeInByte > | AllocateBlock () |
template<typename T > | |
void | DeallocateBlock (ezDataBlock< T, BlockSizeInByte > &ref_block) |
ezStringView | GetName () const |
ezAllocatorId | GetId () const |
const ezAllocator::Stats & | GetStats () const |
template<typename T > | |
EZ_FORCE_INLINE ezDataBlock< T, BlockSize > | AllocateBlock () |
template<typename T > | |
EZ_FORCE_INLINE void | DeallocateBlock (ezDataBlock< T, BlockSize > &inout_block) |
A block allocator which can only allocates blocks of memory at once.