[][src]Trait glium::uniforms::Uniforms

pub trait Uniforms {
    fn visit_values<'a, F: FnMut(&str, UniformValue<'a>)>(&'a self, _: F);
}

Object that contains the values of all the uniforms to bind to a program.

Objects of this type can be passed to the draw() function.

Required methods

fn visit_values<'a, F: FnMut(&str, UniformValue<'a>)>(&'a self, _: F)

Calls the parameter once with the name and value of each uniform.

Loading content...

Implementors

impl Uniforms for EmptyUniforms[src]

impl<'n, T, R> Uniforms for UniformsStorage<'n, T, R> where
    T: AsUniformValue,
    R: Uniforms
[src]

Loading content...