Navigation
API > API/Runtime > API/Runtime/RHICore
Inheritance Hierarchy
- IRHITransientResourceAllocator
- FRHITransientResourcePageAllocator
References
| Module | RHICore |
| Header | /Engine/Source/Runtime/RHICore/Public/RHICoreTransientResourceAllocator.h |
| Include | #include "RHICoreTransientResourceAllocator.h" |
Syntax
class FRHITransientResourcePageAllocator : public IRHITransientResourceAllocator
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRHITransientPagePoolCache & | PagePoolCache |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHITransientResourcePageAllocator
(
FRHITransientPagePoolCache& InPagePoolCache |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | |||
| uint32 | GetPageSize () |
Overridden from IRHITransientResourceAllocator
| Type | Name | Description | |
|---|---|---|---|
| FRHITransientBuffer * | CreateBuffer
(
const FRHIBufferCreateInfo& CreateInfo, |
||
| FRHITransientTexture * | CreateTexture
(
const FRHITextureCreateInfo& InCreateInfo, |
Allocates a new transient resource with memory backed by the transient allocator. | |
| void | DeallocateMemory
(
FRHITransientTexture* InTexture, |
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. |
Constants
| Name | Description |
|---|---|
| KB | |
| MB | |
| ResourceCacheGarbageCollectionLatency |