UniformMatrix4() public static method

public static UniformMatrix4 ( int location, bool transpose, Matrix4 &matrix ) : void
location int
transpose bool
matrix Matrix4
return void
Esempio n. 1
0
 public void UniformMatrix4(int location, bool transpose, Float4x4[] value)
 {
     if (value.Length > 0)
     {
         GL.UniformMatrix4(location, value.Length, transpose, ref value[0].M11);
     }
 }
Esempio n. 2
0
 protected void loadMatrix(int location, Matrix4 mat)
 {
     GL.UniformMatrix4(location, false, ref mat);
 }
Esempio n. 3
0
 public void UniformMatrix4(int location, bool transpose, Float4x4 value)
 {
     // Who is always changing this function creating a temp array? Please stop committing your workarounds. Thanks
     GL.UniformMatrix4(location, 1, transpose, ref value.M11);
 }
Esempio n. 4
0
 public void UniformMatrix4(int location, bool transpose, Float4x4 value)
 {
     MacGL.UniformMatrix4(location, 1, transpose, ref value.M11);
 }