Navigation
API > API/Runtime > API/Runtime/SlateCore
Base class for any atlas cache which has flushing logic to keep the number of in use pages small
| Name | FSlateFlushableAtlasCache |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h |
| Include Path | #include "Textures/TextureAtlas.h" |
Syntax
class FSlateFlushableAtlasCache
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateFlushableAtlasCache
(
const FAtlasFlushParams* InFlushParams |
Textures/TextureAtlas.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSlateFlushableAtlasCache() |
Textures/TextureAtlas.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentMaxColorAtlasPagesBeforeFlushRequest | int32 | Number of color atlas pages we can have before we request that the cache be flushed | Textures/TextureAtlas.h | |
| CurrentMaxGrayscaleAtlasPagesBeforeFlushRequest | int32 | Number of grayscale atlas pages we can have before we request that the cache be flushed | Textures/TextureAtlas.h | |
| CurrentMaxMsdfAtlasPagesBeforeFlushRequest | int32 | Number of multi-channel signed distance field atlas pages we can have before we request that the cache be flushed | Textures/TextureAtlas.h | |
| CurrentMaxNonAtlasedTexturesBeforeFlushRequest | int32 | Number of non-atlased textures we can have before we request that the cache be flushed | Textures/TextureAtlas.h | |
| FlushParams | const FAtlasFlushParams * | Flush params that dictate when this atlas can flush. | Textures/TextureAtlas.h | |
| FrameCounterLastFlushRequest | uint64 | The frame counter the last time the font cache was asked to be flushed | Textures/TextureAtlas.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RequestFlushCache
(
const FString& Reason |
Called when this cache must be flushed | Textures/TextureAtlas.h | |
void ResetFlushCounters() |
Resets all counters to their initial state to start over flushing logic | Textures/TextureAtlas.h | |
void UpdateFlushCounters
(
int32 NumGrayscale, |
Increments counters that determine if a flush is needed. | Textures/TextureAtlas.h |