Skip to main content

upload_rgba_as

Function upload_rgba_as 

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

Upload 4-byte-per-texel mip levels in format.