/Engine/Source/Runtime/RHICore/Public/RHIPoolAllocator.h
Manages an array ofFRHIMemoryPooland supports defragmentation between multiple pools
class FRHIPoolAllocator
const bool
bDefragEnabled
FCriticalSectio...
CS
Critical section to lock access to the pools.
const uint64
DefaultPoolSize
Const creation members - used to create new pools.
constFRHIMemor...
FreeListOrder
int32
LastDefragPoolIndex
Last defrag pool index - defrag is time slices to reduce CPU overhead.
const uint64
MaxAllocationSize
const uint32
PoolAlignment
TArray< uint32 ...
PoolAllocationOrder
Allocation order of the pools when performing new allocations Can' sort the pools directly because pool index is stored in the allocation info
TArray<FRHIMem...
Pools
Actual pools managing each a linked list of allocations.
uint32
TotalAllocatedBlocks
Stats.