pub const MAX_DIMENSION: u32 = 8192; // 8_192u32
Resource bounds prevent accidental allocations or unbounded raster loops.