Built-in hook to upload PIXI.Graphics to the GPU.
Name | Type | Attribute | Description |
---|---|---|---|
renderer | instance of the webgl renderer |
||
item | Item to check |
{ "comment": "/**\n * Built-in hook to upload PIXI.Graphics to the GPU.\n *\n * @private\n * @param {PIXI.WebGLRenderer} renderer - instance of the webgl renderer\n * @param {PIXI.DisplayObject} item - Item to check\n * @return {boolean} If item was uploaded.\n */", "meta": { "range": [ 1872, 2350 ], "filename": "WebGLPrepare.js", "lineno": 66, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\prepare\\webgl", "code": { "id": "astnode100074600", "name": "uploadGraphics", "type": "FunctionDeclaration", "paramnames": [ "renderer", "item" ] } }, "description": "Built-in hook to upload PIXI.Graphics to the GPU.
", "access": "private", "params": [ { "type": { "names": [ "PIXI.WebGLRenderer" ] }, "description": "instance of the webgl renderer
", "name": "renderer" }, { "type": { "names": [ "PIXI.DisplayObject" ] }, "description": "Item to check
", "name": "item" } ], "returns": [ { "type": { "names": [ "boolean" ] }, "description": "If item was uploaded.
" } ], "name": "uploadGraphics", "longname": "uploadGraphics", "kind": "function", "scope": "global", "___id": "T000002R006934", "___s": true, "filepath": "prepare\\webgl\\WebGLPrepare.js" }