Enum glin::program::UniformValue [−][src]
pub enum UniformValue {}Show variants
Float(f32), Int(i32), UInt(u32), Bool(bool), Mat2([[f32; 2]; 2]), Mat3([[f32; 3]; 3]), Mat4([[f32; 4]; 4]), Vec2(f32, f32), Vec3(f32, f32, f32), Vec4(f32, f32, f32, f32), IVec2(i32, i32), IVec3(i32, i32, i32), IVec4(i32, i32, i32, i32), UVec2(u32, u32), UVec3(u32, u32, u32), UVec4(u32, u32, u32, u32), ArrayFloat(Vec<f32>), ArrayVec2(Vec<[f32; 2]>), ArrayVec3(Vec<[f32; 3]>), ArrayVec4(Vec<[f32; 4]>), ArrayInt(Vec<i32>), ArrayIVec2(Vec<[i32; 2]>), ArrayIVec3(Vec<[i32; 3]>), ArrayIVec4(Vec<[i32; 4]>), ArrayUInt(Vec<u32>), ArrayUVec2(Vec<[u32; 2]>), ArrayUVec3(Vec<[u32; 3]>), ArrayUVec4(Vec<[u32; 4]>), Texture(u32, u32, u32), TextureSampler(u32, u32, u32, u32), UniformBlockBinding(u32), ShaderStorageBlockBinding(u32),
All posible types of uniform values
Including compound ones that are later decomposed
Variants
Float(f32)
Int(i32)
UInt(u32)
Bool(bool)
UniformBlockBinding(u32)
ShaderStorageBlockBinding(u32)
Trait Implementations
impl AsUniform<UniformValue> for UniformValue
[src]
impl AsUniform<UniformValue> for UniformValue
[src]fn as_uniform(&self) -> UniformValue
[src]
impl Clone for UniformValue
[src]
impl Clone for UniformValue
[src]fn clone(&self) -> UniformValue
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<UniformValue> for UniformValue
[src]
impl PartialEq<UniformValue> for UniformValue
[src]