Aragorn
04-23-2002, 08:30 AM
This may seem like a stupid question but may I change the values of an vertexarray after setting it with glVertexPointer ? I mean will OpenGL take the data from the lokation the pointer from glVertexPointer is pointing to, everytime I call glDrawArrays (or any other draw command) or will OpenGL make a copy some where else (maybe in video memory) and changes in the original array will have no results until I reset the pointer.
And if OpenGL always takes the values from cpu memory isn't there a way to tell OpenGL that the data won't change and that it can be hold in some better location?
Thank you for your help.
And if OpenGL always takes the values from cpu memory isn't there a way to tell OpenGL that the data won't change and that it can be hold in some better location?
Thank you for your help.