UNPKG

651 BJavaScriptView Raw
1import { MSAA_QUALITY } from "@pixi/constants";
2import { Rectangle } from "@pixi/math";
3class FilterState {
4 constructor() {
5 this.renderTexture = null, this.target = null, this.legacy = !1, this.resolution = 1, this.multisample = MSAA_QUALITY.NONE, this.sourceFrame = new Rectangle(), this.destinationFrame = new Rectangle(), this.bindingSourceFrame = new Rectangle(), this.bindingDestinationFrame = new 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}
12export {
13 FilterState
14};
15//# sourceMappingURL=FilterState.mjs.map