Hi I just switched to use glVertexAttribFormat instead of glVertexAttribPointer for my vertex array object.
I use this glBindVertexBuffer to bind my VBO to it, it is possible to bind also the index buffer?
In my game, I only use one big VBO, the problem is I store 3 differents attributes, but always use the same index buffer object as well, in order to not crash I always need to call this glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, …);
Since it is always the same buffer, its a pure waste of opengl call, but each time I change my vertex attrib, it unbind my index buffer…
Maybe I miss something?