![]() ![]() WebGL evolved out of the Canvas 3D experiments started by Vladimir Vukićević at Mozilla. This code is executed for each and every vertex sent through the API and for each pixel rasterized to the screen. The WebGL implementation compiles these shader instructions to GPU code. Shaders in WebGL are expressed directly in GLSL and passed to the WebGL API as textual strings. This functionality, if so required, has to be implemented by the end-developer by providing shader code and configuring data bindings in JavaScript. Like OpenGL ES 2.0, WebGL does not have the fixed-function APIs introduced in OpenGL 1.0 and deprecated in OpenGL 3.0. Automatic memory management is provided implicitly by JavaScript. WebGL 2.0 is based on OpenGL ES 3.0 and made guaranteed availability of many optional extensions of WebGL 1.0 and exposes new APIs. It uses the HTML5 canvas element and is accessed using Document Object Model (DOM) interfaces. WebGL 1.0 is based on OpenGL ES 2.0 and provides an API for 3D graphics. 3.1 Almost Native Graphics Layer Engine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |