I'm currently new to the OpenGL ES 2.0 realm and would like to understand as much as I can regarding binding, buffers, shaders, etc.
As of now, I'm just trying to understand the differences between GL_ELEMENT_ARRAY_BUFFER
and GL_ARRAY_BUFFER
and when to use each of the noted presets.
My current understanding leads me to believe that GL_ELEMENT_ARRAY_BUFFER
is specifically for indices for the said triangles while the other is for everything else.
Could someone please elaborate on why and if this is correct? How is GL_ELEMENT_ARRAY_BUFFER
handled differently?