checkgl checks in a debug build after every opengl call glGetError and calls an error-callback which can be set with set_error_callback a default is provided
Converts an OpenGL errorenum to a string
D type to OpenGL enum
OpenGL enum to D type
OpenGL enum to D type size