build/browser/index.js
/**
         * 1. Creates a subscription to WebGL rendering context events but does not subscribe.
         * 2. Constructs vertex and fragment shader sources.
         * 3. Sets the name for reporting reference counts.
         * 4. Synchronize with the WebGL rendering context if this is a top-level class (levelUp is zero).
         *
         * The contextManager must be defined.
         *
         * @param contextManager The ContextManager that will be subscribed to for WebGL rendering context events.
         * @param options Used to configure the MeshMaterial.
         * @param levelUp Defines the level of the MeshMaterial in the inheritance hierarchy.
         */
1. Creates a subscription to WebGL rendering context events but does not subscribe.
2. Constructs vertex and fragment shader sources.
3. Sets the name for reporting reference counts.
4. Synchronize with the WebGL rendering context if this is a top-level class (levelUp is zero).

The contextManager must be defined.

@param contextManager The ContextManager that will be subscribed to for WebGL rendering context events.
@param options Used to configure the MeshMaterial.
@param levelUp Defines the level of the MeshMaterial in the inheritance hierarchy.
1 . Creates a subscription to WebGL rendering context events but does not subscribe . 2 . Constructs vertex and fragment shader sources . 3 . Sets the name for reporting reference counts . 4 . Synchronize with the WebGL rendering context if this is a top - level class ( levelUp is zero ) . The contextManager must be defined . @param contextManager The ContextManager that will be subscribed to for WebGL rendering context events . @param options Used to configure the MeshMaterial . @param levelUp Defines the level of the MeshMaterial in the inheritance hierarchy .
function MeshMaterial(contextManager, options, levelUp) {
            if (levelUp === void 0) { levelUp = 0; }
            var _this = _super.call(this, vertexShaderSrc$3(getContextId$1(contextManager), options), fragmentShaderSrc$3(getContextId$1(contextManager), options), [], contextManager, levelUp + 1) || this;
            _this.setLoggingName(LOGGING_NAME_MESH_MATERIAL);
            if (levelUp === 0) {
                _this.synchUp();
            }
            return _this;
        }
function MeshMaterial ( contextManager , options , levelUp ) { if ( levelUp === void 0 ) { levelUp = 0 ; } var _this = _super . call ( this , vertexShaderSrc$3 ( getContextId$1 ( contextManager ) , options ) , fragmentShaderSrc$3 ( getContextId$1 ( contextManager ) , options ) , [ ] , contextManager , levelUp + 1 ) || this ; _this . setLoggingName ( LOGGING_NAME_MESH_MATERIAL ) ; if ( levelUp === 0 ) { _this . synchUp ( ) ; } return _this ; }
1.
1 .