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>, }