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 * FindSlotForTexture
(
uint32 InWidth,
uint32 InHeight
)
Remarks
Finds the optimal slot for a texture in the atlas
Parameters
| Name | Description |
|---|---|
| Width | The width of the texture we are adding |
| Height | The height of the texture we are adding |