title: attaching a vertex buffer object to a vertex array object
body: <p>I am trying to attach a vbo to a vao. However I only get it to work the "old" way:</p>
  
  <pre><code>bind vao
  bind vbo
  glVertexAttribPointer(...)
  glEnableVertexArrayAttrib(...)
  unbind vbo
  unbind vao
  </code></pre>
  
  <p>Now I want it to implement the new bindless way, I tried it like this:</p>
  
  <pre><code>glVertexArrayAttribFormat(...);
  glVertexArrayVertexBuffer(...);
  glVertexArrayAttribBinding(...);
  </code></pre>
  
  <p>However then I only get a black screen.</p>
  
  <p>Attaching the index buffer object to the vao works though:</p>
  
  <pre><code>glVertexArrayElementBuffer(...);
  </code></pre>
  
  <p>What am I missing?</p>