Skip to content

Instantly share code, notes, and snippets.

@ryonakae
Last active January 5, 2021 10:13
Show Gist options
  • Save ryonakae/d7fe5f1480972421f91fce806d6f33ff to your computer and use it in GitHub Desktop.
Save ryonakae/d7fe5f1480972421f91fce806d6f33ff to your computer and use it in GitHub Desktop.
PixiJSのブレンドモード一覧 https://pixijs.download/dev/docs/PIXI.html#BLEND_MODES
blendModes = {
/* eslint-disable @typescript-eslint/naming-convention */
ADD: PIXI.BLEND_MODES.ADD,
ADD_NPM: PIXI.BLEND_MODES.ADD_NPM,
COLOR: PIXI.BLEND_MODES.COLOR,
COLOR_BURN: PIXI.BLEND_MODES.COLOR_BURN,
COLOR_DODGE: PIXI.BLEND_MODES.COLOR_DODGE,
DARKEN: PIXI.BLEND_MODES.DARKEN,
DIFFERENCE: PIXI.BLEND_MODES.DIFFERENCE,
DST_ATOP: PIXI.BLEND_MODES.DST_ATOP,
DST_IN: PIXI.BLEND_MODES.DST_IN,
DST_OUT: PIXI.BLEND_MODES.DST_OUT,
DST_OVER: PIXI.BLEND_MODES.DST_OVER,
ERASE: PIXI.BLEND_MODES.ERASE,
EXCLUSION: PIXI.BLEND_MODES.EXCLUSION,
HARD_LIGHT: PIXI.BLEND_MODES.HARD_LIGHT,
HUE: PIXI.BLEND_MODES.HUE,
LIGHTEN: PIXI.BLEND_MODES.LIGHTEN,
LUMINOSITY: PIXI.BLEND_MODES.LUMINOSITY,
MULTIPLY: PIXI.BLEND_MODES.MULTIPLY,
NONE: PIXI.BLEND_MODES.NONE,
NORMAL: PIXI.BLEND_MODES.NORMAL,
NORMAL_NPM: PIXI.BLEND_MODES.NORMAL_NPM,
OVERLAY: PIXI.BLEND_MODES.OVERLAY,
SATURATION: PIXI.BLEND_MODES.SATURATION,
SCREEN: PIXI.BLEND_MODES.SCREEN,
SCREEN_NPM: PIXI.BLEND_MODES.SCREEN_NPM,
SOFT_LIGHT: PIXI.BLEND_MODES.SOFT_LIGHT,
SRC_ATOP: PIXI.BLEND_MODES.SRC_ATOP,
SRC_IN: PIXI.BLEND_MODES.SRC_IN,
SRC_OUT: PIXI.BLEND_MODES.SRC_OUT,
SRC_OVER: PIXI.BLEND_MODES.SRC_OVER,
SUBTRACT: PIXI.BLEND_MODES.SUBTRACT,
XOR: PIXI.BLEND_MODES.XOR
/* eslint-enable @typescript-eslint/naming-convention */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment