What's the name of the mentioned enumeration? I want to create a byte array based on its name and size. I suppose LWJGL has this enum. I've googled it but I only found GetBooleanPName.
These are integers in LWJGL, and they are the same integers as in any C++ bindings. If you know their value you can simply use that.
If you want to use the constants in LWJGL you usually do it like this:
int enumCnst = GL11.GL_DEPTH_TEST;
I know they're integer constants but I thought (could have bet) they're organized in an enum. If they're not, the only reason I can think of now it's probably because they may be scattered in different GL versions...
Nope, they are not enums. (Although I would have preferred if they were)
But yes, they are scattered in different gl versions and you have to know in which they are. (which is a pain in the butt)
This is definitely one thing that could have been made better in my opinion.
Thanks for clearing this out.