function glFunctionArgToString( functionName, numArgs, argumentIndex, value ) {

		const funcInfos = glValidEnumContexts[ functionName ];
		if ( funcInfos !== undefined ) {

			const funcInfo = funcInfos[ numArgs ];
			if ( funcInfo !== undefined ) {

				const argType = funcInfo[ argumentIndex ];
				if ( argType ) {

					if ( typeof argType === 'function' ) {

						return argType( value );

					} else {

						return glEnumToString( value );

					}

				}

			}

		}

		if ( value === null ) {

			return 'null';

		} else if ( value === undefined ) {

			return 'undefined';

		} else {

			return value.toString();

		}

	}
Returns the string version of a WebGL argument.
Attempts to convert enum arguments to strings.
@param {string} functionName the name of the WebGL function.
@param {number} numArgs the number of arguments passed to the function.
@param {number} argumentIndx the index of the argument.
@param {*} value The value of the argument.
@return {string} The value as a string.