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">

39 lines (36 loc) 776 B
'use strict'; "use strict"; const scaleModeToGlFilter = { linear: 9729, nearest: 9728 }; const mipmapScaleModeToGlFilter = { linear: { linear: 9987, nearest: 9985 }, nearest: { linear: 9986, nearest: 9984 } }; const wrapModeToGlAddress = { "clamp-to-edge": 33071, repeat: 10497, "mirror-repeat": 33648 }; const compareModeToGlCompare = { never: 512, less: 513, equal: 514, "less-equal": 515, greater: 516, "not-equal": 517, "greater-equal": 518, always: 519 }; exports.compareModeToGlCompare = compareModeToGlCompare; exports.mipmapScaleModeToGlFilter = mipmapScaleModeToGlFilter; exports.scaleModeToGlFilter = scaleModeToGlFilter; exports.wrapModeToGlAddress = wrapModeToGlAddress; //# sourceMappingURL=pixiToGlMaps.js.map