Class

Cache

Cache()

Cache for WebGL API

Constructor

new Cache()

Constructor

View Source Renderers/WebGL/Cache.js, line 8

Members

Color

clearColor

Active vertex format

View Source Renderers/WebGL/Cache.js, line 19

Array.<Light>

lights

Array with lights to send to the programs

View Source Renderers/WebGL/Cache.js, line 51

Array.<number>

lightsAmbient

Lights positions

View Source Renderers/WebGL/Cache.js, line 59

Array.<number>

lightsData

Lights data: constant, linear and quadratic data

View Source Renderers/WebGL/Cache.js, line 75

Array.<number>

lightsDiffuse

Lights positions

View Source Renderers/WebGL/Cache.js, line 67

Array.<number>

lightsDirection

Lights directions

View Source Renderers/WebGL/Cache.js, line 83

Array.<number>

lightsPosition

Lights positions

View Source Renderers/WebGL/Cache.js, line 91

Array.<number>

lightsSpecular

Lights positions

View Source Renderers/WebGL/Cache.js, line 99

Array.<number>

lightsType

Lights type

View Source Renderers/WebGL/Cache.js, line 107

Program

program

Active program

View Source Renderers/WebGL/Cache.js, line 27

VertexFormat

vertexFormat

Active vertex format

View Source Renderers/WebGL/Cache.js, line 43