3 ms·
As a complete newcomer to OpenGL, my first thought was "where's the WebGL column?" Now, that makes probably no sense; can someone clarify what these versions m
by ronjouch 11y ago
As a complete newcomer to OpenGL, my first thought was "where's the WebGL column?"
Now, that makes probably no sense; can someone clarify what these versions mean (apart from API availability described by this table, obviously), and if there's a relationship to the WebGL subset (it is a subset, right?).
- saurik 11y agohttps://www.khronos.org/webgl/ https://www.khronos.org/webgl/ "WebGL: OpenGL ES 2.0 for the Web"
- ronjouch 11y agoSimple. Was expected something more complicated, I could have looked further before asking ^^. Anyway, thanks!
- shurcooL 11y agoThere are some minor differences beyond types. For example, getShaderParameter is WebGL only. See https://github.com/BSVino/docs.gl/issues/9 https://github.com/BSVino/docs.gl/issues/9.
- TazeTSchnitzel 11y agoWebGL is based on OpenGL ES, so look at the es2 column.
- dietrichepp 11y agoWebGL has some differences from OpenGL ES, but the functions mostly have the same functionality. For example, instead of passing a pointer to glTexImage2D(), you can pass a typed array or an image element from the HTML DOM. Objects such as textures are also passed to the API as opaque objects rather than integer indexes.
- BSVino 11y agoHello, dev of docs.gl here. I would be happy to support WebGL but I don't use it myself so I've not prioritized adding it. I'm happy to work with any enterprising person who wants to help add it :)