Trait gfx::render::batch::Batch
[−]
[src]
pub trait Batch<R: Resources> { fn get_data(&self) -> Result<BatchData<R>, Error>; fn fill_params(&self, &mut ParamStorage<R>) -> Result<&ProgramHandle<R>, Error>; }
Abstract batch trait
Required Methods
fn get_data(&self) -> Result<BatchData<R>, Error>
Obtain information about the mesh, program, and state
fn fill_params(&self, &mut ParamStorage<R>) -> Result<&ProgramHandle<R>, Error>
Fill shader parameter values
Implementors
impl<'a, T: ShaderParam> Batch<T::Resources> for Implicit<'a, T>
impl<T: ShaderParam> Batch<T::Resources> for Full<T>
impl<'a, T: ShaderParam + 'a> Batch<T::Resources> for Complete<'a, T>