Expand description
Texture Atlas with Shelf-based Bin Packing
Implements a shelf (skyline) allocator for packing rectangular texture regions into a single atlas texture. Used by the GL compositor to batch surface textures into a single GPU-side allocation.
All arithmetic is integer-only (no FPU required).
Structs§
- Atlas
Region - A rectangular region within the texture atlas.
- Shelf
Allocator - Bin-packing shelf allocator for a texture atlas.