Home

function: uploadBaseTextures


uploadBaseTextures(renderer: PIXI.WebGLRenderer, item: PIXI.DisplayObject): boolean

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

Params:

Name Type Attribute Description
renderer

instance of the webgl renderer

item

Item to check

Returns:

boolean

  {
    "comment": "/**\n * Built-in hook to upload PIXI.Texture objects 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": [
            1081,
            1626
        ],
        "filename": "WebGLPrepare.js",
        "lineno": 40,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\prepare\\webgl",
        "code": {
            "id": "astnode100074566",
            "name": "uploadBaseTextures",
            "type": "FunctionDeclaration",
            "paramnames": [
                "renderer",
                "item"
            ]
        }
    },
    "description": "

Built-in hook to upload PIXI.Texture objects 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": "uploadBaseTextures", "longname": "uploadBaseTextures", "kind": "function", "scope": "global", "___id": "T000002R006933", "___s": true, "filepath": "prepare\\webgl\\WebGLPrepare.js" }