I'm learning to use VBOs and trying to keep it simple before building up. Trying to do it without writing a shader right now. It looks like this is possible, but I cannot seem to find a way to get the index parameter for
I've seen that you can get the index with
glGetAttribLocation, but that function seems to require a shader be passed in to get the index.
I don't want to assign the index, because I'm worried about different pieces of a project accidentally using the same index and causing problems. (If there's some reason I shouldn't be worried about that, please let me know)
Question is: Without using shaders and without assigning the index, how can I get the index for