Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- IRHITransientResourceAllocator
- FRHITransientResourceHeapAllocator
- FRHITransientResourcePageAllocator
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHITransientResourceAllocator.h |
| Include | #include "RHITransientResourceAllocator.h" |
Syntax
class IRHITransientResourceAllocator
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FRHITransientBuffer * | CreateBuffer
(
const FRHIBufferCreateInfo& CreateInfo, |
||
| FRHITransientTexture * | CreateTexture
(
const FRHITextureCreateInfo& CreateInfo, |
Allocates a new transient resource with memory backed by the transient allocator. | |
| void | DeallocateMemory
(
FRHITransientTexture* Texture, |
Deallocates the underlying memory for use by a future resource creation call. | |
| void | DeallocateMemory
(
FRHITransientBuffer* Buffer, |
||
| void | Flush
(
FRHICommandListImmediate& RHICmdList, |
Flushes any pending allocations prior to rendering. Optionally emits stats if OutStats is valid. | |
| void | Release
(
FRHICommandListImmediate& RHICmdList |
Releases this instance of the transient allocator. Invalidates any outstanding transient resources. | |
| void | SetCreateMode
(
ERHITransientResourceCreateMode CreateMode |
Sets the create mode for allocations. | |
| bool | Supports transient allocations of given resource type. |