WEBGL_CONSTANTS top-level property

Map<String, int> WEBGL_CONSTANTS
getter/setter pair

Implementation

/* CONSTANTS */

var WEBGL_CONSTANTS = {
  "FLOAT": 5126,
  //FLOAT_MAT2: 35674,
  "FLOAT_MAT3": 35675,
  "FLOAT_MAT4": 35676,
  "FLOAT_VEC2": 35664,
  "FLOAT_VEC3": 35665,
  "FLOAT_VEC4": 35666,
  "LINEAR": 9729,
  "REPEAT": 10497,
  "SAMPLER_2D": 35678,
  "POINTS": 0,
  "LINES": 1,
  "LINE_LOOP": 2,
  "LINE_STRIP": 3,
  "TRIANGLES": 4,
  "TRIANGLE_STRIP": 5,
  "TRIANGLE_FAN": 6,
  "UNSIGNED_BYTE": 5121,
  "UNSIGNED_SHORT": 5123
};