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-like declaration string.
Generates an array-like declaration, as a
GLSL1syntax string.Workaround for lack of
constarrays inGLSL< 3. Adds a lookup macro function; slow here, but standard.See
getGLSLListBase
Example: ```javascript getGLSL1ListLike('float', 'list', [0, 1, 2], 'const'); // => 'const int list_l = 3;'+lf+ 'const int list_0 = float(0);'+lf+ 'const int list_1 = float(1);'+lf+ 'const int list_2 = float(2);\n'+ '// Index macro `list_i` (e.g: `list_i(0)`) may be slow, `+ 'use name (e.g: `list_0`) if possible.\n'+ '#define list_i(i) ((i == 2)? list_2 : ((i == 1)? list_1 : list_0))\n'; ```