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 42

gl :WebGLContext

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

program :Object

The WebGL program.

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

textureCount :Number

A local texture counter for multi-texture shaders.

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

vertexSrc :Array

The vertex shader.

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

Methods

destroy()

Destroys the shader.

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

init()

Initialises the shader.

Source - pixi/renderers/webgl/shaders/PixiFastShader.js, line 126
Phaser Copyright © 2012-2016 Photon Storm Ltd.
Documentation generated by JSDoc 3.4.3 on Wed Nov 23 2016 00:49:31 GMT+0000 (GMT) using the DocStrap template.