UNPKG

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.43 kB
{"version":3,"file":"pixiToGlMaps.mjs","sources":["../../../../../../src/rendering/renderers/gl/texture/utils/pixiToGlMaps.ts"],"sourcesContent":["/** @internal */\nexport const scaleModeToGlFilter = {\n linear: 9729,\n nearest: 9728,\n};\n\n/** @internal */\nexport const mipmapScaleModeToGlFilter = {\n linear: {\n linear: 9987,\n nearest: 9985,\n },\n nearest: {\n linear: 9986,\n nearest: 9984,\n }\n};\n\n/** @internal */\nexport const wrapModeToGlAddress = {\n 'clamp-to-edge': 33071,\n repeat: 10497,\n 'mirror-repeat': 33648,\n};\n\n/** @internal */\nexport const compareModeToGlCompare = {\n never: 512,\n less: 513,\n equal: 514,\n 'less-equal': 515,\n greater: 516,\n 'not-equal': 517,\n 'greater-equal': 518,\n always: 519,\n};\n\n"],"names":[],"mappings":";AACO,MAAM,mBAAA,GAAsB;AAAA,EAC/B,MAAA,EAAQ,IAAA;AAAA,EACR,OAAA,EAAS;AACb;AAGO,MAAM,yBAAA,GAA4B;AAAA,EACrC,MAAA,EAAQ;AAAA,IACJ,MAAA,EAAQ,IAAA;AAAA,IACR,OAAA,EAAS;AAAA,GACb;AAAA,EACA,OAAA,EAAS;AAAA,IACL,MAAA,EAAQ,IAAA;AAAA,IACR,OAAA,EAAS;AAAA;AAEjB;AAGO,MAAM,mBAAA,GAAsB;AAAA,EAC/B,eAAA,EAAiB,KAAA;AAAA,EACjB,MAAA,EAAQ,KAAA;AAAA,EACR,eAAA,EAAiB;AACrB;AAGO,MAAM,sBAAA,GAAyB;AAAA,EAClC,KAAA,EAAO,GAAA;AAAA,EACP,IAAA,EAAM,GAAA;AAAA,EACN,KAAA,EAAO,GAAA;AAAA,EACP,YAAA,EAAc,GAAA;AAAA,EACd,OAAA,EAAS,GAAA;AAAA,EACT,WAAA,EAAa,GAAA;AAAA,EACb,eAAA,EAAiB,GAAA;AAAA,EACjB,MAAA,EAAQ;AACZ;;;;"}