![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <D3D12DescriptorCache.h>
Inheritance diagram for FD3D12OnlineHeap:Public Member Functions | |
| FD3D12OnlineHeap (FD3D12Device *Device, bool CanLoopAround) | |
| virtual | ~FD3D12OnlineHeap () |
| ID3D12DescriptorHeap * | GetHeap () |
| 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 bool | RollOver ()=0 |
| virtual void | HeapLoopedAround () |
| virtual void | OpenCommandList () |
| virtual void | CloseCommandList () |
| virtual uint32 | GetTotalSize () |
Public Member Functions inherited from FD3D12DeviceChild | |
| FD3D12DeviceChild (FD3D12Device *InParent=nullptr) | |
| FORCEINLINE FD3D12Device * | GetParentDevice () const |
| FD3D12Device * | GetParentDevice_Unsafe () const |
Protected Attributes | |
| TRefCountPtr< FD3D12DescriptorHeap > | Heap |
| uint32 | NextSlotIndex = 0 |
| uint32 | FirstUsedSlot = 0 |
| const bool | bCanLoopAround |
Protected Attributes inherited from FD3D12DeviceChild | |
| FD3D12Device * | Parent |
Manages a D3D heap which is GPU visible - base class which can be used by the FD3D12DescriptorCache
| FD3D12OnlineHeap::FD3D12OnlineHeap | ( | FD3D12Device * | Device, |
| bool | CanLoopAround | ||
| ) |
Initialization constructor
|
virtualdefault |
Check if requested number of slots still fit the heap
Reimplemented in FD3D12LocalOnlineHeap.
|
inline |
|
inline |
|
inline |
|
inline |
Reimplemented in FD3D12SubAllocatedOnlineHeap.
Reimplemented in FD3D12LocalOnlineHeap.
Reimplemented in FD3D12SubAllocatedOnlineHeap, and FD3D12LocalOnlineHeap.
Reserve requested amount of descriptor slots - should fit, user has to check with CanReserveSlots first
Implemented in FD3D12GlobalOnlineSamplerHeap, FD3D12SubAllocatedOnlineHeap, and FD3D12LocalOnlineHeap.
Increment the internal slot counter - only used by threadlocal sampler heap
|
protected |
|
protected |
|
protected |
|
protected |