title: Do I need multiple vertex buffers for similar objects in openGL?
body: <p>For example, given two cubes with similar vertices, e.g.,</p>
  
  <pre><code>float pVerts[] = 
  {
      0.0, 0.0, 0.0,
      1.0, 0.0, 0.0,
      ...
  };
  glGenBuffer(1, &amp;mVertexBuffer);
  glBindBuffer(...);
  glBufferData(...);
  </code></pre>
  
  <p>Can I just cache this set of vertices out for later usage? Or, in other words, if I wanted a second cube (with the exact same vertex data), do I need to generate another vertex buffer?</p>
  
  <p>And with shaders, does the same apply? Can I use the same program for drawing these cubes?</p>