Skip to main content

Q_COUNT

Constant Q_COUNT 

Source
pub const Q_COUNT: usize = 32;
Expand description

How many q variables bridge the main program to a custom wave or shape.

MilkDrop’s own count. The bridge is a copy, not a shared file: each element has its own register space (its own t1-t8, its own working variables), and what crosses is q1-q32 after the main per-frame program has run. Copying is what keeps an element from writing back into the main program’s state, which the reference also forbids.