Enum glitter::uniform_data::UniformDatumType [] [src]

pub enum UniformDatumType {
    Vec1(UniformPrimitiveType),
    Vec2(UniformPrimitiveType),
    Vec3(UniformPrimitiveType),
    Vec4(UniformPrimitiveType),
    Matrix2x2,
    Matrix3x3,
    Matrix4x4,
}

The basic types that can be used as uniform values in a program object.

Variants

A single scalar value, containing one primitive (essentially a vector of one component).

A vector with 2 components.

A vector with 3 components.

A vector with 4 components.

A 2x2 matrix of floating-point values.

A 3x3 matrix of floating-point values.

A 4x4 matrix of floating-point values.