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