{"version":3,"file":"GpuBitmapTextPipe.mjs","sources":["../../../src/scene/text-bitmap/GpuBitmapTextPipe.ts"],"sourcesContent":["import { ExtensionType } from '../../extensions/Extensions';\nimport { SdfShader } from '../text/sdfShader/SdfShader';\nimport { AbstractBitmapTextPipe } from './AbstractBitmapTextPipe';\n\n/** @internal */\nexport class BitmapTextPipe extends AbstractBitmapTextPipe\n{\n    /** @ignore */\n    public static extension: { type: ExtensionType[]; name: 'bitmapText' } = {\n        type: [\n            ExtensionType.WebGLPipes,\n            ExtensionType.WebGPUPipes,\n        ],\n        name: 'bitmapText',\n    } as const;\n\n    protected getSdfShader(): SdfShader | null\n    {\n        return new SdfShader(this._renderer.limits.maxBatchableTextures);\n    }\n}\n"],"names":[],"mappings":";;;;;AAKO,MAAM,uBAAuB,sBAAA,CACpC;AAAA,EAUc,YAAA,GACV;AACI,IAAA,OAAO,IAAI,SAAA,CAAU,IAAA,CAAK,SAAA,CAAU,OAAO,oBAAoB,CAAA;AAAA,EACnE;AACJ;AAAA;AAfa,cAAA,CAGK,SAAA,GAA2D;AAAA,EACrE,IAAA,EAAM;AAAA,IACF,aAAA,CAAc,UAAA;AAAA,IACd,aAAA,CAAc;AAAA,GAClB;AAAA,EACA,IAAA,EAAM;AACV,CAAA;;;;"}