GLFW

From GDWiki

Jump to: navigation, search

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 fewer platform dependent things; it just does texture loading. As a result it is somewhat smaller. Furthermore, the license 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

[edit] 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

[edit] Platforms

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

[edit] Tutorials and Source

[edit] Introduction

[edit] Input

[edit] Example Game

[edit] Related Weblinks

Personal tools