Liking cljdoc? Tell your friends :D

web.gl.WebGL2RenderingContext

The WebGL2RenderingContext interface provides the OpenGL ES 3.0 context for the drawing surface of an HTML <canvas> element.

The WebGL2RenderingContext interface provides the OpenGL ES 3.0
context for the drawing surface of an HTML `<canvas>` element.
raw docstring

begin-querycljs

(begin-query this target query)

Method.

[Experimental]

The WebGL2RenderingContext.beginQuery() method of the WebGL 2 starts an asynchronous query. The target parameter indicates kind of query to begin.

void gl.beginQuery(target, query);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery

Method.

[Experimental]

The WebGL2RenderingContext.beginQuery() method of the WebGL 2
starts an asynchronous query. The target parameter indicates
kind of query to begin.

`void gl.beginQuery(target, query);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery`
sourceraw docstring

begin-transform-feedbackcljs

(begin-transform-feedback this primitive-mode)

Method.

[Experimental]

The WebGL2RenderingContext.beginTransformFeedback() method of WebGL 2 API starts a transform feedback operation.

void gl.beginTransformFeedback(primitiveMode);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.beginTransformFeedback() method of
WebGL 2 API starts a transform feedback operation.

`void gl.beginTransformFeedback(primitiveMode);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback`
sourceraw docstring

bind-buffer-basecljs

(bind-buffer-base this target index buffer)

Method.

[Experimental]

The WebGL2RenderingContext.bindBufferBase() method of the WebGL API binds a given web.gl.WebGLBuffer to a given binding point at a given index.

void gl.bindBufferBase(target, index, buffer);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase

Method.

[Experimental]

The WebGL2RenderingContext.bindBufferBase() method of the WebGL
API binds a given `web.gl.WebGLBuffer` to a given binding point
at a given index.

`void gl.bindBufferBase(target, index, buffer);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase`
sourceraw docstring

bind-buffer-rangecljs

(bind-buffer-range this target index buffer offset size)

Method.

[Experimental]

The WebGL2RenderingContext.bindBufferRange() method of the WebGL API binds a range of a given web.gl.WebGLBuffer to a given point (target) at a given index.

void gl.bindBufferRange(target, index, buffer, offset, size);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange

Method.

[Experimental]

The WebGL2RenderingContext.bindBufferRange() method of the WebGL
API binds a range of a given `web.gl.WebGLBuffer` to a given
point (target) at a given index.

`void gl.bindBufferRange(target, index, buffer, offset, size);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange`
sourceraw docstring

bind-samplercljs

(bind-sampler this unit sampler)

Method.

[Experimental]

The WebGL2RenderingContext.bindSampler() method of the WebGL API binds a passed web.gl.WebGLSampler object to the texture at the passed index.

void gl.bindSampler(unit, sampler);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler

Method.

[Experimental]

The WebGL2RenderingContext.bindSampler() method of the WebGL
API binds a passed `web.gl.WebGLSampler` object to the texture
at the passed index.

`void gl.bindSampler(unit, sampler);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler`
sourceraw docstring

bind-transform-feedbackcljs

(bind-transform-feedback this target transform-feedback)

Method.

[Experimental]

The WebGL2RenderingContext.bindTransformFeedback() method of WebGL 2 API binds a passed web.gl.WebGLTransformFeedback object the current GL state.

void gl.bindTransformFeedback(target, transformFeedback);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.bindTransformFeedback() method of
WebGL 2 API binds a passed `web.gl.WebGLTransformFeedback` object
the current GL state.

`void gl.bindTransformFeedback(target, transformFeedback);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback`
sourceraw docstring

bind-vertex-arraycljs

(bind-vertex-array this vertex-array)

Method.

[Experimental]

The WebGL2RenderingContext.bindVertexArray() method of the WebGL API binds a passed web.gl.WebGLVertexArrayObject object to buffer.

void gl.bindVertexArray(vertexArray);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray

Method.

[Experimental]

The WebGL2RenderingContext.bindVertexArray() method of the WebGL
API binds a passed `web.gl.WebGLVertexArrayObject` object to
buffer.

`void gl.bindVertexArray(vertexArray);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray`
sourceraw docstring

blit-framebuffercljs

(blit-framebuffer this & args)

Method.

[Experimental]

The WebGL2RenderingContext.blitFramebuffer() method of the WebGL API transfers a block of pixels from the read framebuffer to draw framebuffer.

void gl.blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer

Method.

[Experimental]

The WebGL2RenderingContext.blitFramebuffer() method of the WebGL
API transfers a block of pixels from the read framebuffer to
draw framebuffer.

`void gl.blitFramebuffer(srcX0, srcY0, srcX1, srcY1,
dstX0, dstY0, dstX1, dstY1,
mask, filter);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer`
sourceraw docstring

clear-buffercljs

(clear-buffer this & args)

Method.

[Experimental]

The WebGL2RenderingContext.clearBufferfiuv methods of the 2 API clear buffers from the currently bound framebuffer.

void gl.clearBufferfv(buffer, drawbuffer, values, optional srcOffset); void gl.clearBufferiv(buffer, drawbuffer, values, optional srcOffset); void gl.clearBufferuiv(buffer, drawbuffer, values, optional srcOffset); void gl.clearBufferfi(buffer, drawbuffer, depth, stencil);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBuffer

Method.

[Experimental]

