# Module: ol/webgl

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/webgl

    import * as olWebgl from 'ol/webgl';

### Members

#### module:ol/webgl.ARRAY_BUFFER{number}

  Used by `WebGLHelper` for buffers containing vertices data, such as position, color, texture coordinate, etc. These vertices are then referenced by an index buffer to be drawn on screen (see `ELEMENT_ARRAY_BUFFER`).

#### module:ol/webgl.DYNAMIC_DRAW{number}

  Used by {link module:ol/webgl/Buffer~WebGLArrayBuffer}.

#### module:ol/webgl.ELEMENT_ARRAY_BUFFER{number}

  Used by `WebGLHelper` for buffers containing indices data. Index buffers are essentially lists of references to vertices defined in a vertex buffer (see `ARRAY_BUFFER`), and define the primitives (triangles) to be drawn.

#### module:ol/webgl.STATIC_DRAW{number}

  Used by {link module:ol/webgl/Buffer~WebGLArrayBuffer}.

#### module:ol/webgl.STREAM_DRAW{number}

  Used by {link module:ol/webgl/Buffer~WebGLArrayBuffer}.