[−][src]Trait ggraphics::DrawCall
Trait for a draw call...
Required methods
fn add(&mut self, quad: QuadData)
Add a new instance to the quad data.
Instances are cached between draw()
invocations.
fn clear(&mut self)
Empty all instances out of the instance buffer.
unsafe fn draw(&mut self, gl: &Context)
fdjsal
Implementors
impl DrawCall for MeshDrawCall
[src]
fn add(&mut self, quad: QuadData)
[src]
TODO: Refactor
fn clear(&mut self)
[src]
TODO: Refactor
unsafe fn draw(&mut self, gl: &Context)
[src]
TODO: Refactor