BlendFactor 枚举
混合因子 可参考: http://www.andersriggelsen.dk/glblendfunc.php
索引
ONEZEROSRC_ALPHASRC_COLORDST_ALPHADST_COLORONE_MINUS_SRC_ALPHAONE_MINUS_SRC_COLORONE_MINUS_DST_ALPHAONE_MINUS_DST_COLOR
Details
ONE
全部使用
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:77 |
ZERO
全部不用
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:83 |
SRC_ALPHA
使用源颜色的透明度
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:89 |
SRC_COLOR
使用源颜色
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:95 |
DST_ALPHA
使用目标颜色的透明度
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:101 |
DST_COLOR
使用目标颜色
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:107 |
ONE_MINUS_SRC_ALPHA
减去源颜色的透明度
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:113 |
ONE_MINUS_SRC_COLOR
减去源颜色
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:119 |
ONE_MINUS_DST_ALPHA
减去目标颜色的透明度
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:125 |
ONE_MINUS_DST_COLOR
减去目标颜色
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/value-types/CCTypes.js:131 |