tangram
Version:
WebGL Maps for Vector Tiles
14 lines (11 loc) • 451 B
JavaScript
// WebGL constants - need to import these separately to make them available in the web worker
var gl;
export default gl = {};
/* DataType */
gl.BYTE = 0x1400;
gl.UNSIGNED_BYTE = 0x1401;
gl.SHORT = 0x1402;
gl.UNSIGNED_SHORT = 0x1403;
gl.INT = 0x1404;
gl.UNSIGNED_INT = 0x1405;
gl.FLOAT = 0x1406;