Home

class: FilterManager


Extends:

WebGLManager → FilterManager

Methods summary


Public methods
public pushFilter(target: PIXI.DisplayObject, filters: Array.): void
public popFilter(): void
public applyFilter(filter: PIXI.Filter, input: PIXI.RenderTarget, output: PIXI.RenderTarget, clear: boolean): void
public syncUniforms(shader: GLShader, filter: PIXI.Filter): void
public getRenderTarget(clear: boolean, resolution: number): PIXI.RenderTarget
public returnRenderTarget(renderTarget: PIXI.RenderTarget): void
public calculateScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix
public calculateNormalizedScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix
public calculateSpriteMatrix(outputMatrix: PIXI.Matrix, sprite: PIXI.Sprite): PIXI.Matrix
public destroy(): void
private getPotRenderTarget(gl: WebGLRenderingContext, minWidth: number, minHeight: number, resolution: number): PIXI.RenderTarget
public emptyPool(): void
public freePotRenderTarget(renderTarget: PIXI.RenderTarget): void
public pushFilter(target: PIXI.DisplayObject, filters: Array.): void
public popFilter(): void
public applyFilter(filter: PIXI.Filter, input: PIXI.RenderTarget, output: PIXI.RenderTarget, clear: boolean): void
public syncUniforms(shader: GLShader, filter: PIXI.Filter): void
public getRenderTarget(clear: boolean, resolution: number): PIXI.RenderTarget
public returnRenderTarget(renderTarget: PIXI.RenderTarget): void
public calculateScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix
public calculateNormalizedScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix
public calculateSpriteMatrix(outputMatrix: PIXI.Matrix, sprite: PIXI.Sprite): PIXI.Matrix
public destroy(): void
private getPotRenderTarget(gl: WebGLRenderingContext, minWidth: number, minHeight: number, resolution: number): PIXI.RenderTarget
public emptyPool(): void
public freePotRenderTarget(renderTarget: PIXI.RenderTarget): void
public onContextChange(): void

Properties


Name Type Attribute Description
renderer PIXI.WebGLRenderer public

The renderer this manager works for.

Methods


pushFilter(target: PIXI.DisplayObject, filters: Array.): void

Adds a new filter to the manager.

Params:

Name Type Attribute Description
target

The target of the filter to render.

filters

The filters to apply.

Returns:

void


popFilter(): void

Pops off the filter and applies it.

Returns:

void


applyFilter(filter: PIXI.Filter, input: PIXI.RenderTarget, output: PIXI.RenderTarget, clear: boolean): void

Draws a filter.

Params:

Name Type Attribute Description
filter

The filter to draw.

input

The input render target.

output

The target to output to.

clear

Should the output be cleared before rendering to it

Returns:

void


syncUniforms(shader: GLShader, filter: PIXI.Filter): void

Uploads the uniforms of the filter.

Params:

Name Type Attribute Description
shader

The underlying gl shader.

filter

The filter we are synchronizing.

Returns:

void


getRenderTarget(clear: boolean, resolution: number): PIXI.RenderTarget

Gets a render target from the pool, or creates a new one.

Params:

Name Type Attribute Description
clear

Should we clear the render texture when we get it?

resolution

The resolution of the target.

Returns:

PIXI.RenderTarget


returnRenderTarget(renderTarget: PIXI.RenderTarget): void

Returns a render target to the pool.

Params:

Name Type Attribute Description
renderTarget

The render target to return.

Returns:

void


calculateScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix

Calculates the mapped matrix.

TODO playing around here.. this is temporary - (will end up in the shader)
this returns a matrix that will normalise map filter cords in the filter to screen space

Params:

Name Type Attribute Description
outputMatrix

the matrix to output to.

Returns:

PIXI.Matrix


calculateNormalizedScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix

Multiply vTextureCoord to this matrix to achieve (0,0,1,1) for filterArea

Params:

Name Type Attribute Description
outputMatrix

The matrix to output to.

Returns:

PIXI.Matrix


calculateSpriteMatrix(outputMatrix: PIXI.Matrix, sprite: PIXI.Sprite): PIXI.Matrix

This will map the filter coord so that a texture can be used based on the transform of a sprite

Params:

Name Type Attribute Description
outputMatrix

The matrix to output to.

sprite

The sprite to map to.

Returns:

PIXI.Matrix


destroy(): void

Destroys this Filter Manager.

Returns:

void


getPotRenderTarget(gl: WebGLRenderingContext, minWidth: number, minHeight: number, resolution: number): PIXI.RenderTarget

Gets a Power-of-Two render texture.

TODO move to a seperate class could be on renderer?
also - could cause issue with multiple contexts?

Params:

Name Type Attribute Description
gl

The webgl rendering context

minWidth

The minimum width of the render target.

minHeight

The minimum height of the render target.

resolution

The resolution of the render target.

Returns:

PIXI.RenderTarget


