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

#include <FontCacheUtils.h>

Public Member Functions

 FLRUStringCache (int32 InMaxNumElements)
 
 ~FLRUStringCache ()
 
FORCEINLINE const FVector2fAccessItem (FStringView Key)
 
void Add (FStringView Key, const FVector2f &Value)
 
void Empty ()
 

Detailed Description

Basic Least Recently Used (LRU) cache

Constructor & Destructor Documentation

◆ FLRUStringCache()

FLRUStringCache::FLRUStringCache ( int32  InMaxNumElements)
inline

◆ ~FLRUStringCache()

FLRUStringCache::~FLRUStringCache ( )
inline

Member Function Documentation

◆ AccessItem()

FORCEINLINE const FVector2f * FLRUStringCache::AccessItem ( FStringView  Key)
inline

Accesses an item in the cache.

◆ Add()

void FLRUStringCache::Add ( FStringView  Key,
const FVector2f Value 
)
inline

◆ Empty()

void FLRUStringCache::Empty ( )
inline

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