src/graphics/webgl-layer.js
function RenderProgramWrapper(layer, shader) {
    this.shader = shader;
    this.layer = layer;
    this.context = layer.context;
    this.draw = function() {};

    this.array_size = 16;
    this.max_size = 1024;
    this._indexArray = new Uint16Array(6 * this.array_size);
    this._indexBuffer = layer.context.createBuffer();
}
function RenderProgramWrapper(layer, shader) {
    this.shader = shader;
    this.layer = layer;
    this.context = layer.context;
    this.draw = function() {};

    this.array_size = 16;
    this.max_size = 1024;
    this._indexArray = new Uint16Array(6 * this.array_size);
    this._indexBuffer = layer.context.createBuffer();
}
function RenderProgramWrapper ( layer , shader ) { this . shader = shader ; this . layer = layer ; this . context = layer . context ; this . draw = function ( ) { } ; this . array_size = 16 ; this . max_size = 1024 ; this . _indexArray = new Uint16Array ( 6 * this . array_size ) ; this . _indexBuffer = layer . context . createBuffer ( ) ; }
Object for abstracting out all the gl calls to handle rendering entities with a particular program
Object for abstracting out all the gl calls to handle rendering entities with a particular program