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">
1 lines • 1.36 kB
Source Map (JSON)
{"version":3,"file":"BatchableHTMLText.mjs","sources":["../../../src/scene/text-html/BatchableHTMLText.ts"],"sourcesContent":["import { type Texture } from '../../rendering/renderers/shared/texture/Texture';\nimport { BatchableSprite } from '../sprite/BatchableSprite';\n\n/**\n * The BatchableHTMLText class extends the BatchableSprite class and is used to handle HTML text rendering.\n * It includes a promise for the texture as generating the HTML texture takes some time.\n * @internal\n */\nexport class BatchableHTMLText extends BatchableSprite\n{\n public texturePromise: Promise<Texture>;\n public generatingTexture = false;\n public currentKey: string = '--';\n\n /** Destroys the BatchableHTMLText instance. Returns the texture promise to the renderer and cleans up references. */\n public destroy()\n {\n this.texturePromise = null;\n this.generatingTexture = false;\n this.currentKey = '--';\n super.destroy();\n }\n}\n"],"names":[],"mappings":";;;AAQO,MAAM,0BAA0B,eAAA,CACvC;AAAA,EADO,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAGH,IAAA,IAAA,CAAO,iBAAA,GAAoB,KAAA;AAC3B,IAAA,IAAA,CAAO,UAAA,GAAqB,IAAA;AAAA,EAAA;AAAA;AAAA,EAGrB,OAAA,GACP;AACI,IAAA,IAAA,CAAK,cAAA,GAAiB,IAAA;AACtB,IAAA,IAAA,CAAK,iBAAA,GAAoB,KAAA;AACzB,IAAA,IAAA,CAAK,UAAA,GAAa,IAAA;AAClB,IAAA,KAAA,CAAM,OAAA,EAAQ;AAAA,EAClB;AACJ;;;;"}