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

pub trait Uniformable: Sized {
    fn update(self, u: &Uniform<Self>);
fn ty() -> 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