ezEngine  Release 25.03
ezLargeBlockAllocator< BlockSizeInByte > Class Template Reference

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::StatsGetStats () const
 
template<typename T >
EZ_FORCE_INLINE ezDataBlock< T, BlockSize > AllocateBlock ()
 
template<typename T >
EZ_FORCE_INLINE void DeallocateBlock (ezDataBlock< T, BlockSize > &inout_block)
 

Detailed Description

template<ezUInt32 BlockSizeInByte>
class ezLargeBlockAllocator< BlockSizeInByte >

A block allocator which can only allocates blocks of memory at once.


The documentation for this class was generated from the following files: