Home › Forums › PowerVR Insider Graphics › Clone Buffer Object?
This topic contains 1 reply, has 2 voices, and was last updated by Xmas 7 years, 11 months ago.
glBindBuffer( buf.type, buf.glObj ); glGetBufferParameteriv( buf.type, GL_BUFFER_SIZE, &size ); char *data = new char; glGetBufferSubData( buf.type, 0, size, data );
This was opengl version clone buffer code .but opengl es don’t support glGenBufferSubData.
OpenGL ES unfortunately doesn’t allow read access to buffer objects. You’ll have to use the original source data.
Could you give a short description of what you want to use this for?Xmas2009-11-20 16:22:23