UniformMatrix2fv() private method

private UniformMatrix2fv ( Int32 location, Int32 count, System.Boolean transpose, System.Single value ) : void
location System.Int32
count System.Int32
transpose System.Boolean
value System.Single
return void
Example #1
0
 private unsafe void setMatrix2()
 {
     fixed(void *ptr = &valueObject.Matrix2)
     {
         GL.UniformMatrix2fv(location, 1, false, (float *)ptr);
     }
 }