PIXI. ComplexPrimitiveShader

new ComplexPrimitiveShader(gl)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

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

Members

fragmentSrc :Array

The fragment shader.

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

gl :WebGLContext

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

program :Object

The WebGL program.

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

vertexSrc :Array

The vertex shader.

Source - pixi/renderers/webgl/shaders/ComplexPrimitiveShader.js, line 48

Methods

destroy()

Destroys the shader.

Source - pixi/renderers/webgl/shaders/ComplexPrimitiveShader.js, line 110

init()

Initialises the shader.

Source - pixi/renderers/webgl/shaders/ComplexPrimitiveShader.js, line 79
Phaser Copyright © 2012-2015 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-alpha10 on Wed Jul 29 2015 14:58:02 GMT+0100 (GMT Daylight Time) using the DocStrap template.