How does opengl-es 2 assemble primitives?
- by stephelton
Two things I'm quite confused about.
1) OpenGL ES 2.0 creates primitives before the vertex shader is invoked. Why, then, does it not automatically provide the vertex shader the position of the vertex?
2) OpenGL ES 2.0 supports glDrawElements(), but it does not support glEnableClientState() or GL_VERTEX_ARRAY, so how can this call possibly be used to construct primitives?
NOTE: this is OpenGL ES 2.0, NOT normal OpenGL!
Thanks!