pub fn build_uniforms(
params: WaveParams,
instantaneous_vol: f32,
width: u32,
height: u32,
time: f32,
) -> WaveUniformsExpand description
Build the WaveUniforms payload from a WaveParams snapshot, the
current frame’s instantaneous volume (used for
b_mod_wave_alpha_by_volume), and the current frame resolution +
aspect.