Navigation
API > API/Runtime > API/Runtime/RHICore
| Name | FRHIDescriptorAllocator |
| Type | class |
| Header File | /Engine/Source/Runtime/RHICore/Public/RHIDescriptorAllocator.h |
| Include Path | #include "RHIDescriptorAllocator.h" |
Syntax
class FRHIDescriptorAllocator
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RHIDescriptorAllocator.h | |||
FRHIDescriptorAllocator
(
uint32 InNumDescriptors, |
RHIDescriptorAllocator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FRHIDescriptorAllocator() |
RHIDescriptorAllocator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Capacity | uint32 | RHIDescriptorAllocator.h | ||
| CriticalSection | FCriticalSection | RHIDescriptorAllocator.h | ||
| Ranges | TArray< FRHIDescriptorAllocatorRange > | RHIDescriptorAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHIDescriptorHandle Allocate
(
ERHIDescriptorHeapType InType |
RHIDescriptorAllocator.h | ||
bool Allocate
(
uint32 NumDescriptors, |
RHIDescriptorAllocator.h | ||
void Free
(
FRHIDescriptorHandle InHandle |
RHIDescriptorAllocator.h | ||
void Free
(
uint32 Slot, |
RHIDescriptorAllocator.h | ||
bool GetAllocatedRange
(
FRHIDescriptorAllocatorRange& OutRange |
Get the range of allocated descriptors. Useful for determining the smallest range to copy between heaps. | RHIDescriptorAllocator.h | |
uint32 GetCapacity() |
RHIDescriptorAllocator.h | ||
void Init
(
uint32 InNumDescriptors, |
RHIDescriptorAllocator.h | ||
FRHIDescriptorHandle ResizeGrowAndAllocate
(
uint32 InNewNumDescriptors, |
RHIDescriptorAllocator.h | ||
void Shutdown() |
RHIDescriptorAllocator.h |