Trait luminance::shader::program::Uniformable [] [src]

pub trait Uniformable<C>: Sized where C: HasProgram {
    fn update(self, program: &C::Program, u: &Uniform<C, Self>);
    fn reify_type() -> Type;
    fn dim() -> Dim;
}

Types that can behave as Uniform.

Required Methods

Update the uniform with a new value.

Retrieve the Type of the uniform.

Retrieve the Dim of the uniform.

Implementors