GLFW简介

GLFW is a portable API (Application Program Interface) that handles operating system specific tasks related to OpenGLTM programming. While OpenGLTM in general is portable, easy to use and often results in tidy and compact code, the operating system specific mechanisms that are required to set up and manage an OpenGLTM window are quite the opposite. GLFW tries to remedy this by providing
the following functionality:
Opening and managing an OpenGLTM window.
Keyboard, mouse and joystick input.
A high precision timer.
Multi threading support.
Support for querying and using OpenGLTM extensions.
Image file loading support.
All this functionality is implemented as a set of easy-to-use functions, which makes it possible to write an OpenGLTM application framework in just a few lines of code. The GLFW API is completely operating system and platform independent, which makes it very simple to port GLFW based OpenGLTM applications to a variety of platforms.
Currently supported platforms are:
Microsoft Windows 95/98/ME/NT/2000/XP/.NET Server.
Unix or Unix-like systems running the X Window SystemTM, e.g. Linux  IRIX
FreeBSD SolarisTM, QNX and Mac OS X.
Mac OS X (Carbon)1

 

简而言之:glfw是一个便携式API,着力于操作系统和opengl之间的调度。

它的做要功能有:
窗口管理

键盘,鼠标,游戏操纵杆的输入处理

高精度定时器

多线程支持

支持opengl查询和扩展

支持图形载入。

当然了也是跨平台的。

 

 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值