@pixi/core
Version:
Core PixiJS
27 lines (24 loc) • 676 B
JavaScript
import { MSAA_QUALITY } from '@pixi/constants';
import { Rectangle } from '@pixi/math';
class FilterState {
constructor() {
this.renderTexture = null;
this.target = null;
this.legacy = false;
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;
}
clear() {
this.target = null;
this.filters = null;
this.renderTexture = null;
}
}
export { FilterState };
//# sourceMappingURL=FilterState.mjs.map