Clone Buffer Object?

This topic contains 1 reply, has 2 voices, and was last updated by  Xmas 7 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29976

    davylew
    Member

     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.

    So Any other suggestions to get Buffer data ?
    #33507

    Xmas
    Member

    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

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.