pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
20 lines (18 loc) • 434 B
JavaScript
;
class FilterEffect {
constructor() {
/** the pipe that knows how to handle this effect */
this.pipe = "filter";
/** the priority of this effect */
this.priority = 1;
}
destroy() {
for (let i = 0; i < this.filters.length; i++) {
this.filters[i].destroy();
}
this.filters = null;
this.filterArea = null;
}
}
export { FilterEffect };
//# sourceMappingURL=FilterEffect.mjs.map