Struct gfx::render::batch::RefBatch
[−]
[src]
pub struct RefBatch<T: ShaderParam> { pub core: CoreBatch<T>, pub slice: Slice<T>, pub params: T, }
An expanded version of the CoreBatch
, carrying the parameters and
the mesh slice with it, publicly mutable.
Fields
core | Core of the batch |
slice | Mesh slice |
params | Shader parameter values |
Methods from Deref<Target=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