BlendFactor Enum

Module: cc Parent Module: cc

Enum for blend factor Refer to: http://www.andersriggelsen.dk/glblendfunc.php

Index

  • ONE
  • ZERO
  • SRC_ALPHA
  • SRC_COLOR
  • DST_ALPHA
  • DST_COLOR
  • ONE_MINUS_SRC_ALPHA
  • ONE_MINUS_SRC_COLOR
  • ONE_MINUS_DST_ALPHA
  • ONE_MINUS_DST_COLOR

Details

ONE

All use

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:76
ZERO

Not all

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:82
SRC_ALPHA

Using the source alpha

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:88
SRC_COLOR

Using the source color

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:94
DST_ALPHA

Using the target alpha

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:100
DST_COLOR

Using the target color

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:106
ONE_MINUS_SRC_ALPHA

Minus the source alpha

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:112
ONE_MINUS_SRC_COLOR

Minus the source color

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:118
ONE_MINUS_DST_ALPHA

Minus the target alpha

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:124
ONE_MINUS_DST_COLOR

Minus the target color

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/value-types/CCTypes.js:130

results matching ""

    No results matching ""