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

pub trait Uniformable: Copy + Sized {
    fn update(self, program: &Program, u: &Uniform<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