Trait nannou::ui::backend::glium::glium::uniforms::Uniforms
[−]
[src]
pub trait Uniforms { fn visit_values<'a, F>(&'a self, F)
where
F: FnMut(&str, UniformValue<'a>); }
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>(&'a self, F) where
F: FnMut(&str, UniformValue<'a>),
F: FnMut(&str, UniformValue<'a>),
Calls the parameter once with the name and value of each uniform.
Implementors
impl<'n, T, R> Uniforms for UniformsStorage<'n, T, R> where
R: Uniforms,
T: AsUniformValue,impl Uniforms for EmptyUniforms