[][src]Enum luminance::shader::program::Type

pub enum Type {
    Int,
    UInt,
    Float,
    Bool,
    IVec2,
    IVec3,
    IVec4,
    UIVec2,
    UIVec3,
    UIVec4,
    Vec2,
    Vec3,
    Vec4,
    BVec2,
    BVec3,
    BVec4,
    M22,
    M33,
    M44,
    ISampler1D,
    ISampler2D,
    ISampler3D,
    UISampler1D,
    UISampler2D,
    UISampler3D,
    Sampler1D,
    Sampler2D,
    Sampler3D,
    ICubemap,
    UICubemap,
    Cubemap,
    BufferBinding,
}

Type of a uniform.

Variants

Int

32-bit signed integer.

UInt

32-bit unsigned integer.

Float

32-bit floating-point number.

Bool

Boolean.

IVec2

2D signed integral vector.

IVec3

3D signed integral vector.

IVec4

4D signed integral vector.

UIVec2

2D unsigned integral vector.

UIVec3

3D unsigned integral vector.

UIVec4

4D unsigned integral vector.

Vec2

2D floating-point vector.

Vec3

3D floating-point vector.

Vec4

4D floating-point vector.

BVec2

2D boolean vector.

BVec3

3D boolean vector.

BVec4

4D boolean vector.

M22

2×2 floating-point matrix.

M33

3×3 floating-point matrix.

M44

4×4 floating-point matrix.

ISampler1D

Signed integral 1D texture sampler.

ISampler2D

Signed integral 2D texture sampler.

ISampler3D

Signed integral 3D texture sampler.

UISampler1D

Unsigned integral 1D texture sampler.

UISampler2D

Unsigned integral 2D texture sampler.

UISampler3D

Unsigned integral 3D texture sampler.

Sampler1D

Floating-point 1D texture sampler.

Sampler2D

Floating-point 2D texture sampler.

Sampler3D

Floating-point 3D texture sampler.

ICubemap

Signed cubemap sampler.

UICubemap

Unsigned cubemap sampler.

Cubemap

Floating-point cubemap sampler.

BufferBinding

Buffer binding; used for UBOs.

Trait Implementations

impl Eq for Type[src]

impl Clone for Type[src]

impl PartialEq<Type> for Type[src]

impl Copy for Type[src]

impl Debug for Type[src]

Auto Trait Implementations

impl Send for Type

impl Unpin for Type

impl Sync for Type

impl UnwindSafe for Type

impl RefUnwindSafe for Type

Blanket Implementations

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> From<T> for T[src]

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.

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

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

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