public void Draw(VertexArray va, IndexBuffer ib, Shader shader) { va.Bind(); ib.Bind(); shader.Bind(); GL.DrawElements(PrimitiveType.Triangles, ib.GetCount(), DrawElementsType.UnsignedInt, IntPtr.Zero); }