27-Jul-12 (Created: 27-Jul-12) | More in 'OpenGL'

How is indexing done in OpenGL ES 2.0?

In es 1.0, I was able to use indexing into an existing vertex buffer in the glDrawElements method. This allowed me to specify only 4 points for drawing a square or rectangle. without the indexing I would have needed 6 points making up 2 triangles. How could I do this in ES 2.0?