src/render/RenderWebGL.js
/**
 * creates WebGL render layer cache object
 *
 * @returns {RenderWebGL}
 */
creates WebGL render layer cache object
@returns {RenderWebGL}
creates WebGL render layer cache object @returns { RenderWebGL }
function RenderWebGLTileLayer(render, layer) {
    RenderWebGLLayer.apply(this, arguments);
    this.elementsBuffer = render.gl.createBuffer();
    this.elementsArray = new Uint16Array(16);
    this.elementsCount = 0;
}
function RenderWebGLTileLayer ( render , layer ) { RenderWebGLLayer . apply ( this , arguments ) ; this . elementsBuffer = render . gl . createBuffer ( ) ; this . elementsArray = new Uint16Array ( 16 ) ; this . elementsCount = 0 ; }
creates WebGL render layer cache object
 @returns {RenderWebGL}
creates WebGL render layer cache object @returns { RenderWebGL }
// create buffers // create arrays