0
我是OpenGL的新手。 我知道C#有OpenGL Framework.And我们可以用这样的:VC++ OpenGl框架
using CsGL.OpenGL;
是否有使用VC++的OpenGL的框架净得?
问候......
我是OpenGL的新手。 我知道C#有OpenGL Framework.And我们可以用这样的:VC++ OpenGl框架
using CsGL.OpenGL;
是否有使用VC++的OpenGL的框架净得?
问候......
既然你是在托管C++的工作,你可以直接使用这样的访问OpenGL的API:
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#include <gl/gl.h>
#include <gl/glu.h>
This article从代码项目给出了一个很好的概述。它提供了在win窗体应用程序中包含OpenGL渲染上下文的源代码。