The WebGL2RenderingContext.clearBuffer[fiuv]() methods of the
2 API clear buffers from the currently bound framebuffer.

`void gl.clearBufferfv(buffer, drawbuffer, values, optional srcOffset);
void gl.clearBufferiv(buffer, drawbuffer, values, optional srcOffset);
void gl.clearBufferuiv(buffer, drawbuffer, values, optional srcOffset);
void gl.clearBufferfi(buffer, drawbuffer, depth, stencil);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBuffer`
sourceraw docstring

client-wait-synccljs

(client-wait-sync this sync flags timeout)

Method.

[Experimental]

The WebGL2RenderingContext.clientWaitSync() method of the WebGL API blocks and waits for a web.gl.WebGLSync object to become or a given timeout to be passed.

GLenum gl.clientWaitSync(sync, flags, timeout);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync

Method.

[Experimental]

The WebGL2RenderingContext.clientWaitSync() method of the WebGL
API blocks and waits for a `web.gl.WebGLSync` object to become
or a given timeout to be passed.

`GLenum gl.clientWaitSync(sync, flags, timeout);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync`
sourceraw docstring

compressed-tex-sub-image3dcljs

(compressed-tex-sub-image3d this & args)

Method.

[Experimental]

The WebGL2RenderingContext.compressedTexSubImage3D() method of WebGL API specifies a three-dimensional sub-rectangle for a texture in a compressed format.

`// read from the buffer bound to gl.PIXEL_UNPACK_BUFFER void gl.compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, offset);

void gl.compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, ArrayBufferView srcData, optional srcOffset, optional srcLengthOverride);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D

Method.

[Experimental]

The WebGL2RenderingContext.compressedTexSubImage3D() method of
WebGL API specifies a three-dimensional sub-rectangle for a texture
in a compressed format.

`// read from the buffer bound to gl.PIXEL_UNPACK_BUFFER
void gl.compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, offset);

