As far as I can see, there is no GL_PIXEL_UNPACK_BUFFER
. Also, the OpenGL ES 2.0 specification (and as far as I know, no iOS device currently supports OpenGL ES > 2.0) states that glMapBufferOES()
can only use GL_ARRAY_BUFFER
as a target, yet glTexImage2D()
and glTexSubImage2D()
only seem to use PBOs if GL_PIXEL_UNPACK_BUFFER
is bound.
The OpenGL documentation for glBindBuffer()
also states that:
GL_PIXEL_PACK_BUFFER
andGL_PIXEL_UNPACK_BUFFER
are available only if the GL version is 2.1 or greater.
So, can I use PBOs for textures? Am I missing something obvious?