Navigation
API > API/Runtime > API/Runtime/RHICore > API/Runtime/RHICore/FRHITransientHeapCache
| Name | FInitializer |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHICore/Public/RHICoreTransientResourceAllocator.h |
| Include Path | #include "RHICoreTransientResourceAllocator.h" |
Syntax
struct FInitializer
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| kDefaultResourceCacheSize | const uint32 | RHICoreTransientResourceAllocator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSupportsAllHeapFlags | bool | Whether all heaps should be created with the AllowAll heap flag. | RHICoreTransientResourceAllocator.h | |
| bSupportsVirtualMapping | bool | Whether all heaps support mapping physical pages to the commit size. If false the physical memory usage is represented by the capacity instead. | RHICoreTransientResourceAllocator.h | |
| BufferCacheSize | uint32 | Size of the buffer cache before elements are evicted. | RHICoreTransientResourceAllocator.h | |
| GarbageCollectLatency | uint32 | The latency between the completed fence value and the used fence value to invoke garbage collection of the heap. | RHICoreTransientResourceAllocator.h | |
| HeapAlignment | uint32 | The minimum alignment for resources in the heap. | RHICoreTransientResourceAllocator.h | |
| MinimumFirstHeapSize | uint64 | The minimum size to use when creating the first heap. This is the default but can grow based on allocations. | RHICoreTransientResourceAllocator.h | |
| MinimumHeapSize | uint64 | The minimum size to use when creating a heap. This is the default but can grow based on allocations. | RHICoreTransientResourceAllocator.h | |
| TextureCacheSize | uint32 | Size of the texture cache before elements are evicted. | RHICoreTransientResourceAllocator.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FInitializer CreateDefault() |
Creates a default initializer using common RHI CVars. | RHICoreTransientResourceAllocator.h |