UNPKG

689 BJavaScriptView Raw
1"use strict";
2var constants = require("@pixi/constants"), math = require("@pixi/math");
3class FilterState {
4 constructor() {
5 this.renderTexture = null, this.target = null, this.legacy = !1, this.resolution = 1, this.multisample = constants.MSAA_QUALITY.NONE, this.sourceFrame = new math.Rectangle(), this.destinationFrame = new math.Rectangle(), this.bindingSourceFrame = new math.Rectangle(), this.bindingDestinationFrame = new math.Rectangle(), this.filters = [], this.transform = null;
6 }
7 /** Clears the state */
8 clear() {
9 this.target = null, this.filters = null, this.renderTexture = null;
10 }
11}
12exports.FilterState = FilterState;
13//# sourceMappingURL=FilterState.js.map