

Doxygen Documentations ( stable, master).Alternative Signatures for GLboolean and GLenum types.#include Īuto shader = glCreateShader(GL_COMPUTE_SHADER) It provides type-safe parameters, per-feature API headers, lazy function resolution, multi-context and multi-thread support, global and local function callbacks, meta information about the generated OpenGL binding and the OpenGL runtime, as well as tools and examples for quick-starting your projects.īased on the OpenGL API specification ( gl.xml) glbinding is generated using python scripts and templates that can be easily adapted to fit custom needs.Ĭode that is written using a typical C binding for OpenGL, e.g., GLEW, is fully compatible for the use with glbinding and causes no significant impact on runtime performance (see compare example): just replace all includes to the former binding, replace the initialization code and use the appropriate API namespace, e.g., gl for full availability of the OpenGL API.

Glbinding leverages C++11 features like enum classes, lambdas, and variadic templates, instead of relying on macros Īll OpenGL symbols are real functions and variables. Glbinding is a cross-platform C++ binding for the OpenGL API.
