PDA

View Full Version : Read data from Buffer object in openGL ES2.0



MirzaSe
09-03-2014, 02:45 PM
I need to read data from buffer object in OpenGL ES2.0. I am using QGLfunctions and it is not possible to use glMapBufferRange. Is there any other way?

carsten neumann
09-04-2014, 04:44 AM
Normally there are glGetBufferSubData (http://www.opengl.org/sdk/docs/man/html/glGetBufferSubData.xhtml) or the ordinary glMapBuffer (http://www.opengl.org/sdk/docs/man/html/glMapBuffer.xhtml), both of which also exist in ES 2.0, but it looks like QGLFunctions does not wrap those. You could get the function pointer manually with QGLContext::getProcAddress.