pub const MAX_ATLAS_PAGES: u8 = 8;Expand description
Maximum atlas pages: eight 1024² RGBA8 textures (about 32 MiB total).
Each RGBA8 page occupies about 4 MiB, so the absolute texture storage ceiling is approximately 32 MiB across all DPR buckets represented in the keys.
§Examples
use ailloli_ui_render_wgpu::text::MAX_ATLAS_PAGES;
assert_eq!(MAX_ATLAS_PAGES, 8);