Helpers for deriving info from OpenGL type enums