diff --git a/docs/api/core/Uniform.html b/docs/api/core/Uniform.html index 3768983313a36ee837aa0c6d20415f8c4e98ef3d..182ff4cd577c6ca773706164cfc37622971e446f 100644 --- a/docs/api/core/Uniform.html +++ b/docs/api/core/Uniform.html @@ -27,7 +27,14 @@

Uniform types

- Each uniform must have a *value* property. The type of the value must correspond to the type of the uniform variable in the GLSL code as specified for the primitive GLSL types in the table below. Uniform structures and arrays are also supported. GLSL arrays of primitive type must either be specified as an array of the corresponding THREE objects or as a flat array containing the data of all the objects. In other words; GLSL primitives in arrays must not be represented by arrays. This rule does not apply transitively. An array of *vec2* arrays, each with a length of five vectors, must be an array of arrays, of either five *THREE.Vector2* objects or ten *number*s. + Each uniform must have a *value* property. The type of the value must correspond to the + type of the uniform variable in the GLSL code as specified for the primitive GLSL types + in the table below. Uniform structures and arrays are also supported. GLSL arrays of primitive + type must either be specified as an array of the corresponding THREE objects or as a flat + array containing the data of all the objects. In other words; GLSL primitives in arrays + must not be represented by arrays. This rule does not apply transitively. + An array of *vec2* arrays, each with a length of five vectors, must be an array of arrays, + of either five [page:Vector2] objects or ten *number*s.

Uniform types