Struct glium::uniforms::UniformsStorage [] [src]

pub struct UniformsStorage<'n, T, R> where
    T: AsUniformValue,
    R: Uniforms
{ /* fields omitted */ }

Stores uniforms.

Methods

impl<'n, T> UniformsStorage<'n, T, EmptyUniforms> where
    T: AsUniformValue
[src]

[src]

Builds a new storage with a value.

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

[src]

Adds a value to the storage.

Trait Implementations

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

[src]

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