C# 使用C和其他OpenGL加速方法(如geGenList),将OpenGL绘图列表转换为顶点数组或VBOs

C# 使用C和其他OpenGL加速方法(如geGenList),将OpenGL绘图列表转换为顶点数组或VBOs,c#,opengl,C#,Opengl,我正在尝试使用绘制列表将程序转换为使用顶点数组或VBOs dl = glGenLists(1) glNewList(dl, GL_COMPILE) glBindTexture(GL_TEXTURE_2D, texture) glBegin(GL_QUADS) glTexCoord2f(0, 0) glVertex2f(0, 0) glTexCoord2f(0, 1) glVertex2f(0, height) glTexCoord2f(1, 1) glVertex2f(width, height

我正在尝试使用绘制列表将程序转换为使用顶点数组或VBOs

dl = glGenLists(1)
glNewList(dl, GL_COMPILE)
glBindTexture(GL_TEXTURE_2D, texture)
glBegin(GL_QUADS)
glTexCoord2f(0, 0)
glVertex2f(0, 0)
glTexCoord2f(0, 1)
glVertex2f(0, height)
glTexCoord2f(1, 1)
glVertex2f(width, height)
glTexCoord2f(1, 0)
glVertex2f(width, 0)
glEnd()
glEndList()
我发现我不能把它传给c。我需要一个能使用它的人。有更简单的方法吗?
我需要它来提高我的应用程序的fps,如果您告诉我其他OpenGL加速方法,如geGenList,我将不胜感激。我不知道如何使用functionsCan check。还有C#的aldo下载部分。