Enum glium::uniforms::UniformType
[−]
[src]
pub enum UniformType { Float, FloatVec2, FloatVec3, FloatVec4, Double, DoubleVec2, DoubleVec3, DoubleVec4, Int, IntVec2, IntVec3, IntVec4, UnsignedInt, UnsignedIntVec2, UnsignedIntVec3, UnsignedIntVec4, Int64, Int64Vec2, Int64Vec3, Int64Vec4, UnsignedInt64, UnsignedInt64Vec2, UnsignedInt64Vec3, UnsignedInt64Vec4, Bool, BoolVec2, BoolVec3, BoolVec4, FloatMat2, FloatMat3, FloatMat4, FloatMat2x3, FloatMat2x4, FloatMat3x2, FloatMat3x4, FloatMat4x2, FloatMat4x3, DoubleMat2, DoubleMat3, DoubleMat4, DoubleMat2x3, DoubleMat2x4, DoubleMat3x2, DoubleMat3x4, DoubleMat4x2, DoubleMat4x3, Sampler1d, ISampler1d, USampler1d, Sampler2d, ISampler2d, USampler2d, Sampler3d, ISampler3d, USampler3d, Sampler1dArray, ISampler1dArray, USampler1dArray, Sampler2dArray, ISampler2dArray, USampler2dArray, SamplerCube, ISamplerCube, USamplerCube, Sampler2dRect, ISampler2dRect, USampler2dRect, Sampler2dRectShadow, SamplerCubeArray, ISamplerCubeArray, USamplerCubeArray, SamplerBuffer, ISamplerBuffer, USamplerBuffer, Sampler2dMultisample, ISampler2dMultisample, USampler2dMultisample, Sampler2dMultisampleArray, ISampler2dMultisampleArray, USampler2dMultisampleArray, Sampler1dShadow, Sampler2dShadow, SamplerCubeShadow, Sampler1dArrayShadow, Sampler2dArrayShadow, SamplerCubeArrayShadow, Image1d, IImage1d, UImage1d, Image2d, IImage2d, UImage2d, Image3d, IImage3d, UImage3d, Image2dRect, IImage2dRect, UImage2dRect, ImageCube, IImageCube, UImageCube, ImageBuffer, IImageBuffer, UImageBuffer, Image1dArray, IImage1dArray, UImage1dArray, Image2dArray, IImage2dArray, UImage2dArray, Image2dMultisample, IImage2dMultisample, UImage2dMultisample, Image2dMultisampleArray, IImage2dMultisampleArray, UImage2dMultisampleArray, AtomicCounterUint, }
Type of a uniform in a program.
Variants
Float
FloatVec2
FloatVec3
FloatVec4
Double
DoubleVec2
DoubleVec3
DoubleVec4
Int
IntVec2
IntVec3
IntVec4
UnsignedInt
UnsignedIntVec2
UnsignedIntVec3
UnsignedIntVec4
Int64
Int64Vec2
Int64Vec3
Int64Vec4
UnsignedInt64
UnsignedInt64Vec2
UnsignedInt64Vec3
UnsignedInt64Vec4
Bool
BoolVec2
BoolVec3
BoolVec4
FloatMat2
FloatMat3
FloatMat4
FloatMat2x3
FloatMat2x4
FloatMat3x2
FloatMat3x4
FloatMat4x2
FloatMat4x3
DoubleMat2
DoubleMat3
DoubleMat4
DoubleMat2x3
DoubleMat2x4
DoubleMat3x2
DoubleMat3x4
DoubleMat4x2
DoubleMat4x3
Sampler1d
ISampler1d
USampler1d
Sampler2d
ISampler2d
USampler2d
Sampler3d
ISampler3d
USampler3d
Sampler1dArray
ISampler1dArray
USampler1dArray
Sampler2dArray
ISampler2dArray
USampler2dArray
SamplerCube
ISamplerCube
USamplerCube
Sampler2dRect
ISampler2dRect
USampler2dRect
Sampler2dRectShadow
SamplerCubeArray
ISamplerCubeArray
USamplerCubeArray
SamplerBuffer
ISamplerBuffer
USamplerBuffer
Sampler2dMultisample
ISampler2dMultisample
USampler2dMultisample
Sampler2dMultisampleArray
ISampler2dMultisampleArray
USampler2dMultisampleArray
Sampler1dShadow
Sampler2dShadow
SamplerCubeShadow
Sampler1dArrayShadow
Sampler2dArrayShadow
SamplerCubeArrayShadow
Image1d
IImage1d
UImage1d
Image2d
IImage2d
UImage2d
Image3d
IImage3d
UImage3d
Image2dRect
IImage2dRect
UImage2dRect
ImageCube
IImageCube
UImageCube
ImageBuffer
IImageBuffer
UImageBuffer
Image1dArray
IImage1dArray
UImage1dArray
Image2dArray
IImage2dArray
UImage2dArray
Image2dMultisample
IImage2dMultisample
UImage2dMultisample
Image2dMultisampleArray
IImage2dMultisampleArray
UImage2dMultisampleArray
AtomicCounterUint
Trait Implementations
impl Eq for UniformType
[src]
impl PartialEq for UniformType
[src]
fn eq(&self, __arg_0: &UniformType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Debug for UniformType
[src]
impl Clone for UniformType
[src]
fn clone(&self) -> UniformType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more