I am making a program with opengl es 2.0 for android.
I was planning on using VBO’s to store my vertex data. But when I started to do so I noticed I am missing the function
glDrawElements()
with an overide which takes the offset into the buffer as the last parameter instead of the buffer itself.
I noticed the following quote on a release summorization of android 2.3
Graphics: Adds remaining OpenGL ES 2.0 methods glDrawElements() and glVertexAttribPointer() in the android.opengl.GLES20 class.
Has there been no support for this in android 2.2?
If so is there an alternative way to do this? (I don’t want to use the NDK just because of this)
The only solution I have thought of so far is to use VBO’s only if the android version is 2.3+. But i’d rather use them all the time if I can
This capability is only supported from 2.3 and above :S
(Why would they not just complete these methods before the release??)