Hi!
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
~Eich
Hi!
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
~Eich
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.