![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RHICoreTransientResourceAllocator.h>
Inheritance diagram for FRHITransientResourceHeapAllocator:Public Attributes | |
| FRHITransientHeapCache & | HeapCache |
Protected Member Functions | |
| RHICORE_API FRHITransientTexture * | CreateTextureInternal (const FRHITextureCreateInfo &CreateInfo, const TCHAR *DebugName, const FRHITransientAllocationFences &Fences, uint64 TextureSize, uint32 TextureAlignment, FRHITransientHeap::FCreateTextureFunction CreateTextureFunction) |
| RHICORE_API FRHITransientBuffer * | CreateBufferInternal (const FRHIBufferCreateInfo &CreateInfo, const TCHAR *DebugName, const FRHITransientAllocationFences &Fences, uint32 BufferSize, uint32 BufferAlignment, FRHITransientHeap::FCreateBufferFunction CreateBufferFunction) |
A base class for implementing IRHITransientResourceAllocator for a virtual aliasing placed resource heap allocation strategy.
| FRHITransientResourceHeapAllocator::FRHITransientResourceHeapAllocator | ( | FRHITransientHeapCache & | InHeapCache | ) |
|
default |
|
protected |
Allocates a buffer on a heap at a specific offset, returning a cached RHI transient buffer pointer, or null if the allocation failed. BufferSize and BufferAlignment are platform specific and must be derived from the buffer create info and passed in, along with a platform-specific buffer creation function if no cached resource if found.
|
protected |
Allocates a texture on a heap at a specific offset, returning a cached RHI transient texture pointer, or null if the allocation failed. TextureSize and TextureAlignment are platform specific and must be derived from the texture create info and passed in, along with a platform-specific texture creation function if no cached resource if found.
|
inline |
|
overridevirtual |
Implements IRHITransientResourceAllocator.
|
overridevirtual |
Implements IRHITransientResourceAllocator.
|
overridevirtual |
Implements IRHITransientResourceAllocator.
|
inline |
|
overridevirtual |
Reimplemented from IRHITransientResourceAllocator.
| FRHITransientHeapCache& FRHITransientResourceHeapAllocator::HeapCache |