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.67 kB
{"version":3,"file":"const.mjs","sources":["../../../../src/rendering/renderers/gl/const.ts"],"sourcesContent":["/**\n * Constants used by the renderer for clearing the screen or render textures.\n * @category rendering\n * @advanced\n */\nexport enum CLEAR\n{\n /** No clear operation. */\n NONE = 0,\n /** Clear the color buffer. */\n COLOR = 16384,\n /** Clear the stencil buffer. */\n STENCIL = 1024,\n /** Clear the depth buffer. */\n DEPTH = 256,\n\n /** Clear the color and depth buffers. */\n COLOR_DEPTH = COLOR | DEPTH,\n /** Clear the color and stencil buffers. */\n COLOR_STENCIL = COLOR | STENCIL,\n /** Clear the depth and stencil buffers. */\n DEPTH_STENCIL = DEPTH | STENCIL,\n /** Clear the color, depth, and stencil buffers. */\n ALL = COLOR | DEPTH | STENCIL,\n\n}\n\n/**\n * Used for clearing render textures. true is the same as `ALL` false is the same as `NONE`\n * @category rendering\n * @advanced\n */\nexport type CLEAR_OR_BOOL = CLEAR | boolean;\n"],"names":["CLEAR"],"mappings":";AAKY,IAAA,KAAA,qBAAAA,MAAL,KAAA;AAGH,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,UAAO,CAAP,CAAA,GAAA,MAAA,CAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,KAAR,CAAA,GAAA,OAAA,CAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,aAAU,IAAV,CAAA,GAAA,SAAA,CAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAR,CAAA,GAAA,OAAA,CAAA;AAGA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,iBAAc,KAAd,CAAA,GAAA,aAAA,CAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,mBAAgB,KAAhB,CAAA,GAAA,eAAA,CAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,mBAAgB,IAAhB,CAAA,GAAA,eAAA,CAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,SAAM,KAAN,CAAA,GAAA,KAAA,CAAA;AAlBQ,EAAAA,OAAAA,MAAAA,CAAAA;AAAA,CAAA,EAAA,KAAA,IAAA,EAAA;;;;"}