/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h
Increments counters that determine if a flush is needed. If a flush is needed RequestFlushCache will be called from here
void UpdateFlushCounters ( int32 NumGrayscale, int32 NumColor, int32 NumNonAtlased )