Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Textures > API/Runtime/SlateCore/Textures/FSlateTextureAtlas
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h |
| Include | #include "Textures/TextureAtlas.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Textures/TextureAtlas.cpp |
const FAtlasedTextureSlot &42; AddTexture
&40;
uint32 TextureWidth,
uint32 TextureHeight,
const TArray< uint8 > & Data
&41;
Remarks
Adds a texture to the atlas
Parameters
| Name | Description |
|---|---|
| TextureWidth | Width of the texture |
| TextureHeight | Height of the texture |
| Data | Raw texture data |