void gl.compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, ArrayBufferView srcData, optional srcOffset, optional srcLengthOverride);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D`
sourceraw docstring

copy-buffer-sub-datacljs

(copy-buffer-sub-data this
                      read-target
                      write-target
                      read-offset
                      write-offset
                      size)

Method.

[Experimental]

The WebGL2RenderingContext.copyBufferSubData() method of the 2 API copies part of the data of a buffer to another buffer.

void gl.copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData

Method.

[Experimental]

The WebGL2RenderingContext.copyBufferSubData() method of the
2 API copies part of the data of a buffer to another buffer.

`void gl.copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData`
sourceraw docstring

copy-tex-sub-image3dcljs

(copy-tex-sub-image3d this
                      target
                      level
                      xoffset
                      yoffset
                      zoffset
                      x
                      y
                      width
                      height)

Method.

[Experimental]

The WebGL2RenderingContext.copyTexSubImage3D() method of the API copies pixels from the current web.gl.WebGLFramebuffer an existing 3D texture sub-image.

void gl.copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D

Method.

[Experimental]

The WebGL2RenderingContext.copyTexSubImage3D() method of the
API copies pixels from the current `web.gl.WebGLFramebuffer`
an existing 3D texture sub-image.

`void gl.copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D`
sourceraw docstring

create-querycljs

(create-query this)

Method.

[Experimental]

The WebGL2RenderingContext.createQuery() method of the WebGL API creates and initializes web.gl.WebGLQuery objects, which ways to asynchronously query for information.

WebGLQuery gl.createQuery();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery

Method.

[Experimental]

The WebGL2RenderingContext.createQuery() method of the WebGL
API creates and initializes `web.gl.WebGLQuery` objects, which
ways to asynchronously query for information.

`WebGLQuery gl.createQuery();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery`
sourceraw docstring

create-samplercljs

(create-sampler this)

Method.

[Experimental]

The WebGL2RenderingContext.createSampler() method of the WebGL API creates and initializes web.gl.WebGLSampler objects.

WebGLSampler gl.createSampler();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler

Method.

[Experimental]

The WebGL2RenderingContext.createSampler() method of the WebGL
API creates and initializes `web.gl.WebGLSampler` objects.

`WebGLSampler gl.createSampler();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler`
sourceraw docstring

create-transform-feedbackcljs

(create-transform-feedback this)

Method.

[Experimental]

The WebGL2RenderingContext.createTransformFeedback() method of WebGL 2 API creates and initializes web.gl.WebGLTransformFeedback

WebGLTransformFeedback gl.createTransformFeedback();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.createTransformFeedback() method of
WebGL 2 API creates and initializes `web.gl.WebGLTransformFeedback`

`WebGLTransformFeedback gl.createTransformFeedback();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback`
sourceraw docstring

create-vertex-arraycljs

(create-vertex-array this)

Method.

[Experimental]

The WebGL2RenderingContext.createVertexArray() method of the 2 API creates and initializes a web.gl.WebGLVertexArrayObject that represents a vertex array object (VAO) pointing to vertex data and which provides names for different sets of vertex data.

WebGLVertexArrayObject gl.createVertexArray();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray

Method.

[Experimental]

The WebGL2RenderingContext.createVertexArray() method of the
2 API creates and initializes a `web.gl.WebGLVertexArrayObject`
that represents a vertex array object (VAO) pointing to vertex
data and which provides names for different sets of vertex data.

`WebGLVertexArrayObject gl.createVertexArray();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray`
sourceraw docstring

delete-querycljs

(delete-query this query)

Method.

[Experimental]

The WebGL2RenderingContext.deleteQuery() method of the WebGL API deletes a given web.gl.WebGLQuery object.

void gl.deleteQuery(query);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery

Method.

[Experimental]

The WebGL2RenderingContext.deleteQuery() method of the WebGL
API deletes a given `web.gl.WebGLQuery` object.

`void gl.deleteQuery(query);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery`
sourceraw docstring

delete-samplercljs

(delete-sampler this sampler)

Method.

[Experimental]

The WebGL2RenderingContext.deleteSampler() method of the WebGL API deletes a given web.gl.WebGLSampler object.

void gl.deleteSampler(sampler);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler

Method.

[Experimental]

The WebGL2RenderingContext.deleteSampler() method of the WebGL
API deletes a given `web.gl.WebGLSampler` object.

`void gl.deleteSampler(sampler);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler`
sourceraw docstring

delete-synccljs

(delete-sync this sync)

Method.

[Experimental]

The WebGL2RenderingContext.deleteSync() method of the WebGL 2 deletes a given web.gl.WebGLSync object.

void gl.deleteSync(sync);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync

Method.

[Experimental]

The WebGL2RenderingContext.deleteSync() method of the WebGL 2
deletes a given `web.gl.WebGLSync` object.

`void gl.deleteSync(sync);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync`
sourceraw docstring

delete-transform-feedbackcljs

(delete-transform-feedback this transform-feedback)

Method.

[Experimental]

The WebGL2RenderingContext.deleteTransformFeedback() method of WebGL 2 API deletes a given web.gl.WebGLTransformFeedback object.

void gl.deleteTransformFeedback(transformFeedback);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.deleteTransformFeedback() method of
WebGL 2 API deletes a given `web.gl.WebGLTransformFeedback` object.

`void gl.deleteTransformFeedback(transformFeedback);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback`
sourceraw docstring

delete-vertex-arraycljs

(delete-vertex-array this vertex-array)

Method.

[Experimental]

The WebGL2RenderingContext.deleteVertexArray() method of the 2 API deletes a given web.gl.WebGLVertexArrayObject object.

void gl.deleteVertexArray(vertexArray);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray

Method.

[Experimental]

The WebGL2RenderingContext.deleteVertexArray() method of the
2 API deletes a given `web.gl.WebGLVertexArrayObject` object.

`void gl.deleteVertexArray(vertexArray);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray`
sourceraw docstring

draw-arrays-instancedcljs

(draw-arrays-instanced this mode first count instance-count)

Method.

[Experimental]

The WebGL2RenderingContext.drawArraysInstanced() method of the 2 API renders primitives from array data like the gl.drawArrays() In addition, it can execute multiple instances of the range of

void gl.drawArraysInstanced(mode, first, count, instanceCount);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced

Method.

[Experimental]

The WebGL2RenderingContext.drawArraysInstanced() method of the
2 API renders primitives from array data like the `gl.drawArrays()`
In addition, it can execute multiple instances of the range of

`void gl.drawArraysInstanced(mode, first, count, instanceCount);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced`
sourceraw docstring

draw-bufferscljs

(draw-buffers this buffers)

Method.

[Experimental]

The WebGL2RenderingContext.drawBuffers() method of the WebGL API defines draw buffers to which fragment colors are written The draw buffer settings are part of the state of the currently framebuffer or the drawingbuffer if no framebuffer is bound.

void gl.drawBuffers(buffers);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers

Method.

[Experimental]

The WebGL2RenderingContext.drawBuffers() method of the WebGL
API defines draw buffers to which fragment colors are written
The draw buffer settings are part of the state of the currently
framebuffer or the drawingbuffer if no framebuffer is bound.

`void gl.drawBuffers(buffers);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers`
sourceraw docstring

draw-elements-instancedcljs

(draw-elements-instanced this mode count type offset instance-count)

Method.

[Experimental]

The WebGL2RenderingContext.drawElementsInstanced() method of WebGL 2 API renders primitives from array data like the gl.drawElements() In addition, it can execute multiple instances of a set of elements.

void gl.drawElementsInstanced(mode, count, type, offset, instanceCount);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced

Method.

[Experimental]

The WebGL2RenderingContext.drawElementsInstanced() method of
WebGL 2 API renders primitives from array data like the `gl.drawElements()`
In addition, it can execute multiple instances of a set of elements.

`void gl.drawElementsInstanced(mode, count, type, offset, instanceCount);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced`
sourceraw docstring

draw-range-elementscljs

(draw-range-elements this mode start end count type offset)

Method.

[Experimental]

The WebGL2RenderingContext.drawRangeElements() method of the API renders primitives from array data in a given range.

void gl.drawRangeElements(mode, start, end, count, type, offset);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements

Method.

[Experimental]

The WebGL2RenderingContext.drawRangeElements() method of the
API renders primitives from array data in a given range.

`void gl.drawRangeElements(mode, start, end, count, type, offset);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements`
sourceraw docstring

end-querycljs

(end-query this target)

Method.

[Experimental]

The WebGL2RenderingContext.endQuery() method of the WebGL 2 API the end of a given query target.

void gl.endQuery(target);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery

Method.

[Experimental]

The WebGL2RenderingContext.endQuery() method of the WebGL 2 API
the end of a given query target.

`void gl.endQuery(target);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery`
sourceraw docstring

end-transform-feedbackcljs

(end-transform-feedback this)

Method.

[Experimental]

The WebGL2RenderingContext.endTransformFeedback() method of the 2 API ends a transform feedback operation.

void gl.endTransformFeedback();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.endTransformFeedback() method of the
2 API ends a transform feedback operation.

`void gl.endTransformFeedback();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback`
sourceraw docstring

fence-synccljs

(fence-sync this condition flags)

Method.

[Experimental]

The WebGL2RenderingContext.fenceSync() method of the WebGL 2 creates a new web.gl.WebGLSync object and inserts it into the command stream.

WebGLSync gl.fenceSync(condition, flags);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync

Method.

[Experimental]

The WebGL2RenderingContext.fenceSync() method of the WebGL 2
creates a new `web.gl.WebGLSync` object and inserts it into the
command stream.

`WebGLSync gl.fenceSync(condition, flags);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync`
sourceraw docstring

framebuffer-texture-layercljs

(framebuffer-texture-layer this target attachment texture level layer)

Method.

[Experimental]

The WebGL2RenderingContext.framebufferTextureLayer() method of WebGL 2 API attaches a single layer of a texture to a framebuffer.

void gl.framebufferTextureLayer(target, attachment, texture, level, layer);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer

Method.

[Experimental]

The WebGL2RenderingContext.framebufferTextureLayer() method of
WebGL 2 API attaches a single layer of a texture to a framebuffer.

`void gl.framebufferTextureLayer(target, attachment, texture, level, layer);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer`
sourceraw docstring

get-active-uniform-block-namecljs

(get-active-uniform-block-name this program uniform-block-index)

Method.

[Experimental]

The WebGL2RenderingContext.getActiveUniformBlockName() method the WebGL 2 API retrieves the name of the active uniform block a given index within a web.gl.WebGLProgram.

DOMString gl.getActiveUniformBlockName(program, uniformBlockIndex);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName

Method.

[Experimental]

The WebGL2RenderingContext.getActiveUniformBlockName() method
the WebGL 2 API retrieves the name of the active uniform block
a given index within a `web.gl.WebGLProgram`.

`DOMString gl.getActiveUniformBlockName(program, uniformBlockIndex);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName`
sourceraw docstring

get-active-uniform-block-parametercljs

(get-active-uniform-block-parameter this program uniform-block-index pname)

Method.

[Experimental]

The WebGL2RenderingContext.getActiveUniformBlockParameter() method the WebGL 2 API retrieves information about an active uniform within a web.gl.WebGLProgram.

any gl.getActiveUniformBlockParameter(program, uniformBlockIndex, pname);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter

Method.

[Experimental]

The WebGL2RenderingContext.getActiveUniformBlockParameter() method
the WebGL 2 API retrieves information about an active uniform
within a `web.gl.WebGLProgram`.

`any gl.getActiveUniformBlockParameter(program, uniformBlockIndex, pname);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter`
sourceraw docstring

get-active-uniformscljs

(get-active-uniforms this program uniform-indices pname)

Method.

[Experimental]

The WebGL2RenderingContext.getActiveUniforms() method of the 2 API retrieves information about active uniforms within a web.gl.WebGLProgram.

any gl.getActiveUniforms(program, uniformIndices, pname);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniforms

Method.

[Experimental]

The WebGL2RenderingContext.getActiveUniforms() method of the
2 API retrieves information about active uniforms within a `web.gl.WebGLProgram`.

`any gl.getActiveUniforms(program, uniformIndices, pname);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniforms`
sourceraw docstring

get-buffer-sub-datacljs

(get-buffer-sub-data this & args)

Method.

[Experimental]

The WebGL2RenderingContext.getBufferSubData() method of the WebGL API reads data from a buffer binding point and writes them to js.ArrayBuffer or js.SharedArrayBuffer.

void gl.getBufferSubData(target, srcByteOffset, ArrayBufferView dstData, optional dstOffset, optional length);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData

Method.

[Experimental]

The WebGL2RenderingContext.getBufferSubData() method of the WebGL
API reads data from a buffer binding point and writes them to
`js.ArrayBuffer` or `js.SharedArrayBuffer`.

`void gl.getBufferSubData(target, srcByteOffset, ArrayBufferView dstData, optional dstOffset, optional length);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData`
sourceraw docstring

get-frag-data-locationcljs

(get-frag-data-location this program name)

Method.

[Experimental]

The WebGL2RenderingContext.getFragDataLocation() method of the 2 API returns the binding of color numbers to user-defined varying variables.

GLint gl.getFragDataLocation(program, name);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation

Method.

[Experimental]

The WebGL2RenderingContext.getFragDataLocation() method of the
2 API returns the binding of color numbers to user-defined varying
variables.

`GLint gl.getFragDataLocation(program, name);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation`
sourceraw docstring

get-indexed-parametercljs

(get-indexed-parameter this target index)

Method.

[Experimental]

The WebGL2RenderingContext.getIndexedParameter() method of the 2 API returns indexed information about a given target.

any gl.getIndexedParameter(target, index);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter

Method.

[Experimental]

The WebGL2RenderingContext.getIndexedParameter() method of the
2 API returns indexed information about a given target.

`any gl.getIndexedParameter(target, index);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter`
sourceraw docstring

get-internalformat-parametercljs

(get-internalformat-parameter this target internalformat pname)

Method.

[Experimental]

The WebGL2RenderingContext.getInternalformatParameter() method the WebGL 2 API returns information about implementation-dependent for internal formats.

any gl.getInternalformatParameter(target, internalformat, pname);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter

Method.

[Experimental]

The WebGL2RenderingContext.getInternalformatParameter() method
the WebGL 2 API returns information about implementation-dependent
for internal formats.

`any gl.getInternalformatParameter(target, internalformat, pname);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter`
sourceraw docstring

get-querycljs

(get-query this target pname)

Method.

[Experimental]

The WebGL2RenderingContext.getQuery() method of the WebGL 2 API the currently active web.gl.WebGLQuery for the target, or js.null.

WebGLQuery gl.getQuery(target, pname);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery

Method.

[Experimental]

The WebGL2RenderingContext.getQuery() method of the WebGL 2 API
the currently active `web.gl.WebGLQuery` for the target, or `js.null`.

`WebGLQuery gl.getQuery(target, pname);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery`
sourceraw docstring

get-query-parametercljs

(get-query-parameter this query pname)

Method.

[Experimental]

The WebGL2RenderingContext.getQueryParameter() method of the 2 API returns parameter information of a web.gl.WebGLQuery

any gl.getQueryParameter(query, pname);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter

Method.

[Experimental]

The WebGL2RenderingContext.getQueryParameter() method of the
2 API returns parameter information of a `web.gl.WebGLQuery`

`any gl.getQueryParameter(query, pname);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter`
sourceraw docstring

get-sampler-parametercljs

(get-sampler-parameter this sampler pname)

Method.

[Experimental]

The WebGL2RenderingContext.getSamplerParameter() method of the 2 API returns parameter information of a web.gl.WebGLSampler

any gl.getSamplerParameter(sampler, pname);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter

Method.

[Experimental]

The WebGL2RenderingContext.getSamplerParameter() method of the
2 API returns parameter information of a `web.gl.WebGLSampler`

`any gl.getSamplerParameter(sampler, pname);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter`
sourceraw docstring

get-sync-parametercljs

(get-sync-parameter this sync pname)

Method.

[Experimental]

The WebGL2RenderingContext.getSyncParameter() method of the WebGL API returns parameter information of a web.gl.WebGLSync object.

any gl.getSyncParameter(sync, pname);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter

Method.

[Experimental]

The WebGL2RenderingContext.getSyncParameter() method of the WebGL
API returns parameter information of a `web.gl.WebGLSync` object.

`any gl.getSyncParameter(sync, pname);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter`
sourceraw docstring

get-transform-feedback-varyingcljs

(get-transform-feedback-varying this program index)

Method.

[Experimental]

The WebGL2RenderingContext.getTransformFeedbackVarying() method the WebGL 2 API returns information about varying variables from buffers.

WebGLActiveInfo gl.getTransformFeedbackVarying(program, index);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying

Method.

[Experimental]

The WebGL2RenderingContext.getTransformFeedbackVarying() method
the WebGL 2 API returns information about varying variables from
buffers.

`WebGLActiveInfo gl.getTransformFeedbackVarying(program, index);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying`
sourceraw docstring

get-uniform-block-indexcljs

(get-uniform-block-index this program uniform-block-name)

Method.

[Experimental]

The WebGL2RenderingContext.getUniformBlockIndex() method of the 2 API retrieves the index of a uniform block within a web.gl.WebGLProgram.

GLuint gl.getUniformBlockIndex(program, uniformBlockName);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex

Method.

[Experimental]

The WebGL2RenderingContext.getUniformBlockIndex() method of the
2 API retrieves the index of a uniform block within a `web.gl.WebGLProgram`.

`GLuint gl.getUniformBlockIndex(program, uniformBlockName);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex`
sourceraw docstring

get-uniform-indicescljs

(get-uniform-indices this program uniform-names)

Method.

[Experimental]

The WebGL2RenderingContext.getUniformIndices() method of the 2 API retrieves the indices of a number of uniforms within a

sequence<GLuint> gl.getUniformIndices(program, uniformNames);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformIndices

Method.

[Experimental]

The WebGL2RenderingContext.getUniformIndices() method of the
2 API retrieves the indices of a number of uniforms within a

`sequence<GLuint> gl.getUniformIndices(program, uniformNames);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformIndices`
sourceraw docstring

invalidate-framebuffercljs

(invalidate-framebuffer this target attachments)

Method.

[Experimental]

The WebGL2RenderingContext.invalidateFramebuffer() method of WebGL 2 API invalidates the contents of attachments in a framebuffer.

void gl.invalidateFramebuffer(target, attachments);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer

Method.

[Experimental]

The WebGL2RenderingContext.invalidateFramebuffer() method of
WebGL 2 API invalidates the contents of attachments in a framebuffer.

`void gl.invalidateFramebuffer(target, attachments);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer`
sourceraw docstring

invalidate-sub-framebuffercljs

(invalidate-sub-framebuffer this target attachments x y width height)

Method.

[Experimental]

The WebGL2RenderingContext.invalidateSubFramebuffer() method the WebGL 2 API invalidates portions of the contents of attachments a framebuffer.

void gl.invalidateSubFramebuffer(target, attachments, x, y, width, height);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer

Method.

[Experimental]

The WebGL2RenderingContext.invalidateSubFramebuffer() method
the WebGL 2 API invalidates portions of the contents of attachments
a framebuffer.

`void gl.invalidateSubFramebuffer(target, attachments, x, y, width, height);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer`
sourceraw docstring

is-querycljs

(is-query this query)

Method.

[Experimental]

The WebGL2RenderingContext.isQuery() method of the WebGL 2 API true if the passed object is a valid web.gl.WebGLQuery object.

GLBoolean gl.isQuery(query);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery

Method.

[Experimental]

The WebGL2RenderingContext.isQuery() method of the WebGL 2 API
true if the passed object is a valid `web.gl.WebGLQuery` object.

`GLBoolean gl.isQuery(query);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery`
sourceraw docstring

is-samplercljs

(is-sampler this sampler)

Method.

[Experimental]

The WebGL2RenderingContext.isSampler() method of the WebGL 2 returns true if the passed object is a valid web.gl.WebGLSampler

GLboolean gl.isSampler(sampler);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler

Method.

[Experimental]

The WebGL2RenderingContext.isSampler() method of the WebGL 2
returns true if the passed object is a valid `web.gl.WebGLSampler`

`GLboolean gl.isSampler(sampler);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler`
sourceraw docstring

is-synccljs

(is-sync this sync)

Method.

[Experimental]

The WebGL2RenderingContext.isSync() method of the WebGL 2 API true if the passed object is a valid web.gl.WebGLSync object.

GLboolean gl.isSync(sync);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync

Method.

[Experimental]

The WebGL2RenderingContext.isSync() method of the WebGL 2 API
true if the passed object is a valid `web.gl.WebGLSync` object.

`GLboolean gl.isSync(sync);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync`
sourceraw docstring

is-transform-feedbackcljs

(is-transform-feedback this transform-feedback)

Method.

[Experimental]

The WebGL2RenderingContext.isTransformFeedback() method of the 2 API returns true if the passed object is a valid web.gl.WebGLTransformFeedback

GLboolean gl.isTransformFeedback(transformFeedback);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.isTransformFeedback() method of the
2 API returns true if the passed object is a valid `web.gl.WebGLTransformFeedback`

`GLboolean gl.isTransformFeedback(transformFeedback);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback`
sourceraw docstring

is-vertex-arraycljs

(is-vertex-array this vertex-array)

Method.

[Experimental]

The WebGL2RenderingContext.isVertexArray() method of the WebGL returns true if the passed object is a valid web.gl.WebGLVertexArrayObject

GLBoolean gl.isVertexArray(vertexArray);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray

Method.

[Experimental]

The WebGL2RenderingContext.isVertexArray() method of the WebGL
returns true if the passed object is a valid `web.gl.WebGLVertexArrayObject`

`GLBoolean gl.isVertexArray(vertexArray);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray`
sourceraw docstring

pause-transform-feedbackcljs

(pause-transform-feedback this)

Method.

[Experimental]

The WebGL2RenderingContext.pauseTransformFeedback() method of WebGL 2 API pauses a transform feedback operation.

void gl.pauseTransformFeedback();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.pauseTransformFeedback() method of
WebGL 2 API pauses a transform feedback operation.

`void gl.pauseTransformFeedback();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback`
sourceraw docstring

read-buffercljs

(read-buffer this src)

Method.

[Experimental]

The WebGL2RenderingContext.readBuffer() method of the WebGL 2 selects a color buffer as the source for pixels for subsequent to copyTexImage2D, copyTexSubImage2D, copyTexSubImage3D readPixels.

void gl.readBuffer(src);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer

Method.

[Experimental]

The WebGL2RenderingContext.readBuffer() method of the WebGL 2
selects a color buffer as the source for pixels for subsequent
to `copyTexImage2D`, `copyTexSubImage2D`, `copyTexSubImage3D`
`readPixels`.

`void gl.readBuffer(src);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer`
sourceraw docstring

renderbuffer-storage-multisamplecljs

(renderbuffer-storage-multisample this
                                  target
                                  samples
                                  internal-format
                                  width
                                  height)

Method.

[Experimental]

The WebGL2RenderingContext.renderbufferStorageMultisample() method the WebGL 2 API returns creates and initializes a renderbuffer data store and allows specifying a number of samples to be used.

void gl.renderbufferStorageMultisample(target, samples, internalFormat, width, height);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample

Method.

[Experimental]

The WebGL2RenderingContext.renderbufferStorageMultisample() method
the WebGL 2 API returns creates and initializes a renderbuffer
data store and allows specifying a number of samples to be used.

`void gl.renderbufferStorageMultisample(target, samples, internalFormat, width, height);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample`
sourceraw docstring

resume-transform-feedbackcljs

(resume-transform-feedback this)

Method.

[Experimental]

The WebGL2RenderingContext.resumeTransformFeedback() method of WebGL 2 API resumes a transform feedback operation.

void gl.resumeTransformFeedback();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback

Method.

[Experimental]

The WebGL2RenderingContext.resumeTransformFeedback() method of
WebGL 2 API resumes a transform feedback operation.

`void gl.resumeTransformFeedback();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback`
sourceraw docstring

sampler-parametercljs

(sampler-parameter this & args)

Method.

[Experimental]

The WebGL2RenderingContext.samplerParameterif methods of WebGL 2 API set web.gl.WebGLSampler parameters.

void gl.samplerParameteri(sampler, pname, param); void gl.samplerParameterf(sampler, pname, param);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameter

Method.

[Experimental]

The WebGL2RenderingContext.samplerParameter[if]() methods of
WebGL 2 API set `web.gl.WebGLSampler` parameters.

`void gl.samplerParameteri(sampler, pname, param);
void gl.samplerParameterf(sampler, pname, param);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameter`
sourceraw docstring

tex-image3dcljs

(tex-image3d this & args)

Method.

[Experimental]

The WebGLRenderingContext.texImage3D() method of the WebGL API a three-dimensional texture image.

`void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, GLintptr offset);

