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">
21 lines (18 loc) • 576 B
JavaScript
import { BatchableSprite } from '../sprite/BatchableSprite.mjs';
;
class BatchableHTMLText extends BatchableSprite {
constructor() {
super(...arguments);
this.generatingTexture = false;
this.currentKey = "--";
}
/** Destroys the BatchableHTMLText instance. Returns the texture promise to the renderer and cleans up references. */
destroy() {
this.texturePromise = null;
this.generatingTexture = false;
this.currentKey = "--";
super.destroy();
}
}
export { BatchableHTMLText };
//# sourceMappingURL=BatchableHTMLText.mjs.map