Struct gfx::render::batch::CoreBatch
[−]
[src]
pub struct CoreBatch<T: ShaderParam> { // some fields omitted }
Referenced core - a minimal sealed batch that depends on Context
.
It has references to the resources (mesh, program, state), that are held
by the context that created the batch, so these have to be used together.
Methods
impl<T: ShaderParam> CoreBatch<T>
fn cmp_mesh(&self, other: &CoreBatch<T>) -> Ordering
Compare meshes by Id
fn cmp_program(&self, other: &CoreBatch<T>) -> Ordering
Compare programs by Id
fn cmp_state(&self, other: &CoreBatch<T>) -> Ordering
Compare draw states by Id