Original author(s) | Mozilla Foundation |
---|---|
Developer(s) | Khronos WebGL Working Group |
Initial release | March 3, 2011[1] |
Stable release | 2.0
/ January 17, 2017 |
Platform | Cross-platform |
Type | API |
Website | www |
HTML |
---|
Comparisons |
WebGL (short for Web Graphics Library) is a JavaScript API for rendering interactive 2D and 3D graphics within any compatible web browser without the use of plug-ins.[2] WebGL is fully integrated with other web standards, allowing GPU-accelerated usage of physics, image processing, and effects in the HTML canvas. WebGL elements can be mixed with other HTML elements and composited with other parts of the page or page background.[3]
WebGL programs consist of control code written in JavaScript, and shader code written in OpenGL ES Shading Language (GLSL ES, sometimes referred to as ESSL), a language similar to C or C++. WebGL code is executed on a computer's GPU.
WebGL is designed and maintained by the non-profit Khronos Group.[4] On February 9, 2022, Khronos Group announced WebGL 2.0 support from all major browsers.[5]
WebGLFinal
was invoked but never defined (see the help page).WebGLWebsite
was invoked but never defined (see the help page).