function MeshMaterial(uSampler, options) {
        var _this = this;
        var uniforms = {
            uSampler: uSampler,
            alpha: 1,
            uTextureMatrix: _pixi_math__WEBPACK_IMPORTED_MODULE_1__.Matrix.IDENTITY,
            uColor: new Float32Array([1, 1, 1, 1]),
        };
        // Set defaults
        options = Object.assign({
            tint: 0xFFFFFF,
            alpha: 1,
            pluginName: 'batch',
        }, options);
        if (options.uniforms) {
            Object.assign(uniforms, options.uniforms);
        }
        _this = _super.call(this, options.program || _pixi_core__WEBPACK_IMPORTED_MODULE_0__.Program.from(vertex, fragment), uniforms) || this;
        _this._colorDirty = false;
        _this.uvMatrix = new _pixi_core__WEBPACK_IMPORTED_MODULE_0__.TextureMatrix(uSampler);
        _this.batchable = options.program === undefined;
        _this.pluginName = options.pluginName;
        _this.tint = options.tint;
        _this.alpha = options.alpha;
        return _this;
    }
@param uSampler - Texture that material uses to render.
@param options - Additional options
@param {number} [options.alpha=1] - Default alpha.
@param {number} [options.tint=0xFFFFFF] - Default tint.
@param {string} [options.pluginName='batch'] - Renderer plugin for batching.
@param {PIXI.Program} [options.program=0xFFFFFF] - Custom program.
@param {object} [options.uniforms] - Custom uniforms.