For other buffers, there are functions such as:
glVertexArrayVertexAttribOffsetEXT(
this->handle,
vbo.getHandle(),
index,
size,
vbo.getType(),
normalized,
stride,
offset
);
But I can not find the method of binding the element buffer to vao. Or did I miss something there?
PS: does it make sense to add tags to the vertex object array and direct access?
source
share