Trait glium::uniforms::Uniforms

source ·
pub trait Uniforms {
    // Required method
    fn visit_values<'a, F: FnMut(&str, UniformValue<'a>)>(&'a self, _: F);
}
Expand description

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§

source

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

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

Object Safety§

This trait is not object safe.

Implementors§