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

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 120

vertexSrc:Array

The vertex shader.

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

destroy()

Destroys the shader.

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

init()

Initialises the shader.

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