title: What is the maximum number of Uniform Buffer Objects I can make?
body: <p>What is the maximum number of Uniform Buffer Objects I can make in OpenGL 3.2+?</p>
  
  <p>I'm using code similar to the following to generate UBO's (and lets assume <code>size</code> and <code>data_pointer</code> have valid data in them)</p>
  
  <pre><code>GLuint uboIndex = 0;
  glGenBuffers(1, &amp;uboIndex);
  glBindBuffer(GL_UNIFORM_BUFFER, uboIndex);
  
  glBufferData(GL_UNIFORM_BUFFER, size, data_pointer, GL_DYNAMIC_DRAW);
  glBindBuffer(GL_UNIFORM_BUFFER, 0);
  </code></pre>
  
  <p>How many times could I potentially run this code?  Is it limited only by the available memory on the Graphics Card?</p>