java - why are all the opengl enums hexadecimal? -



java - why are all the opengl enums hexadecimal? -

why opengl enums hexidecimal?

example:

gl_max_vertex_uniform_components = 0x8b4a

the enums used parameters in gl functions. question is, why parameters hexidecimal ?

not sure in case, in cases matters bits set, using hexadecimal easier figure out bits set.

java opengl enums hex

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -