- 
                Notifications
    
You must be signed in to change notification settings  - Fork 107
 
GL \ API updates
Suppose you need a brand new extension exposed by the lastest OpenGL driver. How include it in OpenGL.Net? It is not that hard.
Follow the steps:
- 
Checkout the OpenGL XML Registry at https://github.com/KhronosGroup/OpenGL-Registry. Copy the files
OpenGL-Registry/xml/gl.xml,OpenGL-Registry/xml/wgl.xml,OpenGL-Registry/xml/glx.xmlandOpenGL-Registry/xml/egl.xmlto theOpenGL.Net/GLSpecs/directory. - 
Open the a solution containing the BindingsGen (i.e.
/All*.slnor/BindingsGen.sln). Build the BindingsGen project, using the Release configuration. Then run it: it takes some minute and lots of ram. - 
Try to compile the OpenGL.Net projects: if no compilation errors occurs, you have almost done. In the case of compilation errors, you should check how to fix them by configuring (or modifying) the _BindingsGen _executable, or adapting the XML specifications.
 - 
Check actual modifications on OpenGL.Net project. If they are correct and usable, commit them. Enjoy.
 
The BindingsGen code generator has configuration files that are embedded in the executable. They are XML files that adds metadata to OpenGL specification elements.