bindings/webgl2 library

Classes

WebGL2RenderingContext
The WebGL2RenderingContext interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML <canvas> element. To get an object of this interface, call getContext() on a <canvas> element, supplying "webgl2" as the argument: var canvas = document.getElementById('myCanvas'); var gl = canvas.getContext('webgl2');
WebGL2RenderingContextBase
WebGL2RenderingContextOverloads
WebGLQuery
The interface is part of the WebGL 2 API and provides ways to asynchronously query for information. By default, occlusion queries and primitive queries are available. Another kind of queries are disjoint timer queries, which allow you to measure performance and profiling of your GPU. Disjoint timer queries are available with the EXT_disjoint_timer_query extension only.
WebGLSampler
The interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.
WebGLSync
The interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.
WebGLTransformFeedback
The interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing. It allows to preserve the post-transform rendering state of an object and resubmit this data multiple times.
WebGLVertexArrayObject
The interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.