GLFW

From GPWiki

(Redirected from What is GLFW)

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

GLFW (GL framework) is a platform-independant library that does things that would usually require platform-dependant code. Most notably:

  • Setting up windows and providing an OpenGL context for them
  • Reading input
  • Threading
  • Timing

The library is similar to SDL, except that it does less things that are not strictly tied to the platform, just texture loading. Therefore it is somewhat smaller. Also, the licence for GLFW (Zlib licence) is less strict than the one that SDL uses. At the moment GLFW supports pretty much any Unix with X11, MS Windows and Mac OS X.

Contents

Features

Feature Yes No
sound effects and music X
input X
timers X
font rendering X
windowing X
scripting X
GUI X
OpenGL X
networking X
math X
3d math X
file management X
threading X

Platforms

  • UNIX (including Linux, *BSD, Irix, Solaris)
  • Windows
  • Mac OS X
  • AmigaOS
  • DOS

Tutorials and Source

Introduction

Input

Example Game

Related Weblinks