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

#include <D3D12Allocation.h>

+ Inheritance diagram for FD3D12TextureAllocator:

Public Member Functions

 FD3D12TextureAllocator (FD3D12Device *Device, FRHIGPUMask VisibleNodes, const FString &Name, uint32 HeapSize, D3D12_HEAP_FLAGS Flags, HeapId InTraceParentHeapId)
 
 ~FD3D12TextureAllocator ()
 
HRESULT AllocateTexture (FD3D12ResourceDesc Desc, const D3D12_CLEAR_VALUE *ClearValue, FD3D12ResourceLocation &TextureLocation, ED3D12Access InInitialD3D12Access, ED3D12Access InDefaultD3D12Access, const TCHAR *Name)
 
- Public Member Functions inherited from FD3D12MultiBuddyAllocator
 FD3D12MultiBuddyAllocator (FD3D12Device *ParentDevice, FRHIGPUMask VisibleNodes, const FD3D12ResourceInitConfig &InInitConfig, const FString &Name, EResourceAllocationStrategy InAllocationStrategy, uint32 InMaxAllocationSize, uint32 InDefaultPoolSize, uint32 InMinBlockSize, HeapId InTraceParentHeapId)
 
 ~FD3D12MultiBuddyAllocator ()
 
const EResourceAllocationStrategy GetAllocationStrategy () const
 
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 Member Functions inherited from FD3D12MultiBuddyAllocator
FD3D12BuddyAllocatorCreateNewAllocator (uint32 InMinSizeInBytes)
 
- Protected Attributes inherited from FD3D12MultiBuddyAllocator
const EResourceAllocationStrategy AllocationStrategy
 
const uint32 MinBlockSize
 
const uint32 DefaultPoolSize
 
TArray< FD3D12BuddyAllocator * > Allocators
 
- 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

◆ FD3D12TextureAllocator()

FD3D12TextureAllocator::FD3D12TextureAllocator ( FD3D12Device Device,
FRHIGPUMask  VisibleNodes,
const FString &  Name,
uint32  HeapSize,
D3D12_HEAP_FLAGS  Flags,
HeapId  InTraceParentHeapId 
)

◆ ~FD3D12TextureAllocator()

FD3D12TextureAllocator::~FD3D12TextureAllocator ( )

Member Function Documentation

◆ AllocateTexture()

HRESULT FD3D12TextureAllocator::AllocateTexture ( FD3D12ResourceDesc  Desc,
const D3D12_CLEAR_VALUE ClearValue,
FD3D12ResourceLocation TextureLocation,
ED3D12Access  InInitialD3D12Access,
ED3D12Access  InDefaultD3D12Access,
const TCHAR Name 
)

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