FSlateFlushableAtlasCache

Base class for any atlas cache which has flushing logic to keep the number of in use pages small

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSlateFlushableAtlasCache

FSlateFontCache

FSlateVectorGraphicsCache

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h

Include

#include "Textures/TextureAtlas.h"

Syntax

class FSlateFlushableAtlasCache

Remarks

Base class for any atlas cache which has flushing logic to keep the number of in use pages small

Constructors

Name Description

Public function

FSlateFlushableAtlasCache

(
    const FAtlasFlushParams* InFlu...
)

Destructors

Name Description

Public function Virtual

~FSlateFlushableAtlasCache()

Functions

Name Description

Public function

void

 

RequestFlushCache

(
    const FString& Reason
)

Called when this cache must be flushed

Public function

void

 

ResetFlushCounters()

Resets all counters to their initial state to start over flushing logic

Public function

void

 

UpdateFlushCounters

(
    int32 NumGrayscale,
    int32 NumColor,
    int32 NumNonAtlased
)

Increments counters that determine if a flush is needed.