function TextureMatrix(texture, clampMargin) {
        this._texture = texture;
        this.mapCoord = new _pixi_math__WEBPACK_IMPORTED_MODULE_6__.Matrix();
        this.uClampFrame = new Float32Array(4);
        this.uClampOffset = new Float32Array(2);
        this._textureID = -1;
        this._updateID = 0;
        this.clampOffset = 0;
        this.clampMargin = (typeof clampMargin === 'undefined') ? 0.5 : clampMargin;
        this.isSimple = false;
    }
@param texture - observed texture
@param clampMargin - Changes frame clamping, 0.5 by default. Use -0.5 for extra border.