PIXI. PixiFastShader

new PixiFastShader(gl)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 5

Members

fragmentSrc :Array

The fragment shader.

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 32

gl :WebGLContext

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 19

program :Object

The WebGL program.

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 25

textureCount :Number

A local texture counter for multi-texture shaders.

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 82

vertexSrc :Array

The vertex shader.

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 47

Methods

destroy()

Destroys the shader.

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 143

init()

Initialises the shader.

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 94
Phaser Copyright © 2012-2015 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.2 on Mon Aug 24 2015 15:36:57 GMT+0100 (GMT Daylight Time) using the DocStrap template.