3

Where i can download OpenGL 4.0 headers for C/C++? I found only GL/gl.h in /compiler/include/, but it outdated (OpenGL 1.1).

Don't offer libraries like GLEW. I want write my application with pure OpenGL.

4

2 回答 2

6

OpenGL 核心配置文件头位于此处:

http://www.opengl.org/registry/api/GL/glcorearb.h

此头文件仅包含核心配置文件和 ARB 扩展接口,如 OpenGL 4.3 规范的附录 G.2 中所述。它不包括仅在兼容性配置文件中找到的接口。

我想这就是你所说的OpenGL 4

以下是一些 OpenGL 4 教程:

于 2013-09-09T13:04:40.343 回答
4

看看http://rastertek.com/tutgl40.html他在他的 OGL 4.0 教程中没有使用任何包装器,并且自己管理 APIENTRY。

于 2013-09-09T13:03:35.507 回答