Load OpenGL library.
Sets the "active texture" which is more precisely active texture unit.
Check for pending OpenGL errors, log a message if there is. Only for debug purpose since this check will be disabled in a release build.
Returns a slice made up of available extension names.
Returns the requested float returned by glGetFloatv.
Returns the requested int returned by glGetFloatv.
Returns OpenGL string returned by glGetString.
Returns OpenGL string returned by glGetStringi.
Returns GLSL version string.
Returns the name of the renderer. This name is typically specific to a particular configuration of a hardware platform.
Returns OpenGL major version.
Returns the maximum number of color attachments. This is the number of targets a fragment shader can output to. You can rely on this number being at least 4 if MRT is supported.
Returns OpenGL minor version.
Reload OpenGL function pointers. Once a first OpenGL context has been created, you should call reload() to get the context you want. This will attempt to load every OpenGL function except deprecated. Warning: This may be dangerous because drivers may miss some functions!
Checks pending OpenGL errors.
Checks pending OpenGL errors. Returns true if at least one OpenGL error was pending. OpenGL error status is cleared.
Returns true if the OpenGL extension is supported.
Swap OpenGL buffers.
Tries to detect the driver maker. Returns identified vendor.
Returns the company responsible for this OpenGL implementation.
Returns OpenGL version string.