As clarified in the reference, the glUniform{2|3|4}iv takes three parameters, location, count and v. But when count is greater than 1, what is the structure of v?
Suppose I call it as the following.
glUniform2iv(loc,2,v);
Which way should I set v?
Code :int v={{somevalue,somevalue},{somevalue,somevalue}};
or
Code :int v={somevalue,somevalue,somevalue,somevalue};
Thanks in advance!
:devilish: