 * ];
 * var va = context.createVertexArray(attributes);
 */
+/*
 Context.prototype.createVertexArray = function(attributes, indexBuffer) {
     return new VertexArray(this._gl, this._vertexArrayObject, attributes, indexBuffer);
 };

        });
    
    return buffer;
};

/**
* Creates a vertex array, which defines the attributes making up a vertex, and contains an optional index buffer

* var buffer = context.createIndexBuffer(new Uint16Array([0, 1, 2]),
*     BufferUsage.STATIC_DRAW, IndexDatatype.UNSIGNED_SHORT)
*/
    func
Context.prototype.createIndexBuffer = function(typedArrayOrSizeInBytes, usage, indexDatatype) {
    //>>includeStart('debug', pragmas.debug);
    if (!IndexDatatype.validate(indexDatatype)) {
