Trait kiss3d::resource::material::Material [] [src]

pub trait Material {
    fn render(&mut self,
              pass: usize,
              transform: &Isometry3<f32>,
              scale: &Vector3<f32>,
              camera: &mut Camera,
              light: &Light,
              data: &ObjectData,
              mesh: &mut Mesh); }

Trait implemented by materials.

Required Methods

Renders an object using this material.

Implementors