pub fn crossfade(
surface_a: &TfSurface<'_>,
surface_b: &TfSurface<'_>,
t: f32,
out: &mut [f32],
) -> Result<usize, SurfaceEditError>Expand description
Crossfade: blend two surfaces with weight t (0 = surface_a, 1 = surface_b).
Both surfaces must have the same dimensions.