Skip to main content

upload_rgba

Function upload_rgba 

Source
pub fn upload_rgba(
    device: &Device,
    queue: &Queue,
    label: &str,
    width: u32,
    height: u32,
    mips: &[Vec<u8>],
) -> TextureView
Expand description

Upload RGBA8 mip levels as an sRGB texture.