/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/rendering/renderers/gl/const.ts
33 строки
876 B
Zyie
chore: add standard/advanced tags to documentation (#11448)
03 июн 2025, 10:12
Не верифицирован
03 июн 2025, 10:12
7d91234
Код
Авторство
О чём код?
/** * Constants used by the renderer for clearing the screen or render textures. * @category rendering * @advanced */ export 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 = COLOR | DEPTH, /** Clear the color and stencil buffers. */ COLOR_STENCIL = COLOR | STENCIL, /** Clear the depth and stencil buffers. */ DEPTH_STENCIL = DEPTH | STENCIL, /** Clear the color, depth, and stencil buffers. */ ALL = COLOR | DEPTH | STENCIL, } /** * 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;