Function canvas::webgl_thread::flip_pixels_y

source ·
fn flip_pixels_y(
    internal_format: TexFormat,
    data_type: TexDataType,
    width: usize,
    height: usize,
    unpacking_alignment: usize,
    pixels: Vec<u8>,
) -> Vec<u8> 
Expand description

Flips the pixels in the Vec on the Y axis.