# WGL (API)

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/WGL_(API)
> Markdown URL: https://mediated.wiki/source/WGL_(API).md
> Source: https://en.wikipedia.org/wiki/WGL_(API)
> Source revision: 1348514972
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

**WGL** or **Wiggle** is an API between [OpenGL](/source/OpenGL) and the windowing system interface of [Windows](/source/Windows). WGL is analogous to [EGL](/source/EGL_(OpenGL)), which is an interface between rendering APIs such as OpenCL, OpenGL, OpenGL ES or OpenVG and the native platform, as well as to [CGL](/source/Core_OpenGL), which is the [OS X](/source/OS_X) interface to OpenGL.

## See also

- [CGL](/source/Core_OpenGL) – the equivalent [OS X](/source/OS_X) interface to OpenGL
- [GLX](/source/GLX) – the equivalent [X11](/source/X11) interface to OpenGL
- [EGL](/source/EGL_(OpenGL)) – a similar interface between to [OpenGL ES](/source/OpenGL_ES) and [OpenVG](/source/OpenVG) and a [windowing system](/source/Windowing_system); used by [Wayland](/source/Wayland_(display_server_protocol))
- [GLUT](/source/OpenGL_Utility_Toolkit) – a higher level interface that hides the differences between WGL, GLX, etc.

## External links

- [WGL functions](https://docs.microsoft.com/en-us/windows/win32/opengl/wgl-functions)
- [Tutorial](http://www.cprogramming.com/tutorial/wgl_wiggle_functions.html)
- [Technical resources about Windows OpenGL implementation on OpenGL website](http://www.opengl.org/archives/resources/faq/technical/mslinks.htm)

---
Adapted from the Wikipedia article [WGL (API)](https://en.wikipedia.org/wiki/WGL_(API)) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/WGL_(API)?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
