UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FVTUploadTileAllocator Class Reference

#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
 

Detailed Description

Handles allocation of staging buffer memory.

Member Function Documentation

◆ Allocate()

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.

◆ Free()

void FVTUploadTileAllocator::Free ( FRHICommandListBase RHICmdList,
uint32  InHandle 
)

Free a tile. Sometimes does a free of the backing CPU/GPU block of memory.

◆ GetBufferFromHandle()

FVTUploadTileBuffer FVTUploadTileAllocator::GetBufferFromHandle ( uint32  InHandle) const

Get upload buffer description from handle.

◆ GetBufferFromHandleExt()

FVTUploadTileBufferExt FVTUploadTileAllocator::GetBufferFromHandleExt ( uint32  InHandle) const

Get upload buffer extended description from handle.

◆ TotalAllocatedBytes()

uint64 FVTUploadTileAllocator::TotalAllocatedBytes ( ) const
inline

Get allocated memory in bytes.


The documentation for this class was generated from the following files: