![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Textures/TextureAtlas.h"#include "Experimental/ConcurrentLinearAllocator.h"#include "Stats/Stats.h"#include "Textures/SlateShaderResource.h"#include "Textures/SlateTextureData.h"#include "Trace/SlateMemoryTags.h"#include "Misc/MemStack.h"#include <limits>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) |
| DECLARE_MEMORY_STAT | ( | TEXT("Texture Atlas Memory (CPU)") | , |
| STAT_SlateTextureAtlasMemory | , | ||
| STATGROUP_SlateMemory | |||
| ) |
| DEFINE_STAT | ( | STAT_SlateTextureDataMemory | ) |
| DEFINE_STAT | ( | STAT_SlateTextureGPUMemory | ) |
| ESlateTextureAtlasThreadId GetCurrentSlateTextureAtlasThreadId | ( | ) |
Get the correct atlas thread ID based on the thread we're currently in
| uint32 GetSlateFontAtlasContentBytesPerPixel | ( | ESlateFontAtlasContentType | InContentType | ) |
Returns the byte size of a single pixel of a font atlas with the specified content type