emptyPool(): void

Empties the texture pool.

Returns:

void


freePotRenderTarget(renderTarget: PIXI.RenderTarget): void

Frees a render target back into the pool.

Params:

Name Type Attribute Description
renderTarget

The renderTarget to free

Returns:

void


pushFilter(target: PIXI.DisplayObject, filters: Array.): void

Adds a new filter to the manager.

Params:

Name Type Attribute Description
target

The target of the filter to render.

filters

The filters to apply.

Returns:

void


popFilter(): void

Pops off the filter and applies it.

Returns:

void


applyFilter(filter: PIXI.Filter, input: PIXI.RenderTarget, output: PIXI.RenderTarget, clear: boolean): void

Draws a filter.

Params:

Name Type Attribute Description
filter

The filter to draw.

input

The input render target.

output

The target to output to.

clear

Should the output be cleared before rendering to it

Returns:

void


syncUniforms(shader: GLShader, filter: PIXI.Filter): void

Uploads the uniforms of the filter.

Params:

Name Type Attribute Description
shader

The underlying gl shader.

filter

The filter we are synchronizing.

Returns:

void


getRenderTarget(clear: boolean, resolution: number): PIXI.RenderTarget

Gets a render target from the pool, or creates a new one.

Params:

Name Type Attribute Description
clear

Should we clear the render texture when we get it?

resolution

The resolution of the target.

Returns:

PIXI.RenderTarget


returnRenderTarget(renderTarget: PIXI.RenderTarget): void

Returns a render target to the pool.

Params:

Name Type Attribute Description
renderTarget

The render target to return.

Returns:

void


calculateScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix

Calculates the mapped matrix.

TODO playing around here.. this is temporary - (will end up in the shader)
this returns a matrix that will normalise map filter cords in the filter to screen space

Params:

Name Type Attribute Description
outputMatrix

the matrix to output to.

Returns:

PIXI.Matrix


calculateNormalizedScreenSpaceMatrix(outputMatrix: PIXI.Matrix): PIXI.Matrix

Multiply vTextureCoord to this matrix to achieve (0,0,1,1) for filterArea

Params:

Name Type Attribute Description
outputMatrix

The matrix to output to.

Returns:

PIXI.Matrix


calculateSpriteMatrix(outputMatrix: PIXI.Matrix, sprite: PIXI.Sprite): PIXI.Matrix

This will map the filter coord so that a texture can be used based on the transform of a sprite

Params:

Name Type Attribute Description
outputMatrix

The matrix to output to.

sprite

The sprite to map to.

Returns:

PIXI.Matrix


destroy(): void

Destroys this Filter Manager.

Returns:

void


getPotRenderTarget(gl: WebGLRenderingContext, minWidth: number, minHeight: number, resolution: number): PIXI.RenderTarget

Gets a Power-of-Two render texture.

TODO move to a seperate class could be on renderer?
also - could cause issue with multiple contexts?

Params:

Name Type Attribute Description
gl

The webgl rendering context

minWidth

The minimum width of the render target.

minHeight

The minimum height of the render target.

resolution

The resolution of the render target.

Returns:

PIXI.RenderTarget


emptyPool(): void

Empties the texture pool.

Returns:

void


freePotRenderTarget(renderTarget: PIXI.RenderTarget): void

Frees a render target back into the pool.

Params:

Name Type Attribute Description
renderTarget

The renderTarget to free

Returns:

void


onContextChange(): void

Generic method called when there is a WebGL context change.

Returns:

