View Full Version : GL.XML new enums have no groups?

11-03-2013, 06:38 PM
I'm currently working with the https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml. I want to automatically create a source file of all enum(-groups) for C#. It works already for the ones that are listed in the group section in the beginning. But since some OpenGL versions, only new enums are introduced but never assigned to a enum group.

The enum MAX_COMPUTE_UNIFORM_BLOCKS belongs to the group GetPName but the only reason I found out is because I had a look at ARB_COMPUTE_SHADER Specs Page (Can't link it as a newbie).

So is there any way to retrieve the group names (parsing friendly) out of the file? It would be dirty to call all newer enum groups just enum V40 V41 V42 V43.

Thanks for your help!