Choose your operating system:
Windows
macOS
Linux
Module |
|
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 * AddTexture
(
uint32 TextureWidth,
uint32 TextureHeight,
const TArray< uint8 > & Data
)
Adds a texture to the atlas
Parameter |
Description |
---|---|
TextureWidth |
Width of the texture |
TextureHeight |
Height of the texture |
Data |
Raw texture data |