Skip to main content

NINES_MAX_TILE_DIV

Constant NINES_MAX_TILE_DIV 

Source
pub const NINES_MAX_TILE_DIV: i32 = 4096;
Expand description

Runaway guard for emit_nines_geometry: repeats per axis are clamped to this, and a centre whose repeat count exceeds NINES_MAX_TILE_QUADS falls back to a single stretched quad. Authored content never reaches either — a 4096 px part filled by a 16 px source slice needs 256 repeats — they only stop degenerate data (a near-zero source slice) from exhausting memory.