Talk:Vertex Array Object

From OpenGL Wiki
Jump to navigation Jump to search

GL_ARRAY_BUFFER[edit]

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().