swamp_wgpu_sprites

Function load_texture_from_memory

Source
pub fn load_texture_from_memory(
    device: &Device,
    queue: &Queue,
    img: RgbaImage,
    label: &str,
) -> Texture