Direct GPU explanation |cpp

From look on the fillFaceVBO function
Can I set the array on the gpu without iterate and copy the value one by one ?

Is it the only way to send mesh data to the gpu memory ?
from first look, “it seem” “very slow”.

will happy to hear more about it and the process.

thank you !
Barak.

The pointer you get for the VBOs memory is a pointer like any other, so you can fill it using memcpy or whatever other method you want to move memory around. You don’t need to do it element by element.