Does glUniformMatrix4fv instantly copy data pointed to by the passed in pointer?

Go To StackoverFlow.com

3

Does glUniformMatrix4fv instantly copy data pointed to by the passed in pointer? If not when does it make the copy? Would it be the glDrawElements or glDrawArrays call?

2012-04-03 22:03
by Xavier


3

Yes, it copies data during glUniformMatrix4fv call.

2012-04-03 22:15
by Mārtiņš Možeiko