OpenGL uniforms

BlitzMax Forums/OpenGL Module/OpenGL uniforms

beanage(Posted 2009) [#1]
Hey,

I am not sure about this:
When i declare the data for a uniform var, then i pass the pointer.
Now, does OpenGL actually save the pointer or copy the data it points to?

So when i make changes to the data, would OpenGL record those to the uniform's value automatically?

Thank you,


JoshK(Posted 2009) [#2]
When you send the data it is sent once.


beanage(Posted 2009) [#3]
Thank you.