UniformType Enumeration
The underlying data types that can be used for uniform variables in screen-space effect shaders.
see ScreenSpaceEffectBuilder.addUniform to define a uniform variable.
see Uniform to set the value of a uniform variable.
extensions
Members
Name | Value | Description |
---|---|---|
Bool | 0 | GLSL bool . |
Int | 1 | GLSL int . |
Float | 2 | GLSL float . |
Vec2 | 3 | GLSL vec2 . |
Vec3 | 4 | GLSL vec3 . |
Vec4 | 5 | GLSL vec4 . |
Defined in
Last Updated: 20 June, 2023