[][src]Function ringui::utils::allocate_texture

pub fn allocate_texture<C: Deref<Target = [u8]>>(
    img: &ImageBuffer<Rgba<u8>, C>
) -> Option<TextureHandle>