Exemplo n.º 1
0
Arquivo: GLX.cs Projeto: jpneary/GLES
 public static void UniformMatrix2(int location, bool transpose, ref Matrix2 matrix)
 {
     unsafe
     {
         fixed(float *matrix_ptr = &matrix.Row0.X)
         {
             GL.UniformMatrix2(location, 1, transpose, matrix_ptr);
         }
     }
 }