void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, HTMLCanvasElement source); void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, HTMLImageElement source); void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, HTMLVideoElement source); void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ImageBitmap source); void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ImageData source); void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ArrayBufferView? srcData); void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ArrayBufferView srcData, srcOffset);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D

Method.

[Experimental]

The WebGLRenderingContext.texImage3D() method of the WebGL API
a three-dimensional texture image.

`void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, GLintptr offset);

void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, HTMLCanvasElement source);
void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, HTMLImageElement source);
void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, HTMLVideoElement source);
void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ImageBitmap source);
void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ImageData source);
void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ArrayBufferView? srcData);
void gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, ArrayBufferView srcData, srcOffset);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D`
sourceraw docstring

tex-storage2dcljs

(tex-storage2d this target levels internalformat width height)

Method.

[Experimental]

The WebGL2RenderingContext.texStorage2D() method of the WebGL specifies all levels of two-dimensional texture storage.

void gl.texStorage2D(target, levels, internalformat, width, height);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D

Method.

[Experimental]

The WebGL2RenderingContext.texStorage2D() method of the WebGL
specifies all levels of two-dimensional texture storage.

`void gl.texStorage2D(target, levels, internalformat, width, height);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D`
sourceraw docstring

tex-storage3dcljs

(tex-storage3d this target levels internalformat width height depth)

