示例#1
0
 public void SetUniform(string name, Matrix4 value)
 {
     float[] AsArray = OpenGLHelper.ToFloatArray(value);
     GL.ProgramUniformMatrix4(Handle, GetUniformIndex(name), 1, false, AsArray);
 }
示例#2
0
 public float[] GetViewProjAsArray()
 {
     return(OpenGLHelper.ToFloatArray(GetViewProj()));
 }