generateArray( type, count, values = null ) {

		let snippet = this.generateArrayDeclaration( type, count ) + '( ';

		for ( let i = 0; i < count; i ++ ) {

			const value = values ? values[ i ] : null;

			if ( value !== null ) {

				snippet += value.build( this, type );

			} else {

				snippet += this.generateConst( type );

			}

			if ( i < count - 1 ) snippet += ', ';

		}

		snippet += ' )';

		return snippet;

	}
Generates the array shader string for the given type and value.

@param {string} type - The type.
@param {?number} [count] - The count.
@param {?Array<Node>} [values=null] - The default values.
@return {string} The generated value as a shader string.