Module bucketed

Source

Structsยง

Bucket ๐Ÿ”’
BucketIndex ๐Ÿ”’
BucketedAtlasAllocator
A faster but less precise Shelf-packing dynamic texture atlas allocator, inspired by https://github.com/mapbox/shelf-pack/
Shelf ๐Ÿ”’

Constantsยง

BIN_BITS ๐Ÿ”’
BIN_MASK ๐Ÿ”’
GEN_BITS ๐Ÿ”’
GEN_MASK ๐Ÿ”’
ITEM_BITS ๐Ÿ”’
ITEM_MASK ๐Ÿ”’
MAX_BIN_COUNT ๐Ÿ”’
MAX_ITEMS_PER_BIN ๐Ÿ”’
MAX_SHELF_COUNT ๐Ÿ”’

Functionsยง

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