micro_games_kit::loader

Function build_texture

Source
pub fn build_texture(
    draw: &mut DrawContext,
    graphics: &Graphics<Vertex>,
    name: impl Into<Cow<'static, str>>,
    image: RgbaImage,
    cols: u32,
    rows: u32,
)