Built-in hook to find textures from objects.
Name | Type | Attribute | Description |
---|---|---|---|
item | Display object to check |
||
queue | Collection of items to upload |
{ "comment": "/**\n * Built-in hook to find textures from objects.\n *\n * @private\n * @param {PIXI.DisplayObject} item - Display object to check\n * @param {Array<*>} queue - Collection of items to upload\n * @return {boolean} if a PIXI.Texture object was found.\n */", "meta": { "range": [ 10229, 10531 ], "filename": "BasePrepare.js", "lineno": 389, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\prepare", "code": { "id": "astnode100073965", "name": "findTexture", "type": "FunctionDeclaration", "paramnames": [ "item", "queue" ] }, "vars": { "texture": "findTexture~texture" } }, "description": "Built-in hook to find textures from objects.
", "access": "private", "params": [ { "type": { "names": [ "PIXI.DisplayObject" ] }, "description": "Display object to check
", "name": "item" }, { "type": { "names": [ "Array.<*>" ] }, "description": "Collection of items to upload
", "name": "queue" } ], "returns": [ { "type": { "names": [ "boolean" ] }, "description": "if a PIXI.Texture object was found.
" } ], "name": "findTexture", "longname": "findTexture", "kind": "function", "scope": "global", "___id": "T000002R006883", "___s": true, "filepath": "prepare\\BasePrepare.js" }