Trait ringl::material::Material[][src]

pub trait Material {
    fn program<R: RenderSurface>(&self, renderer: &Renderer<R>) -> &Program;
fn uniforms<R: RenderSurface>(&self, renderer: &Renderer<R>) -> Vec<Uniform>;
fn properties(&self) -> Vec<Property>; }

Required Methods

returns the material shader

Implementations on Foreign Types

impl<M: Material + ?Sized> Material for Rc<M>
[src]

returns the material shader

impl<M: Material + ?Sized> Material for Box<M>
[src]

returns the material shader

impl<'a, M: Material + ?Sized> Material for &'a M
[src]

returns the material shader

impl Material for Program
[src]

Implementors