void


  {
    "comment": "/**\n * @class\n * @memberof PIXI\n * @extends PIXI.WebGLManager\n */",
    "meta": {
        "range": [
            725,
            18551
        ],
        "filename": "FilterManager.js",
        "lineno": 36,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers",
        "code": {
            "id": "astnode100024208",
            "name": "FilterManager",
            "type": "ClassDeclaration",
            "paramnames": [
                "renderer"
            ]
        }
    },
    "kind": "class",
    "memberof": "PIXI",
    "augments": [
        "PIXI.WebGLManager"
    ],
    "name": "FilterManager",
    "longname": "PIXI.FilterManager",
    "scope": "static",
    "params": [
        {
            "type": {
                "names": [
                    "PIXI.WebGLRenderer"
                ]
            },
            "description": "

The renderer this manager works for.

", "name": "renderer" } ], "___id": "T000002R002302", "___s": true, "$methods": [ { "comment": "/**\n * Adds a new filter to the manager.\n *\n * @param {PIXI.DisplayObject} target - The target of the filter to render.\n * @param {PIXI.Filter[]} filters - The filters to apply.\n */", "meta": { "range": [ 1394, 4297 ], "filename": "FilterManager.js", "lineno": 62, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100024264", "name": "FilterManager#pushFilter", "type": "MethodDefinition", "paramnames": [ "target", "filters" ] }, "vars": { "": null } }, "description": "

Adds a new filter to the manager.

", "params": [ { "type": { "names": [ "PIXI.DisplayObject" ] }, "description": "

The target of the filter to render.

", "name": "target" }, { "type": { "names": [ "Array." ] }, "description": "

The filters to apply.

", "name": "filters" } ], "name": "pushFilter", "longname": "PIXI.FilterManager#pushFilter", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002309", "___s": true, "skip": true, "slug": "PIXI.FilterManagerpushFilter", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Pops off the filter and applies it.\n *\n */", "meta": { "range": [ 4369, 6004 ], "filename": "FilterManager.js", "lineno": 146, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100024585", "name": "FilterManager#popFilter", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Pops off the filter and applies it.

", "name": "popFilter", "longname": "PIXI.FilterManager#popFilter", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "params": [], "___id": "T000002R002341", "___s": true, "skip": true, "slug": "PIXI.FilterManagerpopFilter", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Draws a filter.\n *\n * @param {PIXI.Filter} filter - The filter to draw.\n * @param {PIXI.RenderTarget} input - The input render target.\n * @param {PIXI.RenderTarget} output - The target to output to.\n * @param {boolean} clear - Should the output be cleared before rendering to it\n */", "meta": { "range": [ 6332, 8523 ], "filename": "FilterManager.js", "lineno": 211, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100024806", "name": "FilterManager#applyFilter", "type": "MethodDefinition", "paramnames": [ "filter", "input", "output", "clear" ] }, "vars": { "": null } }, "description": "

Draws a filter.

", "params": [ { "type": { "names": [ "PIXI.Filter" ] }, "description": "

The filter to draw.

", "name": "filter" }, { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The input render target.

", "name": "input" }, { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The target to output to.

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

Should the output be cleared before rendering to it

", "name": "clear" } ], "name": "applyFilter", "longname": "PIXI.FilterManager#applyFilter", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002354", "___s": true, "skip": true, "slug": "PIXI.FilterManagerapplyFilter", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Uploads the uniforms of the filter.\n *\n * @param {GLShader} shader - The underlying gl shader.\n * @param {PIXI.Filter} filter - The filter we are synchronizing.\n */", "meta": { "range": [ 8725, 12645 ], "filename": "FilterManager.js", "lineno": 287, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025091", "name": "FilterManager#syncUniforms", "type": "MethodDefinition", "paramnames": [ "shader", "filter" ] }, "vars": { "": null } }, "description": "

Uploads the uniforms of the filter.

", "params": [ { "type": { "names": [ "GLShader" ] }, "description": "

The underlying gl shader.

", "name": "shader" }, { "type": { "names": [ "PIXI.Filter" ] }, "description": "

The filter we are synchronizing.

", "name": "filter" } ], "name": "syncUniforms", "longname": "PIXI.FilterManager#syncUniforms", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002366", "___s": true, "skip": true, "slug": "PIXI.FilterManagersyncUniforms", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Gets a render target from the pool, or creates a new one.\n *\n * @param {boolean} clear - Should we clear the render texture when we get it?\n * @param {number} resolution - The resolution of the target.\n * @return {PIXI.RenderTarget} The new render target\n */", "meta": { "range": [ 12945, 13419 ], "filename": "FilterManager.js", "lineno": 406, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025547", "name": "FilterManager#getRenderTarget", "type": "MethodDefinition", "paramnames": [ "clear", "resolution" ] }, "vars": { "": null } }, "description": "

Gets a render target from the pool, or creates a new one.

", "params": [ { "type": { "names": [ "boolean" ] }, "description": "

Should we clear the render texture when we get it?

", "name": "clear" }, { "type": { "names": [ "number" ] }, "description": "

The resolution of the target.

", "name": "resolution" } ], "returns": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The new render target

" } ], "name": "getRenderTarget", "longname": "PIXI.FilterManager#getRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002399", "___s": true, "skip": true, "slug": "PIXI.FilterManagergetRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Returns a render target to the pool.\n *\n * @param {PIXI.RenderTarget} renderTarget - The render target to return.\n */", "meta": { "range": [ 13570, 13662 ], "filename": "FilterManager.js", "lineno": 426, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025607", "name": "FilterManager#returnRenderTarget", "type": "MethodDefinition", "paramnames": [ "renderTarget" ] }, "vars": { "": null } }, "description": "

Returns a render target to the pool.

", "params": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The render target to return.

", "name": "renderTarget" } ], "name": "returnRenderTarget", "longname": "PIXI.FilterManager#returnRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002402", "___s": true, "skip": true, "slug": "PIXI.FilterManagerreturnRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Calculates the mapped matrix.\n *\n * TODO playing around here.. this is temporary - (will end up in the shader)\n * this returns a matrix that will normalise map filter cords in the filter to screen space\n *\n * @param {PIXI.Matrix} outputMatrix - the matrix to output to.\n * @return {PIXI.Matrix} The mapped matrix.\n */", "meta": { "range": [ 14029, 14335 ], "filename": "FilterManager.js", "lineno": 440, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025618", "name": "FilterManager#calculateScreenSpaceMatrix", "type": "MethodDefinition", "paramnames": [ "outputMatrix" ] }, "vars": { "": null } }, "description": "

Calculates the mapped matrix.

\n

TODO playing around here.. this is temporary - (will end up in the shader)
this returns a matrix that will normalise map filter cords in the filter to screen space

", "params": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

the matrix to output to.

", "name": "outputMatrix" } ], "returns": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The mapped matrix.

" } ], "name": "calculateScreenSpaceMatrix", "longname": "PIXI.FilterManager#calculateScreenSpaceMatrix", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002403", "___s": true, "skip": true, "slug": "PIXI.FilterManagercalculateScreenSpaceMatrix", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Multiply vTextureCoord to this matrix to achieve (0,0,1,1) for filterArea\n *\n * @param {PIXI.Matrix} outputMatrix - The matrix to output to.\n * @return {PIXI.Matrix} The mapped matrix.\n */", "meta": { "range": [ 14561, 14930 ], "filename": "FilterManager.js", "lineno": 457, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025651", "name": "FilterManager#calculateNormalizedScreenSpaceMatrix", "type": "MethodDefinition", "paramnames": [ "outputMatrix" ] }, "vars": { "": null } }, "description": "

Multiply vTextureCoord to this matrix to achieve (0,0,1,1) for filterArea

", "params": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The matrix to output to.

", "name": "outputMatrix" } ], "returns": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The mapped matrix.

" } ], "name": "calculateNormalizedScreenSpaceMatrix", "longname": "PIXI.FilterManager#calculateNormalizedScreenSpaceMatrix", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002405", "___s": true, "skip": true, "slug": "PIXI.FilterManagercalculateNormalizedScreenSpaceMatrix", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * This will map the filter coord so that a texture can be used based on the transform of a sprite\n *\n * @param {PIXI.Matrix} outputMatrix - The matrix to output to.\n * @param {PIXI.Sprite} sprite - The sprite to map to.\n * @return {PIXI.Matrix} The mapped matrix.\n */", "meta": { "range": [ 15237, 15561 ], "filename": "FilterManager.js", "lineno": 476, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025687", "name": "FilterManager#calculateSpriteMatrix", "type": "MethodDefinition", "paramnames": [ "outputMatrix", "sprite" ] }, "vars": { "": null } }, "description": "

This will map the filter coord so that a texture can be used based on the transform of a sprite

", "params": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The matrix to output to.

", "name": "outputMatrix" }, { "type": { "names": [ "PIXI.Sprite" ] }, "description": "

The sprite to map to.

", "name": "sprite" } ], "returns": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The mapped matrix.

" } ], "name": "calculateSpriteMatrix", "longname": "PIXI.FilterManager#calculateSpriteMatrix", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002407", "___s": true, "skip": true, "slug": "PIXI.FilterManagercalculateSpriteMatrix", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Destroys this Filter Manager.\n *\n */", "meta": { "range": [ 15627, 15705 ], "filename": "FilterManager.js", "lineno": 492, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025722", "name": "FilterManager#destroy", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Destroys this Filter Manager.

", "name": "destroy", "longname": "PIXI.FilterManager#destroy", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "params": [], "overrides": "PIXI.WebGLManager#destroy", "___id": "T000002R002409", "___s": true, "skip": true, "slug": "PIXI.FilterManagerdestroy", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Gets a Power-of-Two render texture.\n *\n * TODO move to a seperate class could be on renderer?\n * also - could cause issue with multiple contexts?\n *\n * @private\n * @param {WebGLRenderingContext} gl - The webgl rendering context\n * @param {number} minWidth - The minimum width of the render target.\n * @param {number} minHeight - The minimum height of the render target.\n * @param {number} resolution - The resolution of the render target.\n * @return {PIXI.RenderTarget} The new render target.\n */", "meta": { "range": [ 16267, 17678 ], "filename": "FilterManager.js", "lineno": 511, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025737", "name": "FilterManager#getPotRenderTarget", "type": "MethodDefinition", "paramnames": [ "gl", "minWidth", "minHeight", "resolution" ] }, "vars": { "": null } }, "description": "

Gets a Power-of-Two render texture.

\n

TODO move to a seperate class could be on renderer?
also - could cause issue with multiple contexts?

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

The webgl rendering context

", "name": "gl" }, { "type": { "names": [ "number" ] }, "description": "

The minimum width of the render target.

", "name": "minWidth" }, { "type": { "names": [ "number" ] }, "description": "

The minimum height of the render target.

", "name": "minHeight" }, { "type": { "names": [ "number" ] }, "description": "

The resolution of the render target.

", "name": "resolution" } ], "returns": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The new render target.

" } ], "name": "getPotRenderTarget", "longname": "PIXI.FilterManager#getPotRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002411", "___s": true, "skip": true, "slug": "PIXI.FilterManagergetPotRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Empties the texture pool.\n *\n */", "meta": { "range": [ 17740, 18082 ], "filename": "FilterManager.js", "lineno": 554, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025895", "name": "FilterManager#emptyPool", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Empties the texture pool.

", "name": "emptyPool", "longname": "PIXI.FilterManager#emptyPool", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "params": [], "___id": "T000002R002424", "___s": true, "skip": true, "slug": "PIXI.FilterManageremptyPool", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Frees a render target back into the pool.\n *\n * @param {PIXI.RenderTarget} renderTarget - The renderTarget to free\n */", "meta": { "range": [ 18234, 18549 ], "filename": "FilterManager.js", "lineno": 577, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100025945", "name": "FilterManager#freePotRenderTarget", "type": "MethodDefinition", "paramnames": [ "renderTarget" ] }, "vars": { "": null } }, "description": "

Frees a render target back into the pool.

", "params": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The renderTarget to free

", "name": "renderTarget" } ], "name": "freePotRenderTarget", "longname": "PIXI.FilterManager#freePotRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R002429", "___s": true, "skip": true, "slug": "PIXI.FilterManagerfreePotRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Adds a new filter to the manager.\n *\n * @param {PIXI.DisplayObject} target - The target of the filter to render.\n * @param {PIXI.Filter[]} filters - The filters to apply.\n */", "meta": { "range": [ 1394, 4297 ], "filename": "FilterManager.js", "lineno": 62, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100098943", "name": "FilterManager#pushFilter", "type": "MethodDefinition", "paramnames": [ "target", "filters" ] }, "vars": { "": null } }, "description": "

Adds a new filter to the manager.

", "params": [ { "type": { "names": [ "PIXI.DisplayObject" ] }, "description": "

The target of the filter to render.

", "name": "target" }, { "type": { "names": [ "Array." ] }, "description": "

The filters to apply.

", "name": "filters" } ], "name": "pushFilter", "longname": "PIXI.FilterManager#pushFilter", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009243", "___s": true, "skip": true, "slug": "PIXI.FilterManagerpushFilter", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Pops off the filter and applies it.\n *\n */", "meta": { "range": [ 4369, 6004 ], "filename": "FilterManager.js", "lineno": 146, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100099264", "name": "FilterManager#popFilter", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Pops off the filter and applies it.

", "name": "popFilter", "longname": "PIXI.FilterManager#popFilter", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "params": [], "___id": "T000002R009275", "___s": true, "skip": true, "slug": "PIXI.FilterManagerpopFilter", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Draws a filter.\n *\n * @param {PIXI.Filter} filter - The filter to draw.\n * @param {PIXI.RenderTarget} input - The input render target.\n * @param {PIXI.RenderTarget} output - The target to output to.\n * @param {boolean} clear - Should the output be cleared before rendering to it\n */", "meta": { "range": [ 6332, 8523 ], "filename": "FilterManager.js", "lineno": 211, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100099485", "name": "FilterManager#applyFilter", "type": "MethodDefinition", "paramnames": [ "filter", "input", "output", "clear" ] }, "vars": { "": null } }, "description": "

Draws a filter.

", "params": [ { "type": { "names": [ "PIXI.Filter" ] }, "description": "

The filter to draw.

", "name": "filter" }, { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The input render target.

", "name": "input" }, { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The target to output to.

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

Should the output be cleared before rendering to it

", "name": "clear" } ], "name": "applyFilter", "longname": "PIXI.FilterManager#applyFilter", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009288", "___s": true, "skip": true, "slug": "PIXI.FilterManagerapplyFilter", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Uploads the uniforms of the filter.\n *\n * @param {GLShader} shader - The underlying gl shader.\n * @param {PIXI.Filter} filter - The filter we are synchronizing.\n */", "meta": { "range": [ 8725, 12645 ], "filename": "FilterManager.js", "lineno": 287, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100099770", "name": "FilterManager#syncUniforms", "type": "MethodDefinition", "paramnames": [ "shader", "filter" ] }, "vars": { "": null } }, "description": "

Uploads the uniforms of the filter.

", "params": [ { "type": { "names": [ "GLShader" ] }, "description": "

The underlying gl shader.

", "name": "shader" }, { "type": { "names": [ "PIXI.Filter" ] }, "description": "

The filter we are synchronizing.

", "name": "filter" } ], "name": "syncUniforms", "longname": "PIXI.FilterManager#syncUniforms", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009300", "___s": true, "skip": true, "slug": "PIXI.FilterManagersyncUniforms", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Gets a render target from the pool, or creates a new one.\n *\n * @param {boolean} clear - Should we clear the render texture when we get it?\n * @param {number} resolution - The resolution of the target.\n * @return {PIXI.RenderTarget} The new render target\n */", "meta": { "range": [ 12945, 13419 ], "filename": "FilterManager.js", "lineno": 406, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100226", "name": "FilterManager#getRenderTarget", "type": "MethodDefinition", "paramnames": [ "clear", "resolution" ] }, "vars": { "": null } }, "description": "

Gets a render target from the pool, or creates a new one.

", "params": [ { "type": { "names": [ "boolean" ] }, "description": "

Should we clear the render texture when we get it?

", "name": "clear" }, { "type": { "names": [ "number" ] }, "description": "

The resolution of the target.

", "name": "resolution" } ], "returns": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The new render target

" } ], "name": "getRenderTarget", "longname": "PIXI.FilterManager#getRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009333", "___s": true, "skip": true, "slug": "PIXI.FilterManagergetRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Returns a render target to the pool.\n *\n * @param {PIXI.RenderTarget} renderTarget - The render target to return.\n */", "meta": { "range": [ 13570, 13662 ], "filename": "FilterManager.js", "lineno": 426, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100286", "name": "FilterManager#returnRenderTarget", "type": "MethodDefinition", "paramnames": [ "renderTarget" ] }, "vars": { "": null } }, "description": "

Returns a render target to the pool.

", "params": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The render target to return.

", "name": "renderTarget" } ], "name": "returnRenderTarget", "longname": "PIXI.FilterManager#returnRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009336", "___s": true, "skip": true, "slug": "PIXI.FilterManagerreturnRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Calculates the mapped matrix.\n *\n * TODO playing around here.. this is temporary - (will end up in the shader)\n * this returns a matrix that will normalise map filter cords in the filter to screen space\n *\n * @param {PIXI.Matrix} outputMatrix - the matrix to output to.\n * @return {PIXI.Matrix} The mapped matrix.\n */", "meta": { "range": [ 14029, 14335 ], "filename": "FilterManager.js", "lineno": 440, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100297", "name": "FilterManager#calculateScreenSpaceMatrix", "type": "MethodDefinition", "paramnames": [ "outputMatrix" ] }, "vars": { "": null } }, "description": "

Calculates the mapped matrix.

\n

TODO playing around here.. this is temporary - (will end up in the shader)
this returns a matrix that will normalise map filter cords in the filter to screen space

", "params": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

the matrix to output to.

", "name": "outputMatrix" } ], "returns": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The mapped matrix.

" } ], "name": "calculateScreenSpaceMatrix", "longname": "PIXI.FilterManager#calculateScreenSpaceMatrix", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009337", "___s": true, "skip": true, "slug": "PIXI.FilterManagercalculateScreenSpaceMatrix", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Multiply vTextureCoord to this matrix to achieve (0,0,1,1) for filterArea\n *\n * @param {PIXI.Matrix} outputMatrix - The matrix to output to.\n * @return {PIXI.Matrix} The mapped matrix.\n */", "meta": { "range": [ 14561, 14930 ], "filename": "FilterManager.js", "lineno": 457, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100330", "name": "FilterManager#calculateNormalizedScreenSpaceMatrix", "type": "MethodDefinition", "paramnames": [ "outputMatrix" ] }, "vars": { "": null } }, "description": "

Multiply vTextureCoord to this matrix to achieve (0,0,1,1) for filterArea

", "params": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The matrix to output to.

", "name": "outputMatrix" } ], "returns": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The mapped matrix.

" } ], "name": "calculateNormalizedScreenSpaceMatrix", "longname": "PIXI.FilterManager#calculateNormalizedScreenSpaceMatrix", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009339", "___s": true, "skip": true, "slug": "PIXI.FilterManagercalculateNormalizedScreenSpaceMatrix", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * This will map the filter coord so that a texture can be used based on the transform of a sprite\n *\n * @param {PIXI.Matrix} outputMatrix - The matrix to output to.\n * @param {PIXI.Sprite} sprite - The sprite to map to.\n * @return {PIXI.Matrix} The mapped matrix.\n */", "meta": { "range": [ 15237, 15561 ], "filename": "FilterManager.js", "lineno": 476, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100366", "name": "FilterManager#calculateSpriteMatrix", "type": "MethodDefinition", "paramnames": [ "outputMatrix", "sprite" ] }, "vars": { "": null } }, "description": "

This will map the filter coord so that a texture can be used based on the transform of a sprite

", "params": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The matrix to output to.

", "name": "outputMatrix" }, { "type": { "names": [ "PIXI.Sprite" ] }, "description": "

The sprite to map to.

", "name": "sprite" } ], "returns": [ { "type": { "names": [ "PIXI.Matrix" ] }, "description": "

The mapped matrix.

" } ], "name": "calculateSpriteMatrix", "longname": "PIXI.FilterManager#calculateSpriteMatrix", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009341", "___s": true, "skip": true, "slug": "PIXI.FilterManagercalculateSpriteMatrix", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Destroys this Filter Manager.\n *\n */", "meta": { "range": [ 15627, 15705 ], "filename": "FilterManager.js", "lineno": 492, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100401", "name": "FilterManager#destroy", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Destroys this Filter Manager.

", "name": "destroy", "longname": "PIXI.FilterManager#destroy", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "params": [], "overrides": "PIXI.WebGLManager#destroy", "___id": "T000002R009343", "___s": true, "skip": true, "slug": "PIXI.FilterManagerdestroy", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Gets a Power-of-Two render texture.\n *\n * TODO move to a seperate class could be on renderer?\n * also - could cause issue with multiple contexts?\n *\n * @private\n * @param {WebGLRenderingContext} gl - The webgl rendering context\n * @param {number} minWidth - The minimum width of the render target.\n * @param {number} minHeight - The minimum height of the render target.\n * @param {number} resolution - The resolution of the render target.\n * @return {PIXI.RenderTarget} The new render target.\n */", "meta": { "range": [ 16267, 17678 ], "filename": "FilterManager.js", "lineno": 511, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100416", "name": "FilterManager#getPotRenderTarget", "type": "MethodDefinition", "paramnames": [ "gl", "minWidth", "minHeight", "resolution" ] }, "vars": { "": null } }, "description": "

Gets a Power-of-Two render texture.

\n

TODO move to a seperate class could be on renderer?
also - could cause issue with multiple contexts?

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

The webgl rendering context

", "name": "gl" }, { "type": { "names": [ "number" ] }, "description": "

The minimum width of the render target.

", "name": "minWidth" }, { "type": { "names": [ "number" ] }, "description": "

The minimum height of the render target.

", "name": "minHeight" }, { "type": { "names": [ "number" ] }, "description": "

The resolution of the render target.

", "name": "resolution" } ], "returns": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The new render target.

" } ], "name": "getPotRenderTarget", "longname": "PIXI.FilterManager#getPotRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009345", "___s": true, "skip": true, "slug": "PIXI.FilterManagergetPotRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Empties the texture pool.\n *\n */", "meta": { "range": [ 17740, 18082 ], "filename": "FilterManager.js", "lineno": 554, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100574", "name": "FilterManager#emptyPool", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Empties the texture pool.

", "name": "emptyPool", "longname": "PIXI.FilterManager#emptyPool", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "params": [], "___id": "T000002R009358", "___s": true, "skip": true, "slug": "PIXI.FilterManageremptyPool", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Frees a render target back into the pool.\n *\n * @param {PIXI.RenderTarget} renderTarget - The renderTarget to free\n */", "meta": { "range": [ 18234, 18549 ], "filename": "FilterManager.js", "lineno": 577, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100100624", "name": "FilterManager#freePotRenderTarget", "type": "MethodDefinition", "paramnames": [ "renderTarget" ] }, "vars": { "": null } }, "description": "

Frees a render target back into the pool.

", "params": [ { "type": { "names": [ "PIXI.RenderTarget" ] }, "description": "

The renderTarget to free

", "name": "renderTarget" } ], "name": "freePotRenderTarget", "longname": "PIXI.FilterManager#freePotRenderTarget", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "___id": "T000002R009363", "___s": true, "skip": true, "slug": "PIXI.FilterManagerfreePotRenderTarget", "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }, { "comment": "/**\n * Generic method called when there is a WebGL context change.\n *\n */", "meta": { "range": [ 569, 629 ], "filename": "WebGLManager.js", "lineno": 28, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100026924", "name": "WebGLManager#onContextChange", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Generic method called when there is a WebGL context change.

", "name": "onContextChange", "longname": "PIXI.FilterManager#onContextChange", "kind": "function", "memberof": "PIXI.FilterManager", "scope": "instance", "params": [], "inherits": "PIXI.WebGLManager#onContextChange", "inherited": true, "overrides": "PIXI.WebGLManager#onContextChange", "___id": "T000002R013994", "___s": true, "skip": true, "slug": "PIXI.FilterManageronContextChange", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" } ], "$attributes": [ { "comment": "/**\n * The renderer this manager works for.\n *\n * @member {PIXI.WebGLRenderer} PIXI.WebGLManager#renderer\n */", "meta": { "range": [ 226, 367 ], "filename": "WebGLManager.js", "lineno": 14, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": {} }, "description": "

The renderer this manager works for.

", "kind": "member", "name": "renderer", "type": { "names": [ "PIXI.WebGLRenderer" ] }, "memberof": "PIXI.FilterManager", "longname": "PIXI.FilterManager#renderer", "scope": "instance", "inherits": "PIXI.WebGLManager#renderer", "inherited": true, "overrides": "PIXI.WebGLManager#renderer", "___id": "T000002R013993", "___s": true, "skip": true, "slug": "PIXI.FilterManagerrenderer", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" } ], "$staticmethods": [], "$staticproperties": [], "$augments": [ { "comment": "/**\n * @class\n * @memberof PIXI\n */", "meta": { "range": [ 66, 842 ], "filename": "WebGLManager.js", "lineno": 7, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100026898", "name": "WebGLManager", "type": "ClassDeclaration", "paramnames": [ "renderer" ] } }, "kind": "class", "memberof": "PIXI", "name": "WebGLManager", "longname": "PIXI.WebGLManager", "scope": "static", "params": [ { "type": { "names": [ "PIXI.WebGLRenderer" ] }, "description": "

The renderer this manager works for.

", "name": "renderer" } ], "___id": "T000002R002488", "___s": true, "$methods": [ { "comment": "/**\n * Generic method called when there is a WebGL context change.\n *\n */", "meta": { "range": [ 569, 629 ], "filename": "WebGLManager.js", "lineno": 28, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100026924", "name": "WebGLManager#onContextChange", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Generic method called when there is a WebGL context change.

", "name": "onContextChange", "longname": "PIXI.WebGLManager#onContextChange", "kind": "function", "memberof": "PIXI.WebGLManager", "scope": "instance", "params": [], "___id": "T000002R002492", "___s": true, "skip": true, "slug": "PIXI.WebGLManageronContextChange", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" }, { "comment": "/**\n * Generic destroy methods to be overridden by the subclass\n *\n */", "meta": { "range": [ 722, 840 ], "filename": "WebGLManager.js", "lineno": 37, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100026928", "name": "WebGLManager#destroy", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Generic destroy methods to be overridden by the subclass

", "name": "destroy", "longname": "PIXI.WebGLManager#destroy", "kind": "function", "memberof": "PIXI.WebGLManager", "scope": "instance", "params": [], "___id": "T000002R002493", "___s": true, "skip": true, "slug": "PIXI.WebGLManagerdestroy", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" }, { "comment": "/**\n * Generic method called when there is a WebGL context change.\n *\n */", "meta": { "range": [ 569, 629 ], "filename": "WebGLManager.js", "lineno": 28, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100101603", "name": "WebGLManager#onContextChange", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Generic method called when there is a WebGL context change.

", "name": "onContextChange", "longname": "PIXI.WebGLManager#onContextChange", "kind": "function", "memberof": "PIXI.WebGLManager", "scope": "instance", "params": [], "___id": "T000002R009426", "___s": true, "skip": true, "slug": "PIXI.WebGLManageronContextChange", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" }, { "comment": "/**\n * Generic destroy methods to be overridden by the subclass\n *\n */", "meta": { "range": [ 722, 840 ], "filename": "WebGLManager.js", "lineno": 37, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": { "id": "astnode100101607", "name": "WebGLManager#destroy", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Generic destroy methods to be overridden by the subclass

", "name": "destroy", "longname": "PIXI.WebGLManager#destroy", "kind": "function", "memberof": "PIXI.WebGLManager", "scope": "instance", "params": [], "___id": "T000002R009427", "___s": true, "skip": true, "slug": "PIXI.WebGLManagerdestroy", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" } ], "$attributes": [ { "comment": "/**\n * The renderer this manager works for.\n *\n * @member {PIXI.WebGLRenderer} PIXI.WebGLManager#renderer\n */", "meta": { "range": [ 226, 367 ], "filename": "WebGLManager.js", "lineno": 14, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": {} }, "description": "

The renderer this manager works for.

", "kind": "member", "name": "renderer", "type": { "names": [ "PIXI.WebGLRenderer" ] }, "memberof": "PIXI.WebGLManager", "longname": "PIXI.WebGLManager#renderer", "scope": "instance", "___id": "T000002R002490", "___s": true, "skip": true, "slug": "PIXI.WebGLManagerrenderer", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" }, { "comment": "/**\n * The renderer this manager works for.\n *\n * @member {PIXI.WebGLRenderer} PIXI.WebGLManager#renderer\n */", "meta": { "range": [ 226, 367 ], "filename": "WebGLManager.js", "lineno": 14, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\webgl\\managers", "code": {} }, "description": "

The renderer this manager works for.

", "kind": "member", "name": "renderer", "type": { "names": [ "PIXI.WebGLRenderer" ] }, "memberof": "PIXI.WebGLManager", "longname": "PIXI.WebGLManager#renderer", "scope": "instance", "___id": "T000002R009424", "___s": true, "skip": true, "slug": "PIXI.WebGLManagerrenderer", "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" } ], "$staticmethods": [], "$staticproperties": [], "$augments": [], "$augmentedBy": [ { "name": "BlendModeManager" }, { "name": "FilterManager" }, { "name": "MaskManager" }, { "name": "StencilManager" }, { "name": "ObjectRenderer" }, { "name": "BlendModeManager" }, { "name": "FilterManager" }, { "name": "MaskManager" }, { "name": "StencilManager" }, { "name": "ObjectRenderer" } ], "filepath": "core\\renderers\\webgl\\managers\\WebGLManager.js" } ], "$augmentedBy": [], "filepath": "core\\renderers\\webgl\\managers\\FilterManager.js" }