Type Alias: ShaderUniformValue
ShaderUniformValue =
number|boolean|Vector2|Vector3|Vector4|Color|Texture| readonlynumber[]
Defined in: src/mobjects/shader/ShaderMobject.ts:11
Allowed value types for a ShaderMobject uniform.
Floats map to GLSL float, vectors to vecN, THREE.Color to a vec3
(THREE uploads its .r/.g/.b), THREE.Texture to a sampler2D, and a
plain number array to the matching vecN/array uniform.