Talk:Vertex Array Object

From OpenGL Wiki
Revision as of 19:10, 12 February 2012 by Kopelrativ (talk | contribs) (→‎GL_ARRAY_BUFFER)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GL_ARRAY_BUFFER

On the one hand, there is a note that says that Changing the GL_ARRAY_BUFFER binding does not affect VAO state. But on the other hand, a few lines down, there is the statement about the pseudo-code update: pBufferObj <= current GL_ARRAY_BUFFER binding.

I see, pBufferObj is updated as a result of VertexAttribPointer(), not as a result of glBindBuffer().