pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
22 lines (19 loc) • 460 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;
}
}
exports.FilterEffect = FilterEffect;
//# sourceMappingURL=FilterEffect.js.map