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

#include <LumenSceneData.h>

Classes

struct  FAllocation
 
struct  FBinStats
 
struct  FStats
 

Public Member Functions

void Init (const FIntPoint &InPageAtlasSizeInPages)
 
void Allocate (const FLumenPageTableEntry &Page, FAllocation &Allocation)
 
void Free (const FLumenPageTableEntry &Page)
 
bool IsSpaceAvailable (const FLumenCard &Card, int32 ResLevel, bool bSinglePage) const
 
void GetStats (FStats &Stats) const
 

Member Function Documentation

◆ Allocate()

void FLumenSurfaceCacheAllocator::Allocate ( const FLumenPageTableEntry Page,
FAllocation Allocation 
)

◆ Free()

void FLumenSurfaceCacheAllocator::Free ( const FLumenPageTableEntry Page)

◆ GetStats()

void FLumenSurfaceCacheAllocator::GetStats ( FStats Stats) const

◆ Init()

void FLumenSurfaceCacheAllocator::Init ( const FIntPoint InPageAtlasSizeInPages)

◆ IsSpaceAvailable()

bool FLumenSurfaceCacheAllocator::IsSpaceAvailable ( const FLumenCard Card,
int32  ResLevel,
bool  bSinglePage 
) const

Checks if there's enough free memory in the surface cache to allocate entire mip map level of a card (or a single page)


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