View Full Version : Edit a VBO Buffer?

08-23-2004, 05:17 AM
How can I edit a buffer which I saved in a VBO?

I have to read it (which function?), change it and I guess save it with glBufferDataARB ?

Thanks for help :)

08-23-2004, 10:42 AM
I think you should not do this but just map the buffer.
Take a look at MapBufferARB... it should be called like this.

This will get you a pointer which is the buffer itself, so you don't need to read/modify/write. You modify directly in server memory.