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">
36 lines (35 loc) • 1.18 kB
TypeScript
/**
* 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' | '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 declare const BLEND_TO_NPM: {
normal: string;
add: string;
screen: string;
};
/**
* The stencil operation to perform when using the stencil buffer
* @category rendering
* @advanced
*/
export declare 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';