build_uniforms

Function build_uniforms 

Source
pub fn build_uniforms(
    params: WaveParams,
    instantaneous_vol: f32,
    width: u32,
    height: u32,
    time: f32,
) -> WaveUniforms
Expand 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.