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 |
|---|---|---|---|
TOptional< FRHIDescriptorAllocation > Allocate
(
uint32 NumDescriptors |
RHIDescriptorAllocator.h | ||
FRHIDescriptorHandle Allocate
(
ERHIDescriptorType InType |
RHIDescriptorAllocator.h | ||
void Free
(
FRHIDescriptorAllocation Allocation |
RHIDescriptorAllocator.h | ||
void Free
(
FRHIDescriptorHandle InHandle |
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 | ||
TOptional< FRHIDescriptorAllocation > ResizeGrowAndAllocate
(
uint32 NewCapacity, |
RHIDescriptorAllocator.h | ||
void Shutdown() |
RHIDescriptorAllocator.h |