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

#include <D3D12DescriptorCache.h>

+ Inheritance diagram for FD3D12SubAllocatedOnlineHeap:

Public Member Functions

 FD3D12SubAllocatedOnlineHeap (FD3D12DescriptorCache &DescriptorCache, FD3D12CommandContext &Context)
 
virtual bool RollOver () final override
 
virtual void OpenCommandList () final override
 
virtual uint32 GetTotalSize () final override
 
- Public Member Functions inherited from FD3D12OnlineHeap
 FD3D12OnlineHeap (FD3D12Device *Device, bool CanLoopAround)
 
virtual ~FD3D12OnlineHeap ()
 
ID3D12DescriptorHeapGetHeap ()
 
FORCEINLINE D3D12_CPU_DESCRIPTOR_HANDLE GetCPUSlotHandle (uint32 Slot) const
 
FORCEINLINE D3D12_GPU_DESCRIPTOR_HANDLE GetGPUSlotHandle (uint32 Slot) const
 
bool CanReserveSlots (uint32 NumSlots)
 
uint32 ReserveSlots (uint32 NumSlotsRequested)
 
void SetNextSlot (uint32 NextSlot)
 
uint32 GetNextSlotIndex () const
 
virtual void HeapLoopedAround ()
 
virtual void CloseCommandList ()
 
- Public Member Functions inherited from FD3D12DeviceChild
 FD3D12DeviceChild (FD3D12Device *InParent=nullptr)
 
FORCEINLINE FD3D12DeviceGetParentDevice () const
 
FD3D12DeviceGetParentDevice_Unsafe () const
 

Additional Inherited Members

- Protected Attributes inherited from FD3D12OnlineHeap
TRefCountPtr< FD3D12DescriptorHeapHeap
 
uint32 NextSlotIndex = 0
 
uint32 FirstUsedSlot = 0
 
const bool bCanLoopAround
 
- Protected Attributes inherited from FD3D12DeviceChild
FD3D12DeviceParent
 

Detailed Description

Online heap which can be used by a FD3D12DescriptorCache to manage a block allocated from a GlobalHeap

Constructor & Destructor Documentation

◆ FD3D12SubAllocatedOnlineHeap()

FD3D12SubAllocatedOnlineHeap::FD3D12SubAllocatedOnlineHeap ( FD3D12DescriptorCache DescriptorCache,
FD3D12CommandContext Context 
)

Member Function Documentation

◆ GetTotalSize()

virtual uint32 FD3D12SubAllocatedOnlineHeap::GetTotalSize ( )
inlinefinaloverridevirtual

Reimplemented from FD3D12OnlineHeap.

◆ OpenCommandList()

void FD3D12SubAllocatedOnlineHeap::OpenCommandList ( )
finaloverridevirtual

Set the current command list which needs to be notified about changes

Reimplemented from FD3D12OnlineHeap.

◆ RollOver()

bool FD3D12SubAllocatedOnlineHeap::RollOver ( )
finaloverridevirtual

Handle roll over on the sub allocated online heap - needs a new block

Implements FD3D12OnlineHeap.


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