function addEnumsForContext( ctx, type ) {

		if ( ! mappedContextTypes[ type ] ) {

			mappedContextTypes[ type ] = true;
			for ( const propertyName in ctx ) {

				if ( typeof ctx[ propertyName ] === 'number' ) {

					glEnums[ ctx[ propertyName ] ] = propertyName;
					enumStringToValue[ propertyName ] = ctx[ propertyName ];

				}

			}

		}

	}
Initializes this module. Safe to call more than once.
@param {!WebGLRenderingContext} ctx A WebGL context. If
   you have more than one context it doesn't matter which one
   you pass in, it is only used to pull out constants.