Can I use PBOs for textures in iOS?

Posted by Radu on Game Development See other posts from Game Development or by Radu
Published on 2012-05-22T00:47:10Z Indexed on 2012/10/13 3:49 UTC
Read the original article Hit count: 286

Filed under:
|
|

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 and GL_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?

© Game Development or respective owner

Related posts about opengl-es

Related posts about ios