code: function createVAOFromBufferInfo(gl, programInfo, bufferInfo) {
    return createVAOAndSetAttributes(gl, programInfo.attribSetters || programInfo, bufferInfo.attribs, bufferInfo.indices);
  }
docs: Creates a vertex array object and then sets the attributes
  on it
  
  @param {WebGLRenderingContext} gl The WebGLRenderingContext
  to use.
  @param {Object.<string, function>| module:twgl.ProgramInfo} programInfo as returned from createProgramInfo or Attribute setters as returned from createAttributeSetters
  @param {module:twgl.BufferInfo} bufferInfo BufferInfo as returned from createBufferInfoFromArrays etc...
  @param {WebGLBuffer} [indices] an optional ELEMENT_ARRAY_BUFFER of indices
  @memberOf module:twgl/vertexArrays