title: OpenGL - auto generation of indices / stride parameter for glDrawArrays
body: <p>I'm rendering a grid-structure with lots of data-points (>1M). The structure of my data is in the picture. </p>
  
  <p><img src="https://i.stack.imgur.com/i5efF.png" alt="Structure of data-points"></p>
  
  <p>So the content of my index buffer looks like this <code>0, 100, 1, 101, 2, 102, 3, 103, ...</code></p>
  
  <p>I'm a bit annoyed by the huge size of my index-buffer which I need to define my triangle strip. Is there a possibility to tell OpenGL to generate these indices automatically in the showed way? Or maybe some trick with glVertexAttribPointer I haven't though of?</p>