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

In OpenGL ES 1, I have a function similar to the following for adjusting image coordinates:

glTexCoordPointer(2, GL_FLOAT, 0, coordinates);

What is equivalent to this in OpenGL ES 2.0?

+5
source share
1 answer

, (, , , texcoords,...) GLES 2.0. , ( glVertexAttribPointer, ) , . , GLSL.

+10

All Articles