Class: CreatureShader

CreatureShader

new CreatureShader(gl)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source:
src/gameobjects/Creature.js line 16

Members

fragmentSrc : Array

The fragment shader.

Type:
  • Array
Source:
src/gameobjects/Creature.js line 43

gl : WebGLContext

Type:
  • WebGLContext
Source:
src/gameobjects/Creature.js line 29

program : Any

The WebGL program.

Type:
  • Any
Source:
src/gameobjects/Creature.js line 36

vertexSrc : Array

The vertex shader.

Type:
  • Array
Source:
src/gameobjects/Creature.js line 62

phaser-ce@2.8.8 is on GitHub and NPM

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