Original Post
I'm having trouble sorting out the difference between Vertex Arrays and Vertex Buffer Objects in OpenGL. Tutorials on the web seem to use the terms interchangeably, which I think is incorrect?
I have some notes from my programming class that state "[A VBO] is an array of (possibly interleaved) vertex attributes....can be stored in video memory." The notes also say that "[Vertex Array Objects] Despite the name, do not store vertices. Used to store OpenGL state attributes. May contain a reference pointer to a VBO."
As far as I understand, a VBO holds geometry data (Vertex coordinates, Texture coordinates, Vertex colour, Material, etc) and may be stored on the graphics hardware, rather than in main memory. So my question is, what is the function of a Vertex Array Object?
Thanks in advance
I have some notes from my programming class that state "[A VBO] is an array of (possibly interleaved) vertex attributes....can be stored in video memory." The notes also say that "[Vertex Array Objects] Despite the name, do not store vertices. Used to store OpenGL state attributes. May contain a reference pointer to a VBO."
As far as I understand, a VBO holds geometry data (Vertex coordinates, Texture coordinates, Vertex colour, Material, etc) and may be stored on the graphics hardware, rather than in main memory. So my question is, what is the function of a Vertex Array Object?
Thanks in advance