micro_games_kit::loader

Function load_texture

Source
pub fn load_texture(
    draw: &mut DrawContext,
    graphics: &Graphics<Vertex>,
    name: impl Into<Cow<'static, str>>,
    bytes: &[u8],
    cols: u32,
    rows: u32,
)