Timeline for OpenGL: Is it possible to use VAO's without specifying a VBO
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 2, 2013 at 15:11 | comment | added | Martijn Courteaux | The other answer explained good how the glVertexAttribPointer method works. It uses the VBO bound at that time. You are right! Thanks, I understand right now. | |
| Jan 2, 2013 at 4:27 | comment | added | Nicol Bolas | @MartijnCourteaux: "All the articles on the internet on VAO's show that binding a VAO automatically binds the VBO." No, they don't. The OpenGL Wiki on vertex specification does not. Indeed, show me a single article on the internet that says that any glBindBuffer state except GL_ELEMENT_ARRAY_BUFFER is changed by binding a VAO. | |
| Jan 1, 2013 at 23:56 | comment | added | Martijn Courteaux | All the articles on the internet on VAO's show that binding a VAO automatically binds the VBO. So, I think a VAO is a configuration that holds both glVertexAttribPointer states and the glBindBuffer state. And yes, binding a VBO when a VAO is bound changes the VAO. I'm telling this because I tested this and it effectively does. From where does this information come from? | |
| Jan 1, 2013 at 23:33 | history | answered | ccxvii | CC BY-SA 3.0 |