![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextureAtlas.h>
Inheritance diagram for FSlateFlushableAtlasCache:Public Member Functions | |
| FSlateFlushableAtlasCache (const FAtlasFlushParams *InFlushParams) | |
| virtual | ~FSlateFlushableAtlasCache () |
| virtual void | RequestFlushCache (const FString &Reason)=0 |
| void | ResetFlushCounters () |
| void | UpdateFlushCounters (int32 NumGrayscale, int32 NumColor, int32 NumMsdf, int32 NumNonAtlased) |
Base class for any atlas cache which has flushing logic to keep the number of in use pages small
| FSlateFlushableAtlasCache::FSlateFlushableAtlasCache | ( | const FAtlasFlushParams * | InFlushParams | ) |
|
inlinevirtual |
Called when this cache must be flushed
| Reason | A string explaining the reason the cache was flushed (generally for debugging or logging |
Implemented in FSlateFontCache, and FSlateVectorGraphicsCache.
| void FSlateFlushableAtlasCache::ResetFlushCounters | ( | ) |
Resets all counters to their initial state to start over flushing logic
| void FSlateFlushableAtlasCache::UpdateFlushCounters | ( | int32 | NumGrayscale, |
| int32 | NumColor, | ||
| int32 | NumMsdf, | ||
| int32 | NumNonAtlased | ||
| ) |
Increments counters that determine if a flush is needed. If a flush is needed RequestFlushCache will be called from here