Closed mode777 closed 6 years ago
Missing enumerations and overloads are to be filled in here: https://raw.githubusercontent.com/luca-piccioni/OpenGL.Net/master/GLSpecs/gl.xml
You could also consider submitting a PR to the OpenGL Registry
Thx for the explanation!
Done: https://github.com/KhronosGroup/OpenGL-Registry/pull/193
@mode777 If you want to solve it quickly, just cast the raw enumeration value (GL_) to the strongly typed enumeration type. It just works. However, issuing to the OpenGL Registry is the best option.
I just noticed that the strongly typed enum
GetPName
, which is used e.g. in theGl.GetInteger
is missing a value for ActiveTexture (possibly others as well).Reference: https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glGet.xml
Is there a reason for this omission? Is there a better way to query these values? Otherwise I would submit a pull request but the code seems to be auto generated.