Enum glw::shader::Uniform[][src]

pub enum Uniform {
    Float(f32),
    Int(i32),
    Vec2(f32f32),
    Sampler2D(GLuint),
}

Enum that carries data for specific Uniforms in GLSL. It describes what data to bind for the uniform retrieved with glGetUniformLocation

Variants

Auto Trait Implementations

impl Send for Uniform

impl Sync for Uniform