Basic Form

  • Initialize

 Definition of Vertex

glGenBuffers //Generate a buffer for the vertices

glBindBuffer // Bind the vertex buffer

glBufferData / glMapBuffer : Memory Transfers p393 (OpenGL Insights)

  • Render

glBindBuffer

glVertexPointer

glEnableClientState

glDrawArrays //render

glDisableClientState