GLUX stands for OpenGL Useful eXtensions. It provides basic functionality such as texture loading, shader compiling and mathematic operations on matrices, vectors and quaternions. Consider it the OpenGL equivalent of Microsoft’s D3DX library.
GLUX is released under the BSD license. For more information, see COPYRIGHT.txt.
The code is written in a portable style, and has been tested with Microsoft Visual Studio and gcc. It was tested under Windows XP, Vista, Windows 7, linux and FreeBSD.
In order to build the GLUX library, the following libraries need to be installed on the system (the development version, if applicable):
- OpenGL (or compatible, such as MesaGL)
GLUX provides some basic datastructures and helper functions/wrappers to make OpenGL more accessible. There are helpers for texture loading, shader loading, compiling and linking, and basic mathematics (vectors, matrices and quaternions).
GLUX also provides an interface for reference-counting and a template for wrapping OpenGL resources into reference-counted objects with automatic cleanup.
GLUX is designed as a stand-alone API, and can be used by anyone who wants to develop their own OpenGL framework, but doesn’t want to re-invent the wheel for loading textures, shaders and such, or for basic maths.
The project can be found on SourceForge: https://sourceforge.net/projects/glux/