Navigation
API > API/Runtime > API/Runtime/RHICore > API/Runtime/RHICore/FRHITransientHeapCache
References
| Module | RHICore |
| Header | /Engine/Source/Runtime/RHICore/Public/RHICoreTransientResourceAllocator.h |
| Include | #include "RHICoreTransientResourceAllocator.h" |
Syntax
struct FInitializer
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSupportsAllHeapFlags | Whether all heaps should be created with the AllowAll heap flag. | |
| uint32 | BufferCacheSize | Size of the buffer cache before elements are evicted. | |
| uint32 | GarbageCollectLatency | The latency between the completed fence value and the used fence value to invoke garbage collection of the heap. | |
| uint32 | HeapAlignment | The minimum alignment for resources in the heap. | |
| uint64 | MinimumHeapSize | The minimum size to use when creating a heap. This is the default but can grow based on allocations. | |
| uint32 | TextureCacheSize | Size of the texture cache before elements are evicted. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FInitializer | Creates a default initializer using common RHI CVars. |
Constants
| Name | Description |
|---|---|
| kDefaultResourceCacheSize |