flake-engine 0.1.3

Immediate-mode game framework built on wgpu + winit
1
2
3
4
5
6
7
8
9
use crate::draw_state::shapes::Shape;
use std::ops::Range;

#[derive(Clone, Debug)]
pub struct Batch {
    pub shape: Shape,
    pub texture: usize,
    pub range: Range<u32>,
}