Class: CreatureShader

CreatureShader

new CreatureShader(gl)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source:
src/gameobjects/Creature.js line 15

Members

fragmentSrc : Array

The fragment shader.

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

gl : WebGLContext

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

program : Any

The WebGL program.

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

vertexSrc : Array

The vertex shader.

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

phaser-ce@2.19.0 is on GitHub and NPM

Documentation generated by JSDoc 3.6.3 on 2021-08-23 using Tomorrow.