UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FD3D12BucketAllocator Class Reference

#include <D3D12Allocation.h>

+ Inheritance diagram for FD3D12BucketAllocator:

Public Member Functions

 FD3D12BucketAllocator (FD3D12Device *ParentDevice, FRHIGPUMask VisibleNodes, const FD3D12ResourceInitConfig &InInitConfig, const FString &Name, uint64 InBlockRetentionFrameCount)
 
bool TryAllocate (uint32 SizeInBytes, uint32 Alignment, FD3D12ResourceLocation &ResourceLocation)
 
void Deallocate (FD3D12ResourceLocation &ResourceLocation)
 
void Initialize ()
 
void Destroy ()
 
void CleanUpAllocations (uint64 InFrameLag)
 
void DumpAllocatorStats (class FOutputDevice &Ar)
 
void UpdateMemoryStats (uint32 &IOMemoryAllocated, uint32 &IOMemoryUsed, uint32 &IOMemoryFree, uint32 &IOAlignmentWaste, uint32 &IOAllocatedPageCount, uint32 &IOFullPageCount)
 
void ReleaseAllResources ()
 
void Reset ()
 
- Public Member Functions inherited from FD3D12ResourceAllocator
 FD3D12ResourceAllocator (FD3D12Device *ParentDevice, FRHIGPUMask VisibleNodes, const FD3D12ResourceInitConfig &InInitConfig, const FString &Name, uint32 MaxSizeForPooling)
 
 ~FD3D12ResourceAllocator ()
 
const FD3D12ResourceInitConfigGetInitConfig () const
 
const uint32 GetMaximumAllocationSizeForPooling () const
 
- Public Member Functions inherited from FD3D12DeviceChild
 FD3D12DeviceChild (FD3D12Device *InParent=nullptr)
 
FORCEINLINE FD3D12DeviceGetParentDevice () const
 
FD3D12DeviceGetParentDevice_Unsafe () const
 
- Public Member Functions inherited from FD3D12MultiNodeGPUObject
 FD3D12MultiNodeGPUObject (FRHIGPUMask NodeMask, FRHIGPUMask VisibiltyMask)
 
- Public Member Functions inherited from FD3D12GPUObject
 FD3D12GPUObject (FRHIGPUMask InGPUMask, FRHIGPUMask InVisibiltyMask)
 
SGPU_CONSTEXPR FRHIGPUMask GetGPUMask () const
 
SGPU_CONSTEXPR FRHIGPUMask GetVisibilityMask () const
 

Additional Inherited Members

- Protected Attributes inherited from FD3D12ResourceAllocator
const FD3D12ResourceInitConfig InitConfig
 
const FString DebugName
 
bool Initialized
 
const uint32 MaximumAllocationSizeForPooling
 
FCriticalSection CS
 
uint32 SpaceAlignedUsed
 
uint32 SpaceActualUsed
 
uint32 NumBlocksInDeferredDeletionQueue
 
uint32 PeakUsage
 
uint32 FailedAllocationSpace
 
- Protected Attributes inherited from FD3D12DeviceChild
FD3D12DeviceParent
 

Constructor & Destructor Documentation

◆ FD3D12BucketAllocator()

FD3D12BucketAllocator::FD3D12BucketAllocator ( FD3D12Device ParentDevice,
FRHIGPUMask  VisibleNodes,
const FD3D12ResourceInitConfig InInitConfig,
const FString &  Name,
uint64  InBlockRetentionFrameCount 
)

Member Function Documentation

◆ CleanUpAllocations()

void FD3D12BucketAllocator::CleanUpAllocations ( uint64  InFrameLag)

◆ Deallocate()

void FD3D12BucketAllocator::Deallocate ( FD3D12ResourceLocation ResourceLocation)

◆ Destroy()

void FD3D12BucketAllocator::Destroy ( )

◆ DumpAllocatorStats()

void FD3D12BucketAllocator::DumpAllocatorStats ( class FOutputDevice Ar)

◆ Initialize()

void FD3D12BucketAllocator::Initialize ( )

◆ ReleaseAllResources()

void FD3D12BucketAllocator::ReleaseAllResources ( )

◆ Reset()

void FD3D12BucketAllocator::Reset ( )

◆ TryAllocate()

bool FD3D12BucketAllocator::TryAllocate ( uint32  SizeInBytes,
uint32  Alignment,
FD3D12ResourceLocation ResourceLocation 
)

◆ UpdateMemoryStats()

void FD3D12BucketAllocator::UpdateMemoryStats ( uint32 IOMemoryAllocated,
uint32 IOMemoryUsed,
uint32 IOMemoryFree,
uint32 IOAlignmentWaste,
uint32 IOAllocatedPageCount,
uint32 IOFullPageCount 
)
inline

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