Skip to content
Luca Piccioni edited this page Mar 9, 2017 · 3 revisions

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:

  1. Checkout the OpenGL XML Registry at https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/. Copy the following files to the /GLSpecs/ directory:
  • gl.xml
  • wgl.xml
  • glx.xml
  • egl.xml
  1. Optionally, update documentation source by checking-out OpenGL manuals:

Sync the directories located at /GLMan with the correponding repositories checked-out above.

  1. Open the solution file /BindingsGen.sln. Build the _BindingsGen _project, using the Release configuration. Then run it: it takes some minute.

  2. Try to compile the OpenGL.Net project: 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.

  3. Check actual modifications on OpenGL.Net project. If they are accettable, commit them. Enjoy.