![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VirtualTextureUploadCache.h>
Public Member Functions | |
| uint32 | Allocate (FRHICommandListBase &RHICmdList, EVTUploadType InUploadType, EPixelFormat InFormat, uint32 InTileSize) |
| void | Free (FRHICommandListBase &RHICmdList, uint32 InHandle) |
| FVTUploadTileBuffer | GetBufferFromHandle (uint32 InHandle) const |
| FVTUploadTileBufferExt | GetBufferFromHandleExt (uint32 InHandle) const |
| uint64 | TotalAllocatedBytes () const |
Handles allocation of staging buffer memory.
| uint32 FVTUploadTileAllocator::Allocate | ( | FRHICommandListBase & | RHICmdList, |
| EVTUploadType | InUploadType, | ||
| EPixelFormat | InFormat, | ||
| uint32 | InTileSize | ||
| ) |
Allocate a tile. Sometimes does an allocation of the backing CPU/GPU block of memory.
| void FVTUploadTileAllocator::Free | ( | FRHICommandListBase & | RHICmdList, |
| uint32 | InHandle | ||
| ) |
Free a tile. Sometimes does a free of the backing CPU/GPU block of memory.
| FVTUploadTileBuffer FVTUploadTileAllocator::GetBufferFromHandle | ( | uint32 | InHandle | ) | const |
Get upload buffer description from handle.
| FVTUploadTileBufferExt FVTUploadTileAllocator::GetBufferFromHandleExt | ( | uint32 | InHandle | ) | const |
Get upload buffer extended description from handle.
|
inline |
Get allocated memory in bytes.