CreatureShader

new CreatureShader(gl)

Parameters:

Name

Type

Description

gl

WebGLContext

the current WebGL drawing context

Source - gameobjects/Creature.js, line 14

Members

fragmentSrc:Array

The fragment shader.

Source - gameobjects/Creature.js, line 41

gl:WebGLContext

Source - gameobjects/Creature.js, line 27

program:Any

The WebGL program.

Source - gameobjects/Creature.js, line 34

vertexSrc:Array

The vertex shader.

Source - gameobjects/Creature.js, line 60