From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Original author(s) CGInternals GmbH and the Computer Graphics Systems Group at HPI
Stable release
2.0.0 / March 24, 2016; 2 years ago (2016-03-24)[1]
Repository Edit this at Wikidata
Written in C++ and Python
Platform Cross-platform
License MIT License

glbinding is a generated, cross-platform C++ binding for OpenGL which is solely based on the new xml-based OpenGL API specification (gl.xml). It is a fully fledged OpenGL API binding, compatible with current code based on other C bindings, e.g., GLEW. The binding is generated using Python scripts and templates, that can be easily adapted to fit custom needs. It leverages modern C++11 features like enum classes, lambdas, and variadic templates, instead of relying on macros (all OpenGL symbols are real functions and variables). It provides type-safe parameters, per feature API header, lazy function resolution, multi-context and multi-thread support, global function callbacks, meta information about the generated OpenGL binding and the OpenGL runtime, as well as multiple examples for quick-starting your projects.

The complete glbinding source code including the generated files are published under the MIT License.

See also[edit]

External links[edit]


  1. ^ "glbinding: GitHub Tag of version 2.0.0". Retrieved March 30, 2016.