【OpenGL】OpenGL的窗口管理库

OpenGL不处理窗口和用户交互,而是依赖于如GLUT和GLFW这样的窗口管理库。GLUT是早期的库,已不再维护,而GLFW是更现代的选择,提供跨平台的窗口和输入设备管理,更适合游戏开发。GLFW的最新版本可以在其官网下载。
摘要由CSDN通过智能技术生成

OpenGL 本身只管底层绘制,并不管窗口显示,用户交互等等,这就需要在其上添加一层窗口管理库,来实现 OpenGL的简易访问和友好交互。

Wikipedia : A few libraries have been designed solely to produce an OpenGL-capable window. The first such library was OpenGL Utility Toolkit (GLUT), later superseded by freeglut. GLFW is a newer alternative.
These toolkits are designed to create and manage OpenGL windows, and manage input, but little beyond that.

  • GLFW – A cross-platform windowing and keyboard-mouse-joystick handler; is more game-oriented
  • freeglut – A cross-platform windowing and keyboard-mouse handler; its API is a superset of the GLUT API, and it is more stable and up to date than GLUT
  • OpenGL Utility Toolkit (GLUT) – An old windowing handler, no longer maintained.

glut

glut 是最早出现的,也是最早die 的,目前依然可以使用的最新的版本,是98年的。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值