Struct luminance::shader::program::UniformBuilder [] [src]

pub struct UniformBuilder<'a> { /* fields omitted */ }

Build uniforms to fold them to a uniform interface.


impl<'a> UniformBuilder<'a>


Have the builder hand you a Uniform of the type of your choice. Keep in mind that it’s possible that this function fails if you ask for a type that is not the one defined in the shader.


Special uniform that won’t do anything.

Use that function when you need a uniform to complete a uniform interface but you’re sure you won’t use it.