Hi,
I’m wondering if the kind of code below is valid and will work in a VAO (Vertex Array Object), I’ve searched the internet and haven’t been able to find an answer :
bind VAO
bind VBO(+IBO)
for(GLuint i = 0; i<5; ++i)
EnableVertexAttribArray(i) + SetVertexAttribPtr(i);
end VAO
Now since VAOs are supposed to replace Display lists my guess is that it should work, but if I could have confirmation, it would help a lot.
Regards,