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