Home

function: mapWebGLDrawModesToPixi


mapWebGLDrawModesToPixi(gl: WebGLRenderingContext, object: object): object

Generic Mask Stack data structure.

Params:

Name Type Attribute Description
gl

The current WebGL drawing context

object

The object to map into

Returns:

object

  {
    "comment": "/**\n * Generic Mask Stack data structure.\n *\n * @memberof PIXI\n * @function mapWebGLDrawModesToPixi\n * @private\n * @param {WebGLRenderingContext} gl - The current WebGL drawing context\n * @param {object} [object={}] - The object to map into\n * @return {object} The mapped draw modes.\n */",
    "meta": {
        "range": [
            46,
            333
        ],
        "filename": "mapWebGLDrawModesToPixi.js",
        "lineno": 3,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\utils",
        "code": {}
    },
    "description": "

Generic Mask Stack data structure.

", "memberof": "PIXI", "kind": "function", "name": "mapWebGLDrawModesToPixi", "access": "private", "params": [ { "type": { "names": [ "WebGLRenderingContext" ] }, "description": "

The current WebGL drawing context

", "name": "gl" }, { "type": { "names": [ "object" ] }, "optional": true, "defaultvalue": "{}", "description": "

The object to map into

", "name": "object" } ], "returns": [ { "type": { "names": [ "object" ] }, "description": "

The mapped draw modes.

" } ], "scope": "static", "longname": "PIXI.mapWebGLDrawModesToPixi", "___id": "T000002R002593", "___s": true, "filepath": "core\\renderers\\webgl\\utils\\mapWebGLDrawModesToPixi.js" }