UniformDatatype
Indicates a GLSL uniform's datatype.
- Uniform.datatype
See:
Source:
Members
-
<static, constant> BOOL :Enumeration
-
A
bool
uniform.- Default Value:
- 0x8B56
-
<static, constant> BOOL_VEC2 :Enumeration
-
A
bvec2
uniform: a two-component boolean vector.- Default Value:
- 0x8B57
-
<static, constant> BOOL_VEC3 :Enumeration
-
A
bvec3
uniform: a three-component boolean vector.- Default Value:
- 0x8B58
-
<static, constant> BOOL_VEC4 :Enumeration
-
A
bvec4
uniform: a four-component boolean vector.- Default Value:
- 0x8B59
-
<static, constant> FLOAT :Enumeration
-
A
float
uniform.- Default Value:
- 0x1406
-
<static, constant> FLOAT_MAT2 :Enumeration
-
An
mat2
uniform: a 2x2 floating-point matrix.- Default Value:
- 0x8B5A
-
<static, constant> FLOAT_MAT3 :Enumeration
-
An
mat3
uniform: a 3x3 floating-point matrix.- Default Value:
- 0x8B5B
-
<static, constant> FLOAT_MAT4 :Enumeration
-
An
mat4
uniform: a 4x4 floating-point matrix.- Default Value:
- 0x8B5C
-
<static, constant> FLOAT_VEC2 :Enumeration
-
A
vec2
uniform: a two-component floating-point vector.- Default Value:
- 0x8B50
-
<static, constant> FLOAT_VEC3 :Enumeration
-
A
vec3
uniform: a three-component floating-point vector.- Default Value:
- 0x8B51
-
<static, constant> FLOAT_VEC4 :Enumeration
-
A
vec4
uniform: a four-component floating-point vector.- Default Value:
- 0x8B52
-
<static, constant> INT :Enumeration
-
An
int
uniform.- Default Value:
- 0x1404
-
<static, constant> INT_VEC2 :Enumeration
-
An
ivec2
uniform: a two-component integer vector.- Default Value:
- 0x8B53
-
<static, constant> INT_VEC3 :Enumeration
-
An
ivec3
uniform: a three-component integer vector.- Default Value:
- 0x8B54
-
<static, constant> INT_VEC4 :Enumeration
-
An
ivec4
uniform: a four-component integer vector.- Default Value:
- 0x8B55
-
<static, constant> SAMPLER_2D :Enumeration
-
A
sampler2D
uniform: an opaque type to access 2D textures.- Default Value:
- 0x8B5E
-
<static, constant> SAMPLER_CUBE :Enumeration
-
A
samplerCube
uniform: an opaque type to access cube-map textures.- Default Value:
- 0x8B60