Built-in hook to find BaseTextures from Sprites.
| Name | Type | Attribute | Description |
|---|---|---|---|
| item | Display object to check |
||
| queue | Collection of items to upload |
{
"comment": "/**\n * Built-in hook to find BaseTextures from Sprites.\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": [
9704,
9978
],
"filename": "BasePrepare.js",
"lineno": 365,
"path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\prepare",
"code": {
"id": "astnode100073933",
"name": "findBaseTexture",
"type": "FunctionDeclaration",
"paramnames": [
"item",
"queue"
]
}
},
"description": "Built-in hook to find BaseTextures from Sprites.
",
"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": "findBaseTexture",
"longname": "findBaseTexture",
"kind": "function",
"scope": "global",
"___id": "T000002R006882",
"___s": true,
"filepath": "prepare\\BasePrepare.js"
}