function FilterSystem(renderer) {
        this.renderer = renderer;
        this.defaultFilterStack = [{}];
        this.texturePool = new RenderTexturePool();
        this.texturePool.setScreenSize(renderer.view);
        this.statePool = [];
        this.quad = new Quad();
        this.quadUv = new QuadUv();
        this.tempRect = new _pixi_math__WEBPACK_IMPORTED_MODULE_6__.Rectangle();
        this.activeState = {};
        this.globalUniforms = new UniformGroup({
            outputFrame: new _pixi_math__WEBPACK_IMPORTED_MODULE_6__.Rectangle(),
            inputSize: new Float32Array(4),
            inputPixel: new Float32Array(4),
            inputClamp: new Float32Array(4),
            resolution: 1,
            // legacy variables
            filterArea: new Float32Array(4),
            filterClamp: new Float32Array(4),
        }, true);
        this.forceClear = false;
        this.useMaxPadding = false;
    }
@param renderer - The renderer this System works for.