Maps gl blend combinations to WebGL.
| Name | Type | Attribute | Description |
|---|---|---|---|
| gl | The rendering context. |
||
| array | The array to output into. |
{
"comment": "/**\n * Maps gl blend combinations to WebGL.\n *\n * @memberof PIXI\n * @function mapWebGLBlendModesToPixi\n * @private\n * @param {WebGLRenderingContext} gl - The rendering context.\n * @param {string[]} [array=[]] - The array to output into.\n * @return {string[]} Mapped modes.\n */",
"meta": {
"range": [
47,
323
],
"filename": "mapWebGLBlendModesToPixi.js",
"lineno": 3,
"path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\utils",
"code": {}
},
"description": "Maps gl blend combinations to WebGL.
",
"memberof": "PIXI",
"kind": "function",
"name": "mapWebGLBlendModesToPixi",
"access": "private",
"params": [
{
"type": {
"names": [
"WebGLRenderingContext"
]
},
"description": "The rendering context.
",
"name": "gl"
},
{
"type": {
"names": [
"Array."
]
},
"optional": true,
"defaultvalue": "[]",
"description": "The array to output into.
",
"name": "array"
}
],
"returns": [
{
"type": {
"names": [
"Array."
]
},
"description": "Mapped modes.
"
}
],
"scope": "static",
"longname": "PIXI.mapWebGLBlendModesToPixi",
"___id": "T000002R002573",
"___s": true,
"filepath": "core\\renderers\\webgl\\utils\\mapWebGLBlendModesToPixi.js"
}