Enum Uniform
glw::shader
pub enum Uniform { Float(f32), Int(i32), Sampler2D(GLuint), }
Enum that carries data for specific Uniforms in GLSL. It describes what data to bind for the uniform retrieved with glGetUniformLocation
Float(f32)
Int(i32)
Sampler2D(GLuint)
impl Send for Uniform
impl Sync for Uniform