Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::PoolAllocator Class Reference

#include <PoolAllocator.h>

Inherits AZ::Internal::PoolAllocatorHelper< PoolSchema >.

Public Types

using Base = Internal::PoolAllocatorHelper< PoolSchema >
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (PoolAllocator, SystemAllocator)
 
 AZ_RTTI (PoolAllocator, "{D3DC61AF-0949-4BFA-87E0-62FA03A4C025}", Base)
 
AllocatorDebugConfig GetDebugConfig () override
 Returns the debug configuration for this allocator.
 

Detailed Description

Pool allocator Specialized allocation for extremely fast small object memory allocations. It can allocate sized from m_minAllocationSize to m_maxPoolSize. Pool Allocator is NOT thread safe, if you if need a thread safe version use PoolAllocatorThreadSafe or do the sync yourself.

Member Function Documentation

◆ GetDebugConfig()

AllocatorDebugConfig AZ::PoolAllocator::GetDebugConfig ( )
overridevirtual

Returns the debug configuration for this allocator.

Reimplemented from AZ::IAllocator.


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