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

#include <D3D12Allocation.h>

+ Inheritance diagram for FD3D12FastAllocator:

Public Member Functions

 FD3D12FastAllocator (FD3D12Device *Parent, FRHIGPUMask VisibiltyMask, D3D12_HEAP_TYPE InHeapType, uint32 PageSize)
 
 FD3D12FastAllocator (FD3D12Device *Parent, FRHIGPUMask VisibiltyMask, const D3D12_HEAP_PROPERTIES &InHeapProperties, uint32 PageSize)
 
voidAllocate (uint32 Size, uint32 Alignment, class FD3D12ResourceLocation *ResourceLocation)
 
void Destroy ()
 
void CleanupPages (uint64 FrameLag)
 
- 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
 

Protected Attributes

FD3D12FastAllocatorPagePool PagePool
 
FD3D12FastAllocatorPageCurrentAllocatorPage
 
FCriticalSection CS
 
- Protected Attributes inherited from FD3D12DeviceChild
FD3D12DeviceParent
 

Constructor & Destructor Documentation

◆ FD3D12FastAllocator() [1/2]

FD3D12FastAllocator::FD3D12FastAllocator ( FD3D12Device Parent,
FRHIGPUMask  VisibiltyMask,
D3D12_HEAP_TYPE  InHeapType,
uint32  PageSize 
)

◆ FD3D12FastAllocator() [2/2]

FD3D12FastAllocator::FD3D12FastAllocator ( FD3D12Device Parent,
FRHIGPUMask  VisibiltyMask,
const D3D12_HEAP_PROPERTIES InHeapProperties,
uint32  PageSize 
)

Member Function Documentation

◆ Allocate()

void * FD3D12FastAllocator::Allocate ( uint32  Size,
uint32  Alignment,
class FD3D12ResourceLocation ResourceLocation 
)

◆ CleanupPages()

void FD3D12FastAllocator::CleanupPages ( uint64  FrameLag)

◆ Destroy()

void FD3D12FastAllocator::Destroy ( )

Member Data Documentation

◆ CS

FCriticalSection FD3D12FastAllocator::CS
protected

◆ CurrentAllocatorPage

FD3D12FastAllocatorPage* FD3D12FastAllocator::CurrentAllocatorPage
protected

◆ PagePool

FD3D12FastAllocatorPagePool FD3D12FastAllocator::PagePool
protected

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