Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 974
Xavier Avatar asked Oct 27 '25 05:10

Xavier


1 Answers

Yes, it copies data during glUniformMatrix4fv call.

like image 162
Mārtiņš Možeiko Avatar answered Oct 30 '25 11:10

Mārtiņš Možeiko