Prepares the WebGL renderer to cache the sprite
Name | Type | Attribute | Description |
---|---|---|---|
renderer | the WebGL renderer |
void
{ "comment": "/**\n * Prepares the WebGL renderer to cache the sprite\n *\n * @private\n * @memberof PIXI.DisplayObject#\n * @param {PIXI.WebGLRenderer} renderer - the WebGL renderer\n */", "meta": { "range": [ 4353, 7503 ], "filename": "cacheAsBitmap.js", "lineno": 148, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\extras", "code": { "id": "astnode100053827", "name": "DisplayObject.prototype._initCachedDisplayObject", "type": "FunctionExpression", "value": "_initCachedDisplayObject", "paramnames": [ "renderer" ] }, "vars": { "cacheAlpha": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cacheAlpha", "this.alpha": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#alpha", "bounds": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~bounds", "padding": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~padding", "cachedRenderTarget": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cachedRenderTarget", "stack": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~stack", "renderTexture": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~renderTexture", "m": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~m", "m.tx": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~m.tx", "m.ty": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~m.ty", "this.renderWebGL": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#renderWebGL", "renderer.filterManager.filterStack": "renderer.filterManager.filterStack", "this.updateTransform": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#updateTransform", "this._mask": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#_mask", "this.filterArea": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#filterArea", "cachedSprite": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cachedSprite", "cachedSprite.transform.worldTransform": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cachedSprite.transform.worldTransform", "cachedSprite.anchor.x": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cachedSprite.anchor.x", "cachedSprite.anchor.y": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cachedSprite.anchor.y", "cachedSprite.alpha": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cachedSprite.alpha", "cachedSprite._bounds": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject~cachedSprite._bounds", "this._calculateBounds": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#_calculateBounds", "this.getLocalBounds": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#getLocalBounds", "this._cacheData.sprite": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#_cacheData.sprite", "this.transform._parentID": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#transform._parentID", "this.parent": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#parent", "this.containsPoint": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject#containsPoint" } }, "description": "Prepares the WebGL renderer to cache the sprite
", "access": "private", "memberof": "PIXI.DisplayObject#DisplayObject", "params": [ { "type": { "names": [ "PIXI.WebGLRenderer" ] }, "description": "the WebGL renderer
", "name": "renderer" } ], "name": "_initCachedDisplayObject", "longname": "PIXI.DisplayObject#DisplayObject#_initCachedDisplayObject", "kind": "function", "scope": "instance", "___id": "T000002R005103", "___s": true, "filepath": "extras\\cacheAsBitmap.js" }