![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericGrowableAllocator.h>
Inheritance diagram for TGenericGrowableAllocator< ChunkAllocatorType, GrowableAllocationBaseType >:Public Member Functions | |
| TGenericGrowableAllocator (uint64 InitialSize, uint32 InType, uint32 InSubAllocationAlignment, FName InStatRegionName, const FName *InOwnerTypeToStatIdMap, void *InUserData) | |
| virtual | ~TGenericGrowableAllocator () |
| GrowableAllocationBaseType * | Malloc (uint32 Size, uint32 Alignment, int32 OwnerType) |
| bool | Free (GrowableAllocationBaseType *Memory) |
| void | GetAllocationInfo (uint32 &Chunks, uint64 &Used, uint64 &Free) |
| bool | DoesAllocatorContainAddress (const void *Address) |
| void | ShowAllocationInfo () |
| void | ShowFullAllocationInfo () |
| void | DumpMemoryInfo () |
Public Member Functions inherited from FGrowableMallocBase | |
| FGrowableMallocBase () | |
| virtual | ~FGrowableMallocBase () |
| virtual uint64 | GetWasteApproximation () |
Additional Inherited Members | |
Protected Attributes inherited from FGrowableMallocBase | |
| uint64 | TotalAllocated |
| uint64 | TotalWaste |
| uint64 | CurrentAllocs |
| uint64 | TotalAllocs |
Allocator that will grow as needed with direct mapped memory for a given memory type
|
inline |
Constructor Internally allocates address space for use only by this allocator
| Type | - The templated memory type to allocate with this allocator |
| StatRegion | - The region of memory this is responsible for, for updating the region max sizes |
|
inlinevirtual |
Destructor
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |