Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBinnedTextureLayout
Description
Allocates an element from the atlas layout. Returns true if allocation succeeds. Note: Sort allocations by descending size for best packing.
| Name | AddElement |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TextureLayout.h |
| Include Path | #include "TextureLayout.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TextureLayout.cpp |
bool AddElement
(
FIntPoint ElementSize,
FIntPoint & OutElementMin
)