Talk:Vertex Array Object: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Created page with "=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, ..."
 
 
Line 2: Line 2:
On the one hand, there is a note that says that ''Changing the GL_ARRAY_BUFFER binding does not affect VAO state''.
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''.
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().

Latest revision as of 19:10, 12 February 2012

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