![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Pool which stores for each allocation the previous and next allocation. Each block is either free or allocated. More...
#include <RHIPoolAllocator.h>
Inheritance diagram for FRHIMemoryPool:Public Types | |
| enum class | EFreeListOrder { SortBySize , SortByOffset } |
Static Public Member Functions | |
| static RHICORE_API uint32 | GetAlignedSize (uint32 InSizeInBytes, uint32 InPoolAlignment, uint32 InAllocationAlignment) |
| static RHICORE_API uint32 | GetAlignedOffset (uint32 InOffset, uint32 InPoolAlignment, uint32 InAllocationAlignment) |
Protected Attributes | |
| int16 | PoolIndex |
| const uint64 | PoolSize |
| const uint32 | PoolAlignment |
| const ERHIPoolResourceTypes | SupportedResourceTypes |
| const EFreeListOrder | FreeListOrder |
| uint64 | FreeSize |
| uint64 | AligmnentWaste |
| uint32 | AllocatedBlocks |
| FRHIPoolAllocationData | HeadBlock |
| TArray< FRHIPoolAllocationData * > | FreeBlocks |
| TArray< FRHIPoolAllocationData * > | AllocationDataPool |
Pool which stores for each allocation the previous and next allocation. Each block is either free or allocated.
|
strong |
| FRHIMemoryPool::FRHIMemoryPool | ( | int16 | InPoolIndex, |
| uint64 | InPoolSize, | ||
| uint32 | InPoolAlignment, | ||
| ERHIPoolResourceTypes | InSupportedResourceTypes, | ||
| EFreeListOrder | InFreeListOrder | ||
| ) |
|
virtual |
|
protected |
| void FRHIMemoryPool::Deallocate | ( | FRHIPoolAllocationData & | AllocationData | ) |
|
virtual |
Reimplemented in FD3D12MemoryPool.
|
protected |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in FD3D12MemoryPool.
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
| bool FRHIMemoryPool::TryAllocate | ( | uint32 | InSizeInBytes, |
| uint32 | InAllocationAlignment, | ||
| ERHIPoolResourceTypes | InAllocationResourceType, | ||
| FRHIPoolAllocationData & | AllocationData | ||
| ) |
| void FRHIMemoryPool::TryClear | ( | FRHIContextArray const & | Contexts, |
| FRHIPoolAllocator * | InAllocator, | ||
| uint32 | InMaxCopySize, | ||
| uint32 & | CopySize, | ||
| const TArray< FRHIMemoryPool * > & | InTargetPools | ||
| ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |