Missing Methods and Constants in OpenGL ES 2.0 Headers

I'm starting to learn OpenGL for use with iOS. I wonder why methods such as glMatrixModeor type constants GL_PROJECTIONare in <OpenGLES/ES1/gl.h>, but not in <OpenGLES/ES2/gl.h>. What for? Do you use your own shaders when using OpenGL ES 2.0 instead of 1.1?

+3
source share
1 answer

A fixed function pipeline, including embedded matrices, was completely removed from OpenGL ES 2.0, so constants like GL_PROJECTION and functions like glPushMatrix, glRotate, glMatrixMode, etc. were removed.

, / . ES 2 , .

, , ES 1.

+5

Source: https://habr.com/ru/post/1777346/


All Articles