Skip to main content

splat

Function splat 

Source
pub fn splat(
    dst: &mut [f32],
    w: u32,
    h: u32,
    cam: &FxCam,
    charge: &[FxInstance],
)
Expand description

Splatzt die Charge additiv in dst (RGBA, 4·w·h f32, linear, Startwerte unverändert). dst darf Werte über eins hinaus sammeln — die Blende ist additiv, das Encoder-Team klemmt später.