UniformDatatype

UniformDatatype

Indicates a GLSL uniform's datatype.

See:
  • Uniform.getDatatype
Source:

Members

<static, constant> :Enumeration

A bool uniform.

<static, constant> :Enumeration

A bvec2 uniform: a two-component boolean vector.

<static, constant> :Enumeration

A bvec3 uniform: a three-component boolean vector.

<static, constant> :Enumeration

A bvec4 uniform: a four-component boolean vector.

<static, constant> :Enumeration

A float uniform.

<static, constant> :Enumeration

An mat2 uniform: a 2x2 floating-point matrix.

<static, constant> :Enumeration

An mat3 uniform: a 3x3 floating-point matrix.

<static, constant> :Enumeration

An mat4 uniform: a 4x4 floating-point matrix.

<static, constant> :Enumeration

A vec2 uniform: a two-component floating-point vector.

<static, constant> :Enumeration

A vec3 uniform: a three-component floating-point vector.

<static, constant> :Enumeration

A vec4 uniform: a four-component floating-point vector.

<static, constant> :Enumeration

An int uniform.

<static, constant> :Enumeration

An ivec2 uniform: a two-component integer vector.

<static, constant> :Enumeration

An ivec3 uniform: a three-component integer vector.

<static, constant> :Enumeration

An ivec4 uniform: a four-component integer vector.

<static, constant> :Enumeration

A sampler2D uniform: an opaque type to access 2D textures.

<static, constant> :Enumeration

A samplerCube uniform: an opaque type to access cube-map textures.