code: function(opts) {
        log('vertexBuffer', opts)
        if (opts.length) {
          opts = { data: opts }
        }
        opts.target = gl.ARRAY_BUFFER
        return this.resource(createBuffer(this, opts))
      }
docs: TODO: Should we have named versions or generic 'ctx.buffer' command? In regl buffer() is ARRAY_BUFFER (aka VertexBuffer) and elements() is ELEMENT_ARRAY_BUFFER Now in WebGL2 we get more types Uniform, TransformFeedback, Copy Possible options: { data: Array or ArrayBuffer type: 'float', 'uint16' etc }