Class: StripShader

PIXI. StripShader

new StripShader(gl)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 10

Members

fragmentSrc : Array

The fragment shader.

Type:
  • Array
Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 76

fragmentSrc : Array

The fragment shader.

Type:
  • Array
Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 49

gl : WebGLContext

Type:
  • WebGLContext
Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 23

program : Any

The WebGL program.

Type:
  • Any
Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 30

vertexSrc : Array

The vertex shader.

Type:
  • Array
Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 95

Methods

destroy()

Destroys the shader.

Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 175

init()

Initialises the shader.

Source:
src/pixi/renderers/webgl/shaders/StripShader.js line 124

phaser-ce@2.9.2 is on GitHub and NPM

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