API Reference > imodeljs-frontend > Rendering > UniformType 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. 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 core/frontend/src/render/ScreenSpaceEffectBuilder.ts Line 16 Last Updated: 11 June, 2024