pub const MAX_EFFECT_INPUTS: usize = 8;
Most named inputs an effect declares. Source pair, resources and inputs must also fit the device’s sampled textures per stage (16 on WebGL2-class limits), checked at registration.