Index Buffers in OpenGL?

BlitzMax Forums/BlitzMax OpenGL Programming/Index Buffers in OpenGL?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm sure it does, just wondering what the API is for an "index buffer" (term used in DirectX)?

In DirectX, the index buffer is a set of indices referring to vertices in a vertex buffer to make up a triangle. So, defining a cube requires 8 vertices and 36 indices - results in significant memory savings and potential performance gains too.

Cheers,

Stu