Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBinnedTextureLayout
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/TextureLayout.h |
| Include | #include "TextureLayout.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TextureLayout.cpp |
bool AddElement
&40;
FIntPoint ElementSize,
FIntPoint & OutElementMin
&41;
Remarks
Allocates an element from the atlas layout. Returns true if allocation succeeds. Note: Sort allocations by descending size for best packing.