Home

function: uploadBaseTextures


uploadBaseTextures(prepare: *, item: *): boolean

Built-in hook to upload PIXI.Texture objects to the GPU.

Params:

Name Type Attribute Description
prepare

Instance of CanvasPrepare

item

Item to check

Returns:

boolean

  {
    "comment": "/**\n * Built-in hook to upload PIXI.Texture objects to the GPU.\n *\n * @private\n * @param {*} prepare - Instance of CanvasPrepare\n * @param {*} item - Item to check\n * @return {boolean} If item was uploaded.\n */",
    "meta": {
        "range": [
            1791,
            2747
        ],
        "filename": "CanvasPrepare.js",
        "lineno": 72,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\prepare\\canvas",
        "code": {
            "id": "astnode100074284",
            "name": "uploadBaseTextures",
            "type": "FunctionDeclaration",
            "paramnames": [
                "prepare",
                "item"
            ]
        },
        "vars": {
            "image": "uploadBaseTextures~image",
            "imageWidth": "uploadBaseTextures~imageWidth",
            "imageHeight": "uploadBaseTextures~imageHeight"
        }
    },
    "description": "

Built-in hook to upload PIXI.Texture objects to the GPU.

", "access": "private", "params": [ { "type": { "names": [ "*" ] }, "description": "

Instance of CanvasPrepare

", "name": "prepare" }, { "type": { "names": [ "*" ] }, "description": "

Item to check

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

If item was uploaded.

" } ], "name": "uploadBaseTextures", "longname": "uploadBaseTextures", "kind": "function", "scope": "global", "___id": "T000002R006903", "___s": true, "filepath": "prepare\\canvas\\CanvasPrepare.js" }