Module allocator

Source

Structsยง

AtlasAllocator
A shelf-packing dynamic texture atlas allocator tracking each allocation individually and with support for coalescing empty shelves.
Item ๐Ÿ”’
ItemIndex ๐Ÿ”’
Iter
Iterator over the allocations of an atlas.
Shelf ๐Ÿ”’
ShelfIndex ๐Ÿ”’

Constantsยง

ITEM_SPLIT_THRESHOLD ๐Ÿ”’
SHELF_SPLIT_THRESHOLD ๐Ÿ”’

Functionsยง

adjust_size ๐Ÿ”’
convert_coordinates ๐Ÿ”’
shelf_height ๐Ÿ”’