Back to openGL

Its been a long time since I tried openGL, been wandering around, and now I need to know…

Can you use a Vertex Array Object with a index Buffer? Or can you only use Index Buffers with VBOs?

My goal is to make a 2D game, no 3D plans as of now, I know this does not matter since everything is 3D. But I figure I’d mention it just encase, maybe VAOs are faster than a VBO and Index Buffer when it comes to making a Sprite Batcher