WebGLRenderer#updateTexture()

updateTexture(texture) → {Boolean} Updates and Creates a WebGL texture for the renderers context. Parameters Name Type Description texture PIXI.Texture the texture to update Returns Boolean - True if the texture was successfully bound, otherwise false. Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 341)

WebGLRenderer#WebGLRenderer

new WebGLRenderer(game) The WebGLRenderer draws the stage and all its content onto a webGL enabled canvas. This renderershould be used for browsers that support webGL. This Render works by automatically managing webGLBatchs.So no need for Sprite Batches or Sprite Clouds.Don't forget to add the view to your DOM or you will not see anything :) Parameters Name Type Description game PhaserGame A reference to the Phaser Game instance Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 8)

WebGLRenderer#stencilManager

stencilManager : PIXI.WebGLStencilManager Manages the stencil buffer Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 160)

WebGLRenderer#type

type : number Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 30)

WebGLRenderer#transparent

transparent : boolean Whether the render view is transparent Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 45)

WebGLRenderer#resolution

resolution : number The resolution of the renderer Default Value 1 Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 36)

WebGLRenderer#spriteBatch

spriteBatch : PIXI.WebGLSpriteBatch Manages the rendering of sprites Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 139)

WebGLRenderer#shaderManager

shaderManager : PIXI.WebGLShaderManager Deals with managing the shader programs and their attribs Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 132)

WebGLRenderer#render()

render(stage) Renders the stage to its webGL view Parameters Name Type Description stage Stage the Stage element to be rendered Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 243)

WebGLRenderer#resize()

resize(width, height) Resizes the webGL view to the specified width and height. Parameters Name Type Description width Number the new width of the webGL view height Number the new height of the webGL view Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 315)