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 aGLSLsyntaxstringcompatible with versions 1-3.Works around the lack of
constarrays inGLSL< 3. Used as the base for the otherGLSLversion list types, ensuring a common standard while offering further language features where available.Example: ```javascript getGLSLListBase('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);'; ```