Function fractal::components::image_paintable::texture_from_data

source ยท
fn texture_from_data(
    bytes: &[u8],
    layout: SampleLayout,
    format: MemoryFormat,
    bpp: u8
) -> MemoryTexture