/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/rendering/renderers/shared/state/const.ts
72 строки
1 KB
Zyie
chore: add standard/advanced tags to documentation (#11448)
03 июн 2025, 10:12
Не верифицирован
03 июн 2025, 10:12
7d91234
Код
Авторство
О чём код?
/** * Various blend modes supported by Pixi * @category filters * @standard */ export type BLEND_MODES = 'inherit' | 'normal' | 'add' | 'multiply' | 'screen' | 'darken' | 'lighten' | 'erase' | 'color-dodge' | 'color-burn' | 'linear-burn' | 'linear-dodge' | 'linear-light' | 'hard-light' | 'soft-light' | 'pin-light' | 'difference' | 'exclusion' | 'overlay' // | 'hue' | 'saturation' | 'color' | 'luminosity' | 'normal-npm' | 'add-npm' | 'screen-npm' | 'none' | 'subtract' | 'divide' | 'vivid-light' | 'hard-mix' | 'negation' | 'min' | 'max'; /** * The map of blend modes supported by Pixi * @category rendering * @advanced */ export const BLEND_TO_NPM = { normal: 'normal-npm', add: 'add-npm', screen: 'screen-npm', }; /** * The stencil operation to perform when using the stencil buffer * @category rendering * @advanced */ export enum STENCIL_MODES { DISABLED = 0, RENDERING_MASK_ADD = 1, MASK_ACTIVE = 2, INVERSE_MASK_ACTIVE = 3, RENDERING_MASK_REMOVE = 4, NONE = 5, } /** * The culling mode to use. It can be either `none`, `front` or `back`. * @category rendering * @advanced */ export type CULL_MODES = 'none' | 'back' | 'front';