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
(
FIntPoint ElementSize,
FIntPoint & OutElementMin
)
Remarks
Allocates an element from the atlas layout. Returns true if allocation succeeds. Note: Sort allocations by descending size for best packing.