-
Edit a VBO Buffer?
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
-
Advanced Member
Frequent Contributor
Re: Edit a VBO Buffer?
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules