⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module texture_atlas

Module texture_atlas 

Source
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§

AtlasRegion
A rectangular region within the texture atlas.
ShelfAllocator
Bin-packing shelf allocator for a texture atlas.