Skip to main content

MIN_ACTIVE_STEPS

Constant MIN_ACTIVE_STEPS 

Source
pub const MIN_ACTIVE_STEPS: f32 = 1.0;
Expand description

At or below this band count the banding is off, and off is the exact identity rather than a degenerate case of the quantized path: one band would snap the whole palette to (0 + 0.5)/1, a single flat colour.