calculateSpriteMatrix(outputMatrix, sprite)
    {
        const currentState = this.filterData.stack[this.filterData.index];

        return filterTransforms.calculateSpriteMatrix(
            outputMatrix,
            currentState.sourceFrame,
            currentState.renderTarget.size,
            sprite
        );
    }
/**
     * This will map the filter coord so that a texture can be used based on the transform of a sprite
     *
     * @param {PIXI.Matrix} outputMatrix - The matrix to output to.
     * @param {PIXI.Sprite} sprite - The sprite to map to.
     * @return {PIXI.Matrix} The mapped matrix.
     */
This will map the filter coord so that a texture can be used based on the transform of a sprite
@param {PIXI.Matrix} outputMatrix - The matrix to output to.
@param {PIXI.Sprite} sprite - The sprite to map to.
@return {PIXI.Matrix} The mapped matrix.
This will map the filter coord so that a texture can be used based on the transform of a sprite @param { PIXI . Matrix } outputMatrix - The matrix to output to . @param { PIXI . Sprite } sprite - The sprite to map to . @return { PIXI . Matrix } The mapped matrix .
calculateSpriteMatrix(outputMatrix, sprite)
    {
        const currentState = this.filterData.stack[this.filterData.index];
        return filterTransforms.calculateSpriteMatrix(
            outputMatrix,
            currentState.sourceFrame,
            currentState.renderTarget.size,
            sprite
        );
    }
calculateSpriteMatrix ( outputMatrix , sprite ) { const currentState = this . filterData . stack [ this . filterData . index ] ; return filterTransforms . calculateSpriteMatrix ( outputMatrix , currentState . sourceFrame , currentState . renderTarget . size , sprite ) ; }
This will map the filter coord so that a texture can be used based on the transform of a sprite
 @param {PIXI.Matrix} outputMatrix - The matrix to output to.
This will map the filter coord so that a texture can be used based on the transform of a sprite @param { PIXI . Matrix } outputMatrix - The matrix to output to .