UniformDatatype

UniformDatatype

Indicates a GLSL uniform's datatype.

See:
  • Uniform.datatype
Source:

Members

<static, constant> :Enumeration

A bool uniform.
Default Value:
  • 0x8B56

<static, constant> :Enumeration

A bvec2 uniform: a two-component boolean vector.
Default Value:
  • 0x8B57

<static, constant> :Enumeration

A bvec3 uniform: a three-component boolean vector.
Default Value:
  • 0x8B58

<static, constant> :Enumeration

A bvec4 uniform: a four-component boolean vector.
Default Value:
  • 0x8B59

<static, constant> :Enumeration

A float uniform.
Default Value:
  • 0x1406

<static, constant> :Enumeration

An mat2 uniform: a 2x2 floating-point matrix.
Default Value:
  • 0x8B5A

<static, constant> :Enumeration

An mat3 uniform: a 3x3 floating-point matrix.
Default Value:
  • 0x8B5B

<static, constant> :Enumeration

An mat4 uniform: a 4x4 floating-point matrix.
Default Value:
  • 0x8B5C

<static, constant> :Enumeration

A vec2 uniform: a two-component floating-point vector.
Default Value:
  • 0x8B50

<static, constant> :Enumeration

A vec3 uniform: a three-component floating-point vector.
Default Value:
  • 0x8B51

<static, constant> :Enumeration

A vec4 uniform: a four-component floating-point vector.
Default Value:
  • 0x8B52

<static, constant> :Enumeration

An int uniform.
Default Value:
  • 0x1404

<static, constant> :Enumeration

An ivec2 uniform: a two-component integer vector.
Default Value:
  • 0x8B53

<static, constant> :Enumeration

An ivec3 uniform: a three-component integer vector.
Default Value:
  • 0x8B54

<static, constant> :Enumeration

An ivec4 uniform: a four-component integer vector.
Default Value:
  • 0x8B55

<static, constant> :Enumeration

A sampler2D uniform: an opaque type to access 2D textures.
Default Value:
  • 0x8B5E

<static, constant> :Enumeration

A samplerCube uniform: an opaque type to access cube-map textures.
Default Value:
  • 0x8B60