Struct luminance::shader::uniform::Uniform [] [src]

pub struct Uniform<C, T> where C: HasUniform, T: Uniformable<C> {
    pub repr: C::U,
    // some fields omitted
}

A shader uniform. Uniform<C, T> doesn’t hold any value. It’s more like a mapping between the host code and the shader the uniform was retrieved from.

Fields

Methods

impl<C, T> Uniform<C, T> where C: HasUniform, T: Uniformable<C>
[src]

Trait Implementations

impl<C: Debug, T: Debug> Debug for Uniform<C, T> where C: HasUniform, T: Uniformable<C>, C::U: Debug
[src]

Formats the value using the given formatter.