Method.

[Experimental]

The WebGL2RenderingContext.texStorage3D() method of the WebGL specifies all levels of a three-dimensional texture or two-dimensional texture.

void gl.texStorage3D(target, levels, internalformat, width, height, depth);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D

Method.

[Experimental]

The WebGL2RenderingContext.texStorage3D() method of the WebGL
specifies all levels of a three-dimensional texture or two-dimensional
texture.

`void gl.texStorage3D(target, levels, internalformat, width, height, depth);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D`
sourceraw docstring

tex-sub-image3dcljs

(tex-sub-image3d this & args)

Method.

[Experimental]

The WebGL2RenderingContext.texSubImage3D() method of the WebGL specifies a sub-rectangle of the current texture.

`void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ArrayBufferView? srcData, optional srcOffset);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ImageBitmap? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ImageData? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, HTMLImageElement? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, HTMLCanvasElement? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, HTMLVideoElement? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, GLintptr offset);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D

Method.

[Experimental]

The WebGL2RenderingContext.texSubImage3D() method of the WebGL
specifies a sub-rectangle of the current texture.

`void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ArrayBufferView? srcData, optional srcOffset);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ImageBitmap? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ImageData? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, HTMLImageElement? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, HTMLCanvasElement? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, HTMLVideoElement? pixels);

void gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, GLintptr offset);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D`
sourceraw docstring

transform-feedback-varyingscljs

(transform-feedback-varyings this program varyings buffer-mode)

Method.

[Experimental]

The WebGL2RenderingContext.transformFeedbackVaryings() method the WebGL 2 API specifies values to record in web.gl.WebGLTransformFeedback

void gl.transformFeedbackVaryings(program, varyings, bufferMode);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings

Method.

[Experimental]

The WebGL2RenderingContext.transformFeedbackVaryings() method
the WebGL 2 API specifies values to record in `web.gl.WebGLTransformFeedback`

`void gl.transformFeedbackVaryings(program, varyings, bufferMode);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings`
sourceraw docstring

uniformcljs

(uniform this & args)

Method.

[Experimental]

The WebGL2RenderingContext.uniform[1234][uif][v]() methods of WebGL API specify values of uniform variables.

void gl.uniform1ui(location, v0); void gl.uniform2ui(location, v0, v1); void gl.uniform3ui(location, v0, v1, v2); void gl.uniform4ui(location, v0, v1, v2, v3); void gl.uniform1fv(location, data, optional srcOffset, optional srcLength); void gl.uniform2fv(location, data, optional srcOffset, optional srcLength); void gl.uniform3fv(location, data, optional srcOffset, optional srcLength); void gl.uniform4fv(location, data, optional srcOffset, optional srcLength); void gl.uniform1iv(location, data, optional srcOffset, optional srcLength); void gl.uniform2iv(location, data, optional srcOffset, optional srcLength); void gl.uniform3iv(location, data, optional srcOffset, optional srcLength); void gl.uniform4iv(location, data, optional srcOffset, optional srcLength); void gl.uniform1uiv(location, data, optional srcOffset, optional srcLength); void gl.uniform2uiv(location, data, optional srcOffset, optional srcLength); void gl.uniform3uiv(location, data, optional srcOffset, optional srcLength); void gl.uniform4uiv(location, data, optional srcOffset, optional srcLength);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform

Method.

[Experimental]

The WebGL2RenderingContext.uniform[1234][uif][v]() methods of
WebGL API specify values of uniform variables.

`void gl.uniform1ui(location, v0);
void gl.uniform2ui(location, v0, v1);
void gl.uniform3ui(location, v0, v1, v2);
void gl.uniform4ui(location, v0, v1, v2, v3);
void gl.uniform1fv(location, data, optional srcOffset, optional srcLength);
void gl.uniform2fv(location, data, optional srcOffset, optional srcLength);
void gl.uniform3fv(location, data, optional srcOffset, optional srcLength);
void gl.uniform4fv(location, data, optional srcOffset, optional srcLength);
void gl.uniform1iv(location, data, optional srcOffset, optional srcLength);
void gl.uniform2iv(location, data, optional srcOffset, optional srcLength);
void gl.uniform3iv(location, data, optional srcOffset, optional srcLength);
void gl.uniform4iv(location, data, optional srcOffset, optional srcLength);
void gl.uniform1uiv(location, data, optional srcOffset, optional srcLength);
void gl.uniform2uiv(location, data, optional srcOffset, optional srcLength);
void gl.uniform3uiv(location, data, optional srcOffset, optional srcLength);
void gl.uniform4uiv(location, data, optional srcOffset, optional srcLength);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform`
sourceraw docstring

uniform-block-bindingcljs

(uniform-block-binding this program uniform-block-index uniform-block-binding)

Method.

[Experimental]

The WebGL2RenderingContext.uniformBlockBinding() method of the 2 API assigns binding points for active uniform blocks.

void gl.uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding

Method.

[Experimental]

The WebGL2RenderingContext.uniformBlockBinding() method of the
2 API assigns binding points for active uniform blocks.

`void gl.uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding`
sourceraw docstring

uniform-matrixcljs

(uniform-matrix this & args)

Method.

[Experimental]

The WebGL2RenderingContext.uniformMatrix[234]x[234]fv() methods the WebGL 2 API specify matrix values for uniform variables.

void gl.uniformMatrix2fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix3x2fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix4x2fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix2x3fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix3fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix4x3fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix2x4fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix3x4fv(location, transpose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix4fv(location, transpose, data, optional srcOffset, optional srcLength);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix

Method.

[Experimental]

The WebGL2RenderingContext.uniformMatrix[234]x[234]fv() methods
the WebGL 2 API specify matrix values for uniform variables.

`void gl.uniformMatrix2fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix3x2fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix4x2fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix2x3fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix3fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix4x3fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix2x4fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix3x4fv(location, transpose, data, optional srcOffset, optional srcLength);
void gl.uniformMatrix4fv(location, transpose, data, optional srcOffset, optional srcLength);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix`
sourceraw docstring

vertex-attrib-divisorcljs

(vertex-attrib-divisor this index divisor)

Method.

[Experimental]

The WebGL2RenderingContext.vertexAttribDivisor() method of the 2 API modifies the rate at which generic vertex attributes advance rendering multiple instances of primitives with gl.drawArraysInstanced() gl.drawElementsInstanced().

void gl.vertexAttribDivisor(index, divisor);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor

Method.

[Experimental]

The WebGL2RenderingContext.vertexAttribDivisor() method of the
2 API modifies the rate at which generic vertex attributes advance
rendering multiple instances of primitives with `gl.drawArraysInstanced()`
`gl.drawElementsInstanced()`.

`void gl.vertexAttribDivisor(index, divisor);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor`
sourceraw docstring

vertex-attrib-i-pointercljs

(vertex-attrib-i-pointer this index size type stride offset)

Method.

[Experimental]

The WebGL2RenderingContext.vertexAttribIPointer() method of the 2 API specifies integer data formats and locations of vertex in a vertex attributes array.

void gl.vertexAttribIPointer(index, size, type, stride, offset);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer

Method.

[Experimental]

The WebGL2RenderingContext.vertexAttribIPointer() method of the
2 API specifies integer data formats and locations of vertex
in a vertex attributes array.

`void gl.vertexAttribIPointer(index, size, type, stride, offset);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer`
sourceraw docstring

vertex-attrib-i4cljs

(vertex-attrib-i4 this & args)

Method.

[Experimental]

The WebGL2RenderingContext.vertexAttribI4[u]iv methods of WebGL 2 API specify integer values for generic vertex attributes.

`void gl.vertexAttribI4i(index, v0, v1, v2, v3); void gl.vertexAttribI4ui(index, v0, v1, v2, v3);

void gl.vertexAttribI4iv(index, value); void gl.vertexAttribI4uiv(index, value);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI

Method.

[Experimental]

The WebGL2RenderingContext.vertexAttribI4[u]i[v]() methods of
WebGL 2 API specify integer values for generic vertex attributes.

`void gl.vertexAttribI4i(index, v0, v1, v2, v3);
void gl.vertexAttribI4ui(index, v0, v1, v2, v3);

void gl.vertexAttribI4iv(index, value);
void gl.vertexAttribI4uiv(index, value);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI`
sourceraw docstring

wait-synccljs

(wait-sync this sync flags timeout)

Method.

[Experimental]

The WebGL2RenderingContext.waitSync() method of the WebGL 2 API immediately, but waits on the GL server until the given web.gl.WebGLSync is signaled.

void gl.waitSync(sync, flags, timeout);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync

Method.

[Experimental]

The WebGL2RenderingContext.waitSync() method of the WebGL 2 API
immediately, but waits on the GL server until the given `web.gl.WebGLSync`
is signaled.

`void gl.waitSync(sync, flags, timeout);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close