UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TextureAtlas.cpp File Reference

Functions

 DEFINE_STAT (STAT_SlateTextureGPUMemory)
 
 DEFINE_STAT (STAT_SlateTextureDataMemory)
 
 DECLARE_MEMORY_STAT (TEXT("Texture Atlas Memory (CPU)"), STAT_SlateTextureAtlasMemory, STATGROUP_SlateMemory)
 
ESlateTextureAtlasThreadId GetCurrentSlateTextureAtlasThreadId ()
 
uint32 GetSlateFontAtlasContentBytesPerPixel (ESlateFontAtlasContentType InContentType)
 

Function Documentation

◆ DECLARE_MEMORY_STAT()

DECLARE_MEMORY_STAT ( TEXT("Texture Atlas Memory (CPU)")  ,
STAT_SlateTextureAtlasMemory  ,
STATGROUP_SlateMemory   
)

◆ DEFINE_STAT() [1/2]

DEFINE_STAT ( STAT_SlateTextureDataMemory  )

◆ DEFINE_STAT() [2/2]

DEFINE_STAT ( STAT_SlateTextureGPUMemory  )

◆ GetCurrentSlateTextureAtlasThreadId()

ESlateTextureAtlasThreadId GetCurrentSlateTextureAtlasThreadId ( )

Get the correct atlas thread ID based on the thread we're currently in

◆ GetSlateFontAtlasContentBytesPerPixel()

uint32 GetSlateFontAtlasContentBytesPerPixel ( ESlateFontAtlasContentType  InContentType)

Returns the byte size of a single pixel of a font atlas with the specified content type