Skip to main content

cpu_bloom

Function cpu_bloom 

Source
pub fn cpu_bloom(
    input: &[f32],
    width: usize,
    height: usize,
    params: &BloomParams,
) -> Vec<f32>
Expand description

Full CPU bloom simulation (extract → H blur → V blur → composite). Returns a new RGBA buffer with bloom composited onto the input.