Login  Register

Re: vbo - DrawArrays - threading question

Posted by gouessej on Sep 07, 2012; 9:59am
URL: https://forum.jogamp.org/vbo-DrawArrays-threading-question-tp4026028p4026038.html

glMapBuffer does not create the VBO but it allows you to map its data store (in the GPU) into the physical memory so that you can manipulate it. When you unmap it, the changes are reflected into the data store in the GPU. If glMapBuffer didn't exist, it would be impossible to modify a data store whose content is stored on the GPU from the CPU.
Julien Gouesse | Personal blog | Website