What should I use in place of glTexCoordPointer() in OpenGL ES 2.0?

In OpenGL ES 1, I have a function like the following for setting up the coordinates of an image:

glTexCoordPointer(2, GL_FLOAT, 0, coordinates);

What is the equivalent to this in OpenGL ES 2.0?

5
задан Chris says Reinstate Monica 19 August 2011 в 18:46
поделиться