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 GLSL3 array declaration string.
Generates an array declaration, as a
GLSL3syntax string.Lookup and meta macros are added for consistency with other versions.
See
getGLSLListBase
Example: ```javascript getGLSL3List('int', 'list', [0, 1, 2], 'const'); // => 'const int list_l = 3;'+lf+ 'const int list_0 = int(0);'+lf+ 'const int list_1 = int(1);'+lf+ 'const int list_2 = int(2);'+lf+ 'const int list[list_l] = int[list_l](list_0, list_1, list_2);\n'+ '#define list_i(i) list[i]\n'; ```