| 79 | } |
| 80 | |
| 81 | pub struct Batcher { |
| 82 | mesh: Mesh, |
| 83 | default_texture: Texture, |
| 84 | default_shader: Shader, |
| 85 | |
| 86 | sprites: Vec<Sprite>, |
| 87 | batches: Vec<Batch>, |
| 88 | matrices: Vec<Mat3>, |
| 89 | } |
| 90 | |
| 91 | impl Batcher { |
| 92 | pub fn new(gfx: &Graphics) -> Batcher { |
nothing calls this directly
no outgoing calls
no test coverage detected