The GLSL list data-type.
The name of the GLSL list variable.
The list of GLSL values.
Optionalqualify: string = ''A GLSL qualifier, if needed.
Optionalinit: string = typeA data-type initialiser, type by default.
The GLSL1 array declaration string.
Generates an array declaration, as a
GLSL1syntax string.Lookup and meta macros are added for consistency with other versions.
See
getGLSLListBase
Example: ```javascript getGLSL1ListArray('vec3', 'list', [[1, 0, 0], [0, 2, 0], [0, 0, 3]]); // => 'const int list_l = 3;'+lf+ 'vec3 list_0 = vec3(1, 0, 0);'+lf+ 'vec3 list_1 = vec3(0, 2, 0);'+lf+ 'vec3 list_2 = vec3(0, 0, 3);'+lf+ 'vec3 list[list_l];'+lf+ 'list[0] = list_0;'+lf+ 'list[1] = list_1;'+lf+ 'list[2] = list_2;\n'+ '#define list_i(i) list[i]\n'; ```