Namespace-class for pixi.js.
Contains assorted static properties and enumerations.
- Source:
- src/pixi/Pixi.js line 1
Classes
- BaseTexture
- CanvasBuffer
- CanvasGraphics
- CanvasMaskManager
- CanvasRenderer
- CanvasTinter
- ComplexPrimitiveShader
- DisplayObject
- DisplayObjectContainer
- FilterTexture
- PixiFastShader
- PixiShader
- PrimitiveShader
- Sprite
- StripShader
- Texture
- WebGLBlendModeManager
- WebGLFastSpriteBatch
- WebGLFilterManager
- WebGLRenderer
Members
-
<static> glContexts
-
<static> TextureSilentFail : boolean
-
TextureSilentFail is a boolean that defaults to
false
. Iftrue
then PIXI.Texture#setFrame will no longer throw an error if the texture dimensions are incorrect. Instead PIXI.Texture#valid will be set tofalse
(#1556)Type:
- boolean
Methods
-
<static> CompileFragmentShader(gl, shaderSrc)
-
Parameters:
Name Type Description gl
WebGLContext the current WebGL drawing context
shaderSrc
Array Returns:
- Type
- Any
-
<static> compileProgram(gl, vertexSrc, fragmentSrc)
-
Parameters:
Name Type Description gl
WebGLContext the current WebGL drawing context
vertexSrc
Array fragmentSrc
Array Returns:
- Type
- Any
-
<static> CompileVertexShader(gl, shaderSrc)
-
Parameters:
Name Type Description gl
WebGLContext the current WebGL drawing context
shaderSrc
Array Returns:
- Type
- Any