ShaderUniformDataType

Shader uniform data type

Values

ValueMeaning
SHADER_UNIFORM_FLOAT0

Shader uniform type: float

SHADER_UNIFORM_VEC21

Shader uniform type: vec2 (2 float)

SHADER_UNIFORM_VEC32

Shader uniform type: vec3 (3 float)

SHADER_UNIFORM_VEC43

Shader uniform type: vec4 (4 float)

SHADER_UNIFORM_INT4

Shader uniform type: int

SHADER_UNIFORM_IVEC25

Shader uniform type: ivec2 (2 int)

SHADER_UNIFORM_IVEC36

Shader uniform type: ivec3 (3 int)

SHADER_UNIFORM_IVEC47

Shader uniform type: ivec4 (4 int)

SHADER_UNIFORM_SAMPLER2D8

Shader uniform type: sampler2d

Meta