[][src]Enum glium::uniforms::UniformType

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 Clone for UniformType[src]

impl Copy for UniformType[src]

impl Debug for UniformType[src]

impl Eq for UniformType[src]

impl PartialEq<UniformType> for UniformType[src]

impl StructuralEq for UniformType[src]

impl StructuralPartialEq for UniformType[src]

Auto Trait Implementations

impl RefUnwindSafe for UniformType

impl Send for UniformType

impl Sync for UniformType

impl Unpin for UniformType

impl UnwindSafe for UniformType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.