I am trying to create and use array elements buffer with no success.
I have no problem to find examples of how to work with VBOs but don’t know how to incorporate buffers of indices.
My code is like this:
// Create indices buffer
Using the buffers:
// Enable client state for indices buffer?
glVertexPointer(3, GL_FLOAT, 0, 0);
// Is it needed?
What is the equivalent of ‘glVertexPointer’ to indices array?
I am little bit confused…
Please your help,