Vertex arrays / buffers / whatevers

Hi,
There’s a glVertexPointer or something, but from what I can tell you only pass indices - what’s the standard method (or if there’s a standard extention that does it) for passing an array of verticies, texcoords, or whatever and indices to be drawn in one go…or is it faster to just compile it all into a display list (what I’m doing now).

Thanks

No, you don’t have to use indices.

You can use glDrawArrays.

You pass it the type of primitive you want, the starting offset into the array (usually 0) and the number of elements (vertices, etc) you want drawn.

Siwko