Navigation
API > API/Runtime > API/Runtime/RHICore > API/Runtime/RHICore/FRHITransientResourceHeapAllocat-
Description
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.
| Name | CreateTextureInternal |
| Type | function |
| Header File | /Engine/Source/Runtime/RHICore/Public/RHICoreTransientResourceAllocator.h |
| Include Path | #include "RHICoreTransientResourceAllocator.h" |
| Source | /Engine/Source/Runtime/RHICore/Private/RHICoreTransientResourceAllocator.cpp |
FRHITransientTexture * CreateTextureInternal
(
const FRHITextureCreateInfo & CreateInfo,
const TCHAR * DebugName,
const FRHITransientAllocationFences & Fences,
uint64 TextureSize,
uint32 TextureAlignment,
FRHITransientHeap::FCreateTextureFunction CreateTextureFunction
)