wgpu_examples::utils

Function output_image_native

Source
pub fn output_image_native(
    image_data: Vec<u8>,
    texture_dims: (usize, usize),
    path: String,
)
Expand description

Outputs a vector of RGBA bytes as a png image with the given dimensions on the given path.