Namespace: PIXI

PIXI

Namespace-class for pixi.js.

Contains assorted static properties and enumerations.

Author:
  • Mat Groves http://matgroves.com/ @Doormat23
Source:
src/pixi/Pixi.js line 1

Classes

BaseTexture
CanvasBuffer
CanvasGraphics
CanvasMaskManager
CanvasRenderer
CanvasTinter
ComplexPrimitiveShader
DisplayObject
DisplayObjectContainer
FilterTexture
Phaser.GraphicsData
PixiFastShader
PixiShader
PrimitiveShader
Sprite
StripShader
Texture
WebGLBlendModeManager
WebGLFastSpriteBatch
WebGLFilterManager
WebGLRenderer

Members

<static> glContexts

Author:
  • Mat Groves http://matgroves.com/ @Doormat23
Source:
src/pixi/renderers/webgl/WebGLRenderer.js line 5

<static> TextureSilentFail : boolean

TextureSilentFail is a boolean that defaults to false. If true then PIXI.Texture#setFrame will no longer throw an error if the texture dimensions are incorrect. Instead PIXI.Texture#valid will be set to false (#1556)

Type:
  • boolean
Source:
src/pixi/textures/Texture.js line 12

Methods

<static> CompileFragmentShader(gl, shaderSrc)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

shaderSrc Array
Source:
src/pixi/renderers/webgl/utils/WebGLShaderUtils.js line 26
Returns:
Type
Any

<static> compileProgram(gl, vertexSrc, fragmentSrc)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

vertexSrc Array
fragmentSrc Array
Source:
src/pixi/renderers/webgl/utils/WebGLShaderUtils.js line 69
Returns:
Type
Any

<static> CompileVertexShader(gl, shaderSrc)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

shaderSrc Array
Source:
src/pixi/renderers/webgl/utils/WebGLShaderUtils.js line 14
Returns:
Type
Any

phaser-ce@2.9.2 is on GitHub and NPM

Documentation generated by JSDoc 3.5.4 on 2017-11-09 using Tomorrow.