MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / Batcher

Class Batcher

src/graphics/batch.rs:81–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81pub 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
91impl Batcher {
92 pub fn new(gfx: &Graphics) -> Batcher {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected