glbinding
{{Infobox software
| name = glbinding
| title = glbinding
| logo =
| screenshot =
| caption =
| collapsible =
| author = Computer Graphics Systems Group at HPI
| developer = CGInternals GmbH
| released =
| discontinued =
| latest release version = 3.3.0
| latest release date = {{Start date and age|2023|02|12}}{{cite web |url=https://github.com/cginternals/glbinding/releases/tag/v3.3.0 |title=Release glbinding-3.3.0 |department=cginternals/glbinding |website=GitHub |accessdate=2023-02-20}}
| latest preview version =
| latest preview date =
| programming language = C++ and Python
| operating system =
| platform = Cross-platform
| size =
| language =
| genre =
| license = MIT License
| website = {{Official URL}}
}}
glbinding is a generated, cross-platform C++ binding for OpenGL which is solely based on the new XML-based OpenGL API specification ({{URL|https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml|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 scoped enums, 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 projects.
The complete glbinding source code including the generated files are published under the MIT License.
See also
References
{{Reflist}}