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

30 lines (29 loc) 833 B
/** * Constants used by the renderer for clearing the screen or render textures. * @category rendering * @advanced */ export declare enum CLEAR { /** No clear operation. */ NONE = 0, /** Clear the color buffer. */ COLOR = 16384, /** Clear the stencil buffer. */ STENCIL = 1024, /** Clear the depth buffer. */ DEPTH = 256, /** Clear the color and depth buffers. */ COLOR_DEPTH = 16640, /** Clear the color and stencil buffers. */ COLOR_STENCIL = 17408, /** Clear the depth and stencil buffers. */ DEPTH_STENCIL = 1280, /** Clear the color, depth, and stencil buffers. */ ALL = 17664 } /** * Used for clearing render textures. true is the same as `ALL` false is the same as `NONE` * @category rendering * @advanced */ export type CLEAR_OR_BOOL = CLEAR | boolean;