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