WebGL2RenderingContext extension type

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 HTMLCanvasElement.getContext on a <canvas> element, supplying "webgl2" as the argument:

const canvas = document.getElementById("myCanvas");
const gl = canvas.getContext("webgl2");

Note: WebGL 2 is an extension to WebGL 1. The WebGL2RenderingContext interface implements all members of the WebGLRenderingContext interface. Some methods of the WebGL 1 context can accept additional values when used in a WebGL 2 context. You will find this info noted on the WebGL 1 reference pages.

The WebGL tutorial has more information, examples, and resources on how to get started with WebGL.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Properties

canvas JSObject
no setter
drawingBufferColorSpace PredefinedColorSpace
getter/setter pair
drawingBufferHeight GLsizei
no setter
drawingBufferWidth GLsizei
no setter
hashCode int
The hash code for this object.
no setterinherited
isDefinedAndNotNull bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

no setter
isNull bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

Whether this value corresponds to JavaScript null.
no setter
isTruthy JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of !!this in JavaScript.
no setter
isUndefined bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

Whether this value corresponds to JavaScript undefined.
no setter
isUndefinedOrNull bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

no setter
not JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of !this in JavaScript.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activeTexture(GLenum texture) → void
add(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this + any in JavaScript.
and(JSAny? any) JSAny?

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this && any in JavaScript.
attachShader(WebGLProgram program, WebGLShader shader) → void
beginQuery(GLenum target, WebGLQuery query) → void
The WebGL2RenderingContext.beginQuery() method of the WebGL 2 API starts an asynchronous query. The target parameter indicates which kind of query to begin.
beginTransformFeedback(GLenum primitiveMode) → void
The WebGL2RenderingContext.beginTransformFeedback() method of the WebGL 2 API starts a transform feedback operation.
bindAttribLocation(WebGLProgram program, GLuint index, String name) → void
bindBuffer(GLenum target, WebGLBuffer? buffer) → void
bindBufferBase(GLenum target, GLuint index, WebGLBuffer? buffer) → void
The WebGL2RenderingContext.bindBufferBase() method of the WebGL 2 API binds a given WebGLBuffer to a given binding point (target) at a given index.
bindBufferRange(GLenum target, GLuint index, WebGLBuffer? buffer, GLintptr offset, GLsizeiptr size) → void
The WebGL2RenderingContext.bindBufferRange() method of the WebGL 2 API binds a range of a given WebGLBuffer to a given binding point (target) at a given index.
bindFramebuffer(GLenum target, WebGLFramebuffer? framebuffer) → void
bindRenderbuffer(GLenum target, WebGLRenderbuffer? renderbuffer) → void
bindSampler(GLuint unit, WebGLSampler? sampler) → void
The WebGL2RenderingContext.bindSampler() method of the WebGL 2 API binds a passed WebGLSampler object to the texture unit at the passed index.
bindTexture(GLenum target, WebGLTexture? texture) → void
bindTransformFeedback(GLenum target, WebGLTransformFeedback? tf) → void
The WebGL2RenderingContext.bindTransformFeedback() method of the WebGL 2 API binds a passed WebGLTransformFeedback object to the current GL state.
bindVertexArray(WebGLVertexArrayObject? array) → void
The WebGL2RenderingContext.bindVertexArray() method of the WebGL 2 API binds a passed WebGLVertexArrayObject object to the buffer.
blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) → void
blendEquation(GLenum mode) → void
blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) → void
blendFunc(GLenum sfactor, GLenum dfactor) → void
blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) → void
blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) → void
The WebGL2RenderingContext.blitFramebuffer() method of the WebGL 2 API transfers a block of pixels from the read framebuffer to the draw framebuffer. Read and draw framebuffers are bound using WebGLRenderingContext.bindFramebuffer.
bufferData(GLenum target, JSAny? sizeOrSrcData, GLenum usage, [int srcOffset, GLuint length]) → void
The WebGL2RenderingContext.bufferData() method of the WebGL API creates and initializes the buffer object's data store.
bufferSubData(GLenum target, GLintptr dstByteOffset, JSObject srcData, [int srcOffset, GLuint length]) → void
The WebGL2RenderingContext.bufferSubData() method of the WebGL API updates a subset of a buffer object's data store.
callMethod<R extends JSAny?>(JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Calls method on this JSObject with up to four arguments.
callMethodVarArgs<R extends JSAny?>(JSAny method, [List<JSAny?>? arguments]) → R

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Calls method on this JSObject with a variable number of arguments.
checkFramebufferStatus(GLenum target) GLenum
clear(GLbitfield mask) → void
clearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) → void
clearBufferfv(GLenum buffer, GLint drawbuffer, Float32List values, [int srcOffset]) → void
clearBufferiv(GLenum buffer, GLint drawbuffer, Int32List values, [int srcOffset]) → void
clearBufferuiv(GLenum buffer, GLint drawbuffer, Uint32List values, [int srcOffset]) → void
clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) → void
clearDepth(GLclampf depth) → void
clearStencil(GLint s) → void
clientWaitSync(WebGLSync sync, GLbitfield flags, GLuint64 timeout) GLenum
The WebGL2RenderingContext.clientWaitSync() method of the WebGL 2 API blocks and waits for a WebGLSync object to become signaled or a given timeout to be passed.
colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) → void
compileShader(WebGLShader shader) → void
compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, JSAny imageSizeOrSrcData, [JSAny offsetOrSrcOffset, GLuint srcLengthOverride]) → void
compressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, JSAny imageSizeOrSrcData, [JSAny offsetOrSrcOffset, GLuint srcLengthOverride]) → void
compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, JSAny imageSizeOrSrcData, [JSAny offsetOrSrcOffset, GLuint srcLengthOverride]) → void
compressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, JSAny imageSizeOrSrcData, [JSAny offsetOrSrcOffset, GLuint srcLengthOverride]) → void
The WebGL2RenderingContext.compressedTexSubImage3D() method of the WebGL API specifies a three-dimensional sub-rectangle for a texture image in a compressed format.
copyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) → void
The WebGL2RenderingContext.copyBufferSubData() method of the WebGL 2 API copies part of the data of a buffer to another buffer.
copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) → void
copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) → void
copyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) → void
The WebGL2RenderingContext.copyTexSubImage3D() method of the WebGL API copies pixels from the current WebGLFramebuffer into an existing 3D texture sub-image.
createBuffer() WebGLBuffer?
createFramebuffer() WebGLFramebuffer?
createProgram() WebGLProgram?
createQuery() WebGLQuery?
The WebGL2RenderingContext.createQuery() method of the WebGL 2 API creates and initializes WebGLQuery objects, which provide ways to asynchronously query for information.
createRenderbuffer() WebGLRenderbuffer?
createSampler() WebGLSampler?
The WebGL2RenderingContext.createSampler() method of the WebGL 2 API creates and initializes WebGLSampler objects.
createShader(GLenum type) WebGLShader?
createTexture() WebGLTexture?
createTransformFeedback() WebGLTransformFeedback?
The WebGL2RenderingContext.createTransformFeedback() method of the WebGL 2 API creates and initializes WebGLTransformFeedback objects.
createVertexArray() WebGLVertexArrayObject?
The WebGL2RenderingContext.createVertexArray() method of the WebGL 2 API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
cullFace(GLenum mode) → void
dartify() Object?

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Converts a JavaScript value to the Dart equivalent if possible.
delete(JSAny property) JSBoolean

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Deletes the property with key property from this JSObject.
deleteBuffer(WebGLBuffer? buffer) → void
deleteFramebuffer(WebGLFramebuffer? framebuffer) → void
deleteProgram(WebGLProgram? program) → void
deleteQuery(WebGLQuery? query) → void
The WebGL2RenderingContext.deleteQuery() method of the WebGL 2 API deletes a given WebGLQuery object.
deleteRenderbuffer(WebGLRenderbuffer? renderbuffer) → void
deleteSampler(WebGLSampler? sampler) → void
The WebGL2RenderingContext.deleteSampler() method of the WebGL 2 API deletes a given WebGLSampler object.
deleteShader(WebGLShader? shader) → void
deleteSync(WebGLSync? sync) → void
The WebGL2RenderingContext.deleteSync() method of the WebGL 2 API deletes a given WebGLSync object.
deleteTexture(WebGLTexture? texture) → void
deleteTransformFeedback(WebGLTransformFeedback? tf) → void
The WebGL2RenderingContext.deleteTransformFeedback() method of the WebGL 2 API deletes a given WebGLTransformFeedback object.
deleteVertexArray(WebGLVertexArrayObject? vertexArray) → void
The WebGL2RenderingContext.deleteVertexArray() method of the WebGL 2 API deletes a given WebGLVertexArrayObject object.
depthFunc(GLenum func) → void
depthMask(GLboolean flag) → void
depthRange(GLclampf zNear, GLclampf zFar) → void
detachShader(WebGLProgram program, WebGLShader shader) → void
disable(GLenum cap) → void
disableVertexAttribArray(GLuint index) → void
divide(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this / any in JavaScript.
drawArrays(GLenum mode, GLint first, GLsizei count) → void
drawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount) → void
The WebGL2RenderingContext.drawArraysInstanced() method of the WebGL 2 API renders primitives from array data like the WebGLRenderingContext.drawArrays method. In addition, it can execute multiple instances of the range of elements.
drawBuffers(JSArray<JSNumber> buffers) → void
The WebGL2RenderingContext.drawBuffers() method of the WebGL 2 API defines draw buffers to which fragment colors are written into. The draw buffer settings are part of the state of the currently bound framebuffer or the drawingbuffer if no framebuffer is bound.
drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset) → void
drawElementsInstanced(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei instanceCount) → void
The WebGL2RenderingContext.drawElementsInstanced() method of the WebGL 2 API renders primitives from array data like the WebGLRenderingContext.drawElements method. In addition, it can execute multiple instances of a set of elements.
drawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLintptr offset) → void
The WebGL2RenderingContext.drawRangeElements() method of the WebGL API renders primitives from array data in a given range.
enable(GLenum cap) → void
enableVertexAttribArray(GLuint index) → void
endQuery(GLenum target) → void
The WebGL2RenderingContext.endQuery() method of the WebGL 2 API marks the end of a given query target.
endTransformFeedback() → void
The WebGL2RenderingContext.endTransformFeedback() method of the WebGL 2 API ends a transform feedback operation.
equals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this == any in JavaScript.
exponentiate(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this ** any in JavaScript.
fenceSync(GLenum condition, GLbitfield flags) WebGLSync?
The WebGL2RenderingContext.fenceSync() method of the WebGL 2 API creates a new WebGLSync object and inserts it into the GL command stream.
finish() → void
flush() → void
framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, WebGLRenderbuffer? renderbuffer) → void
framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, WebGLTexture? texture, GLint level) → void
framebufferTextureLayer(GLenum target, GLenum attachment, WebGLTexture? texture, GLint level, GLint layer) → void
The WebGL2RenderingContext.framebufferTextureLayer() method of the WebGL 2 API attaches a single layer of a texture to a framebuffer.
frontFace(GLenum mode) → void
generateMipmap(GLenum target) → void
getActiveAttrib(WebGLProgram program, GLuint index) WebGLActiveInfo?
getActiveUniform(WebGLProgram program, GLuint index) WebGLActiveInfo?
getActiveUniformBlockName(WebGLProgram program, GLuint uniformBlockIndex) String?
The WebGL2RenderingContext.getActiveUniformBlockName() method of the WebGL 2 API retrieves the name of the active uniform block at a given index within a WebGLProgram.
getActiveUniformBlockParameter(WebGLProgram program, GLuint uniformBlockIndex, GLenum pname) JSAny?
The WebGL2RenderingContext.getActiveUniformBlockParameter() method of the WebGL 2 API retrieves information about an active uniform block within a WebGLProgram.
getActiveUniforms(WebGLProgram program, JSArray<JSNumber> uniformIndices, GLenum pname) JSAny?
The WebGL2RenderingContext.getActiveUniforms() method of the WebGL 2 API retrieves information about active uniforms within a WebGLProgram.
getAttachedShaders(WebGLProgram program) JSArray<WebGLShader>?
getAttribLocation(WebGLProgram program, String name) GLint
getBufferParameter(GLenum target, GLenum pname) JSAny?
getBufferSubData(GLenum target, GLintptr srcByteOffset, ArrayBufferView dstBuffer, [int dstOffset, GLuint length]) → void
The WebGL2RenderingContext.getBufferSubData() method of the WebGL 2 API reads data from a buffer binding point and writes them to an ArrayBuffer or SharedArrayBuffer.
getContextAttributes() WebGLContextAttributes?
getError() GLenum
getExtension(String name) JSObject?
getFragDataLocation(WebGLProgram program, String name) GLint
The WebGL2RenderingContext.getFragDataLocation() method of the WebGL 2 API returns the binding of color numbers to user-defined varying out variables.
getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname) JSAny?
getIndexedParameter(GLenum target, GLuint index) JSAny?
The WebGL2RenderingContext.getIndexedParameter() method of the WebGL 2 API returns indexed information about a given target.
getInternalformatParameter(GLenum target, GLenum internalformat, GLenum pname) JSAny?
The WebGL2RenderingContext.getInternalformatParameter() method of the WebGL 2 API returns information about implementation-dependent support for internal formats.
getParameter(GLenum pname) JSAny?
getProgramInfoLog(WebGLProgram program) String?
getProgramParameter(WebGLProgram program, GLenum pname) JSAny?
getProperty<R extends JSAny?>(JSAny property) → R

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

The value of the property key property of this JSObject.
getQuery(GLenum target, GLenum pname) WebGLQuery?
The WebGL2RenderingContext.getQuery() method of the WebGL 2 API returns the currently active WebGLQuery for the target, or null.
getQueryParameter(WebGLQuery query, GLenum pname) JSAny?
The WebGL2RenderingContext.getQueryParameter() method of the WebGL 2 API returns parameter information of a WebGLQuery object.
getRenderbufferParameter(GLenum target, GLenum pname) JSAny?
getSamplerParameter(WebGLSampler sampler, GLenum pname) JSAny?
The WebGL2RenderingContext.getSamplerParameter() method of the WebGL 2 API returns parameter information of a WebGLSampler object.
getShaderInfoLog(WebGLShader shader) String?
getShaderParameter(WebGLShader shader, GLenum pname) JSAny?
getShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype) WebGLShaderPrecisionFormat?
getShaderSource(WebGLShader shader) String?
getSupportedExtensions() JSArray<JSString>?
getSyncParameter(WebGLSync sync, GLenum pname) JSAny?
The WebGL2RenderingContext.getSyncParameter() method of the WebGL 2 API returns parameter information of a WebGLSync object.
getTexParameter(GLenum target, GLenum pname) JSAny?
getTransformFeedbackVarying(WebGLProgram program, GLuint index) WebGLActiveInfo?
The WebGL2RenderingContext.getTransformFeedbackVarying() method of the WebGL 2 API returns information about varying variables from WebGLTransformFeedback buffers.
getUniform(WebGLProgram program, WebGLUniformLocation location) JSAny?
getUniformBlockIndex(WebGLProgram program, String uniformBlockName) GLuint
The WebGL2RenderingContext.getUniformBlockIndex() method of the WebGL 2 API retrieves the index of a uniform block within a WebGLProgram.
getUniformIndices(WebGLProgram program, JSArray<JSString> uniformNames) JSArray<JSNumber>?
The WebGL2RenderingContext.getUniformIndices() method of the WebGL 2 API retrieves the indices of a number of uniforms within a WebGLProgram.
getUniformLocation(WebGLProgram program, String name) WebGLUniformLocation?
getVertexAttrib(GLuint index, GLenum pname) JSAny?
getVertexAttribOffset(GLuint index, GLenum pname) GLintptr
greaterThan(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this > any in JavaScript.
greaterThanOrEqualTo(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this >= any in JavaScript.
has(String property) bool

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Shorthand helper for hasProperty to check whether this JSObject contains the property key property, but takes and returns a Dart value.
hasProperty(JSAny property) JSBoolean

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Whether or not this JSObject contains the property key property.
hint(GLenum target, GLenum mode) → void
instanceof(JSFunction constructor) bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether this JSAny? is an instanceof constructor.
instanceOfString(String constructorName) bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether this JSAny? is an instanceof the constructor that is defined by constructorName, which is looked up in the globalContext.
invalidateFramebuffer(GLenum target, JSArray<JSNumber> attachments) → void
The WebGL2RenderingContext.invalidateFramebuffer() method of the WebGL 2 API invalidates the contents of attachments in a framebuffer.
invalidateSubFramebuffer(GLenum target, JSArray<JSNumber> attachments, GLint x, GLint y, GLsizei width, GLsizei height) → void
The WebGL2RenderingContext.invalidateSubFramebuffer() method of the WebGL 2 API invalidates portions of the contents of attachments in a framebuffer.
isA<T extends JSAny?>() bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether this JSAny? is an instance of the JavaScript type that is declared by T.
isBuffer(WebGLBuffer? buffer) GLboolean
isContextLost() bool
isEnabled(GLenum cap) GLboolean
isFramebuffer(WebGLFramebuffer? framebuffer) GLboolean
isProgram(WebGLProgram? program) GLboolean
isQuery(WebGLQuery? query) GLboolean
The WebGL2RenderingContext.isQuery() method of the WebGL 2 API returns true if the passed object is a valid WebGLQuery object.
isRenderbuffer(WebGLRenderbuffer? renderbuffer) GLboolean
isSampler(WebGLSampler? sampler) GLboolean
The WebGL2RenderingContext.isSampler() method of the WebGL 2 API returns true if the passed object is a valid WebGLSampler object.
isShader(WebGLShader? shader) GLboolean
isSync(WebGLSync? sync) GLboolean
The WebGL2RenderingContext.isSync() method of the WebGL 2 API returns true if the passed object is a valid WebGLSync object.
isTexture(WebGLTexture? texture) GLboolean
isTransformFeedback(WebGLTransformFeedback? tf) GLboolean
The WebGL2RenderingContext.isTransformFeedback() method of the WebGL 2 API returns true if the passed object is a valid WebGLTransformFeedback object.
isVertexArray(WebGLVertexArrayObject? vertexArray) GLboolean
The WebGL2RenderingContext.isVertexArray() method of the WebGL API returns true if the passed object is a valid WebGLVertexArrayObject object.
lessThan(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this < any in JavaScript.
lessThanOrEqualTo(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this <= any in JavaScript.
lineWidth(GLfloat width) → void
linkProgram(WebGLProgram program) → void
makeXRCompatible() JSPromise<JSAny?>
modulo(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this % any in JavaScript.
multiply(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this * any in JavaScript.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this != any in JavaScript.
or(JSAny? any) JSAny?

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this || any in JavaScript.
pauseTransformFeedback() → void
The WebGL2RenderingContext.pauseTransformFeedback() method of the WebGL 2 API pauses a transform feedback operation.
pixelStorei(GLenum pname, GLint param) → void
polygonOffset(GLfloat factor, GLfloat units) → void
readBuffer(GLenum src) → void
The WebGL2RenderingContext.readBuffer() method of the WebGL 2 API selects a color buffer as the source for pixels for subsequent calls to WebGLRenderingContext.copyTexImage2D, WebGLRenderingContext.copyTexSubImage2D, WebGL2RenderingContext.copyTexSubImage3D or WebGLRenderingContext.readPixels.
readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, JSAny? dstDataOrOffset, [int dstOffset]) → void
renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) → void
renderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) → void
The WebGL2RenderingContext.renderbufferStorageMultisample() method of the WebGL 2 API returns creates and initializes a renderbuffer object's data store and allows specifying a number of samples to be used.
resumeTransformFeedback() → void
The WebGL2RenderingContext.resumeTransformFeedback() method of the WebGL 2 API resumes a transform feedback operation.
sampleCoverage(GLclampf value, GLboolean invert) → void
samplerParameterf(WebGLSampler sampler, GLenum pname, GLfloat param) → void
samplerParameteri(WebGLSampler sampler, GLenum pname, GLint param) → void
scissor(GLint x, GLint y, GLsizei width, GLsizei height) → void
setProperty(JSAny property, JSAny? value) → void

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Write the value of property key property of this JSObject.
shaderSource(WebGLShader shader, String source) → void
stencilFunc(GLenum func, GLint ref, GLuint mask) → void
stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) → void
stencilMask(GLuint mask) → void
stencilMaskSeparate(GLenum face, GLuint mask) → void
stencilOp(GLenum fail, GLenum zfail, GLenum zpass) → void
stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) → void
strictEquals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this === any in JavaScript.
strictNotEquals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this !== any in JavaScript.
subtract(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this - any in JavaScript.
texImage2D(GLenum target, GLint level, GLint internalformat, JSAny formatOrWidth, JSAny heightOrType, JSAny borderOrSource, [GLenum format, GLenum type, JSAny? pboOffsetOrPixelsOrSourceOrSrcData, int srcOffset]) → void
texImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, JSAny? pboOffsetOrSourceOrSrcData, [int srcOffset]) → void
The WebGLRenderingContext.texImage3D() method of the WebGL API specifies a three-dimensional texture image.
texParameterf(GLenum target, GLenum pname, GLfloat param) → void
texParameteri(GLenum target, GLenum pname, GLint param) → void
texStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) → void
The WebGL2RenderingContext.texStorage2D() method of the WebGL API specifies all levels of two-dimensional texture storage.
texStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) → void
The WebGL2RenderingContext.texStorage3D() method of the WebGL API specifies all levels of a three-dimensional texture or two-dimensional array texture.
texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, JSAny formatOrWidth, JSAny heightOrType, JSAny formatOrSource, [GLenum type, JSAny? pboOffsetOrPixelsOrSourceOrSrcData, int srcOffset]) → void
texSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, JSAny? pboOffsetOrSourceOrSrcData, [int srcOffset]) → void
The WebGL2RenderingContext.texSubImage3D() method of the WebGL API specifies a sub-rectangle of the current texture.
toString() String
A string representation of this object.
inherited
transformFeedbackVaryings(WebGLProgram program, JSArray<JSString> varyings, GLenum bufferMode) → void
The WebGL2RenderingContext.transformFeedbackVaryings() method of the WebGL 2 API specifies values to record in WebGLTransformFeedback buffers.
typeofEquals(String typeString) bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether the result of typeof on this JSAny? is typeString.
uniform1f(WebGLUniformLocation? location, GLfloat x) → void
uniform1fv(WebGLUniformLocation? location, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniform1i(WebGLUniformLocation? location, GLint x) → void
uniform1iv(WebGLUniformLocation? location, Int32List data, [int srcOffset, GLuint srcLength]) → void
uniform1ui(WebGLUniformLocation? location, GLuint v0) → void
uniform1uiv(WebGLUniformLocation? location, Uint32List data, [int srcOffset, GLuint srcLength]) → void
uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y) → void
uniform2fv(WebGLUniformLocation? location, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniform2i(WebGLUniformLocation? location, GLint x, GLint y) → void
uniform2iv(WebGLUniformLocation? location, Int32List data, [int srcOffset, GLuint srcLength]) → void
uniform2ui(WebGLUniformLocation? location, GLuint v0, GLuint v1) → void
uniform2uiv(WebGLUniformLocation? location, Uint32List data, [int srcOffset, GLuint srcLength]) → void
uniform3f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z) → void
uniform3fv(WebGLUniformLocation? location, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniform3i(WebGLUniformLocation? location, GLint x, GLint y, GLint z) → void
uniform3iv(WebGLUniformLocation? location, Int32List data, [int srcOffset, GLuint srcLength]) → void
uniform3ui(WebGLUniformLocation? location, GLuint v0, GLuint v1, GLuint v2) → void
uniform3uiv(WebGLUniformLocation? location, Uint32List data, [int srcOffset, GLuint srcLength]) → void
uniform4f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) → void
uniform4fv(WebGLUniformLocation? location, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniform4i(WebGLUniformLocation? location, GLint x, GLint y, GLint z, GLint w) → void
uniform4iv(WebGLUniformLocation? location, Int32List data, [int srcOffset, GLuint srcLength]) → void
uniform4ui(WebGLUniformLocation? location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) → void
uniform4uiv(WebGLUniformLocation? location, Uint32List data, [int srcOffset, GLuint srcLength]) → void
uniformBlockBinding(WebGLProgram program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) → void
The WebGL2RenderingContext.uniformBlockBinding() method of the WebGL 2 API assigns binding points for active uniform blocks.
uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix2x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix2x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix3x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix3x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix4x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
uniformMatrix4x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data, [int srcOffset, GLuint srcLength]) → void
unsignedRightShift(JSAny? any) JSNumber

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this >>> any in JavaScript.
useProgram(WebGLProgram? program) → void
validateProgram(WebGLProgram program) → void
vertexAttrib1f(GLuint index, GLfloat x) → void
vertexAttrib1fv(GLuint index, Float32List values) → void
vertexAttrib2f(GLuint index, GLfloat x, GLfloat y) → void
vertexAttrib2fv(GLuint index, Float32List values) → void
vertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) → void
vertexAttrib3fv(GLuint index, Float32List values) → void
vertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) → void
vertexAttrib4fv(GLuint index, Float32List values) → void
vertexAttribDivisor(GLuint index, GLuint divisor) → void
The WebGL2RenderingContext.vertexAttribDivisor() method of the WebGL 2 API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with WebGL2RenderingContext.drawArraysInstanced and WebGL2RenderingContext.drawElementsInstanced.
vertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) → void
vertexAttribI4iv(GLuint index, Int32List values) → void
vertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) → void
vertexAttribI4uiv(GLuint index, Uint32List values) → void
vertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) → void
The WebGL2RenderingContext.vertexAttribIPointer() method of the WebGL 2 API specifies integer data formats and locations of vertex attributes in a vertex attributes array.
vertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset) → void
viewport(GLint x, GLint y, GLsizei width, GLsizei height) → void
waitSync(WebGLSync sync, GLbitfield flags, GLint64 timeout) → void
The WebGL2RenderingContext.waitSync() method of the WebGL 2 API returns immediately, but waits on the GL server until the given WebGLSync object is signaled.

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String property) JSAny?

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Shorthand helper for getProperty to get the value of the property key property of this JSObject, but takes and returns a Dart value.
operator []=(String property, JSAny? value) → void

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Shorthand helper for setProperty to write the value of the property key property of this JSObject, but takes a Dart value.

Constants

ACTIVE_ATTRIBUTES → const GLenum
ACTIVE_TEXTURE → const GLenum
ACTIVE_UNIFORM_BLOCKS → const GLenum
ACTIVE_UNIFORMS → const GLenum
ALIASED_LINE_WIDTH_RANGE → const GLenum
ALIASED_POINT_SIZE_RANGE → const GLenum
ALPHA → const GLenum
ALPHA_BITS → const GLenum
ALREADY_SIGNALED → const GLenum
ALWAYS → const GLenum
ANY_SAMPLES_PASSED → const GLenum
ANY_SAMPLES_PASSED_CONSERVATIVE → const GLenum
ARRAY_BUFFER → const GLenum
ARRAY_BUFFER_BINDING → const GLenum
ATTACHED_SHADERS → const GLenum
BACK → const GLenum
BLEND → const GLenum
BLEND_COLOR → const GLenum
BLEND_DST_ALPHA → const GLenum
BLEND_DST_RGB → const GLenum
BLEND_EQUATION → const GLenum
BLEND_EQUATION_ALPHA → const GLenum
BLEND_EQUATION_RGB → const GLenum
BLEND_SRC_ALPHA → const GLenum
BLEND_SRC_RGB → const GLenum
BLUE_BITS → const GLenum
BOOL → const GLenum
BOOL_VEC2 → const GLenum
BOOL_VEC3 → const GLenum
BOOL_VEC4 → const GLenum
BROWSER_DEFAULT_WEBGL → const GLenum
BUFFER_SIZE → const GLenum
BUFFER_USAGE → const GLenum
BYTE → const GLenum
CCW → const GLenum
CLAMP_TO_EDGE → const GLenum
COLOR → const GLenum
COLOR_ATTACHMENT0 → const GLenum
COLOR_ATTACHMENT1 → const GLenum
COLOR_ATTACHMENT2 → const GLenum
COLOR_ATTACHMENT3 → const GLenum
COLOR_ATTACHMENT4 → const GLenum
COLOR_ATTACHMENT5 → const GLenum
COLOR_ATTACHMENT6 → const GLenum
COLOR_ATTACHMENT7 → const GLenum
COLOR_ATTACHMENT8 → const GLenum
COLOR_ATTACHMENT9 → const GLenum
COLOR_ATTACHMENT10 → const GLenum
COLOR_ATTACHMENT11 → const GLenum
COLOR_ATTACHMENT12 → const GLenum
COLOR_ATTACHMENT13 → const GLenum
COLOR_ATTACHMENT14 → const GLenum
COLOR_ATTACHMENT15 → const GLenum
COLOR_BUFFER_BIT → const GLenum
COLOR_CLEAR_VALUE → const GLenum
COLOR_WRITEMASK → const GLenum
COMPARE_REF_TO_TEXTURE → const GLenum
COMPILE_STATUS → const GLenum
COMPRESSED_TEXTURE_FORMATS → const GLenum
CONDITION_SATISFIED → const GLenum
CONSTANT_ALPHA → const GLenum
CONSTANT_COLOR → const GLenum
CONTEXT_LOST_WEBGL → const GLenum
COPY_READ_BUFFER → const GLenum
COPY_READ_BUFFER_BINDING → const GLenum
COPY_WRITE_BUFFER → const GLenum
COPY_WRITE_BUFFER_BINDING → const GLenum
CULL_FACE → const GLenum
CULL_FACE_MODE → const GLenum
CURRENT_PROGRAM → const GLenum
CURRENT_QUERY → const GLenum
CURRENT_VERTEX_ATTRIB → const GLenum
CW → const GLenum
DECR → const GLenum
DECR_WRAP → const GLenum
DELETE_STATUS → const GLenum
DEPTH → const GLenum
DEPTH24_STENCIL8 → const GLenum
DEPTH32F_STENCIL8 → const GLenum
DEPTH_ATTACHMENT → const GLenum
DEPTH_BITS → const GLenum
DEPTH_BUFFER_BIT → const GLenum
DEPTH_CLEAR_VALUE → const GLenum
DEPTH_COMPONENT → const GLenum
DEPTH_COMPONENT16 → const GLenum
DEPTH_COMPONENT24 → const GLenum
DEPTH_COMPONENT32F → const GLenum
DEPTH_FUNC → const GLenum
DEPTH_RANGE → const GLenum
DEPTH_STENCIL → const GLenum
DEPTH_STENCIL_ATTACHMENT → const GLenum
DEPTH_TEST → const GLenum
DEPTH_WRITEMASK → const GLenum
DITHER → const GLenum
DONT_CARE → const GLenum
DRAW_BUFFER0 → const GLenum
DRAW_BUFFER1 → const GLenum
DRAW_BUFFER2 → const GLenum
DRAW_BUFFER3 → const GLenum
DRAW_BUFFER4 → const GLenum
DRAW_BUFFER5 → const GLenum
DRAW_BUFFER6 → const GLenum
DRAW_BUFFER7 → const GLenum
DRAW_BUFFER8 → const GLenum
DRAW_BUFFER9 → const GLenum
DRAW_BUFFER10 → const GLenum
DRAW_BUFFER11 → const GLenum
DRAW_BUFFER12 → const GLenum
DRAW_BUFFER13 → const GLenum
DRAW_BUFFER14 → const GLenum
DRAW_BUFFER15 → const GLenum
DRAW_FRAMEBUFFER → const GLenum
DRAW_FRAMEBUFFER_BINDING → const GLenum
DST_ALPHA → const GLenum
DST_COLOR → const GLenum
DYNAMIC_COPY → const GLenum
DYNAMIC_DRAW → const GLenum
DYNAMIC_READ → const GLenum
ELEMENT_ARRAY_BUFFER → const GLenum
ELEMENT_ARRAY_BUFFER_BINDING → const GLenum
EQUAL → const GLenum
FASTEST → const GLenum
FLOAT → const GLenum
FLOAT_32_UNSIGNED_INT_24_8_REV → const GLenum
FLOAT_MAT2 → const GLenum
FLOAT_MAT2x3 → const GLenum
FLOAT_MAT2x4 → const GLenum
FLOAT_MAT3 → const GLenum
FLOAT_MAT3x2 → const GLenum
FLOAT_MAT3x4 → const GLenum
FLOAT_MAT4 → const GLenum
FLOAT_MAT4x2 → const GLenum
FLOAT_MAT4x3 → const GLenum
FLOAT_VEC2 → const GLenum
FLOAT_VEC3 → const GLenum
FLOAT_VEC4 → const GLenum
FRAGMENT_SHADER → const GLenum
FRAGMENT_SHADER_DERIVATIVE_HINT → const GLenum
FRAMEBUFFER → const GLenum
FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE → const GLenum
FRAMEBUFFER_ATTACHMENT_BLUE_SIZE → const GLenum
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING → const GLenum
FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE → const GLenum
FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE → const GLenum
FRAMEBUFFER_ATTACHMENT_GREEN_SIZE → const GLenum
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME → const GLenum
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE → const GLenum
FRAMEBUFFER_ATTACHMENT_RED_SIZE → const GLenum
FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE → const GLenum
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE → const GLenum
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER → const GLenum
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL → const GLenum
FRAMEBUFFER_BINDING → const GLenum
FRAMEBUFFER_COMPLETE → const GLenum
FRAMEBUFFER_DEFAULT → const GLenum
FRAMEBUFFER_INCOMPLETE_ATTACHMENT → const GLenum
FRAMEBUFFER_INCOMPLETE_DIMENSIONS → const GLenum
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT → const GLenum
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE → const GLenum
FRAMEBUFFER_UNSUPPORTED → const GLenum
FRONT → const GLenum
FRONT_AND_BACK → const GLenum
FRONT_FACE → const GLenum
FUNC_ADD → const GLenum
FUNC_REVERSE_SUBTRACT → const GLenum
FUNC_SUBTRACT → const GLenum
GENERATE_MIPMAP_HINT → const GLenum
GEQUAL → const GLenum
GREATER → const GLenum
GREEN_BITS → const GLenum
HALF_FLOAT → const GLenum
HIGH_FLOAT → const GLenum
HIGH_INT → const GLenum
IMPLEMENTATION_COLOR_READ_FORMAT → const GLenum
IMPLEMENTATION_COLOR_READ_TYPE → const GLenum
INCR → const GLenum
INCR_WRAP → const GLenum
INT → const GLenum
INT_2_10_10_10_REV → const GLenum
INT_SAMPLER_2D → const GLenum
INT_SAMPLER_2D_ARRAY → const GLenum
INT_SAMPLER_3D → const GLenum
INT_SAMPLER_CUBE → const GLenum
INT_VEC2 → const GLenum
INT_VEC3 → const GLenum
INT_VEC4 → const GLenum
INTERLEAVED_ATTRIBS → const GLenum
INVALID_ENUM → const GLenum
INVALID_FRAMEBUFFER_OPERATION → const GLenum
INVALID_INDEX → const GLenum
INVALID_OPERATION → const GLenum
INVALID_VALUE → const GLenum
INVERT → const GLenum
KEEP → const GLenum
LEQUAL → const GLenum
LESS → const GLenum
LINE_LOOP → const GLenum
LINE_STRIP → const GLenum
LINE_WIDTH → const GLenum
LINEAR → const GLenum
LINEAR_MIPMAP_LINEAR → const GLenum
LINEAR_MIPMAP_NEAREST → const GLenum
LINES → const GLenum
LOW_FLOAT → const GLenum
LOW_INT → const GLenum
LUMINANCE → const GLenum
LUMINANCE_ALPHA → const GLenum
MAX → const GLenum
MAX_3D_TEXTURE_SIZE → const GLenum
MAX_ARRAY_TEXTURE_LAYERS → const GLenum
MAX_CLIENT_WAIT_TIMEOUT_WEBGL → const GLenum
MAX_COLOR_ATTACHMENTS → const GLenum
MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS → const GLenum
MAX_COMBINED_TEXTURE_IMAGE_UNITS → const GLenum
MAX_COMBINED_UNIFORM_BLOCKS → const GLenum
MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS → const GLenum
MAX_CUBE_MAP_TEXTURE_SIZE → const GLenum
MAX_DRAW_BUFFERS → const GLenum
MAX_ELEMENT_INDEX → const GLenum
MAX_ELEMENTS_INDICES → const GLenum
MAX_ELEMENTS_VERTICES → const GLenum
MAX_FRAGMENT_INPUT_COMPONENTS → const GLenum
MAX_FRAGMENT_UNIFORM_BLOCKS → const GLenum
MAX_FRAGMENT_UNIFORM_COMPONENTS → const GLenum
MAX_FRAGMENT_UNIFORM_VECTORS → const GLenum
MAX_PROGRAM_TEXEL_OFFSET → const GLenum
MAX_RENDERBUFFER_SIZE → const GLenum
MAX_SAMPLES → const GLenum
MAX_SERVER_WAIT_TIMEOUT → const GLenum
MAX_TEXTURE_IMAGE_UNITS → const GLenum
MAX_TEXTURE_LOD_BIAS → const GLenum
MAX_TEXTURE_SIZE → const GLenum
MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS → const GLenum
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS → const GLenum
MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS → const GLenum
MAX_UNIFORM_BLOCK_SIZE → const GLenum
MAX_UNIFORM_BUFFER_BINDINGS → const GLenum
MAX_VARYING_COMPONENTS → const GLenum
MAX_VARYING_VECTORS → const GLenum
MAX_VERTEX_ATTRIBS → const GLenum
MAX_VERTEX_OUTPUT_COMPONENTS → const GLenum
MAX_VERTEX_TEXTURE_IMAGE_UNITS → const GLenum
MAX_VERTEX_UNIFORM_BLOCKS → const GLenum
MAX_VERTEX_UNIFORM_COMPONENTS → const GLenum
MAX_VERTEX_UNIFORM_VECTORS → const GLenum
MAX_VIEWPORT_DIMS → const GLenum
MEDIUM_FLOAT → const GLenum
MEDIUM_INT → const GLenum
MIN → const GLenum
MIN_PROGRAM_TEXEL_OFFSET → const GLenum
MIRRORED_REPEAT → const GLenum
NEAREST → const GLenum
NEAREST_MIPMAP_LINEAR → const GLenum
NEAREST_MIPMAP_NEAREST → const GLenum
NEVER → const GLenum
NICEST → const GLenum
NO_ERROR → const GLenum
NONE → const GLenum
NOTEQUAL → const GLenum
OBJECT_TYPE → const GLenum
ONE → const GLenum
ONE_MINUS_CONSTANT_ALPHA → const GLenum
ONE_MINUS_CONSTANT_COLOR → const GLenum
ONE_MINUS_DST_ALPHA → const GLenum
ONE_MINUS_DST_COLOR → const GLenum
ONE_MINUS_SRC_ALPHA → const GLenum
ONE_MINUS_SRC_COLOR → const GLenum
OUT_OF_MEMORY → const GLenum
PACK_ALIGNMENT → const GLenum
PACK_ROW_LENGTH → const GLenum
PACK_SKIP_PIXELS → const GLenum
PACK_SKIP_ROWS → const GLenum
PIXEL_PACK_BUFFER → const GLenum
PIXEL_PACK_BUFFER_BINDING → const GLenum
PIXEL_UNPACK_BUFFER → const GLenum
PIXEL_UNPACK_BUFFER_BINDING → const GLenum
POINTS → const GLenum
POLYGON_OFFSET_FACTOR → const GLenum
POLYGON_OFFSET_FILL → const GLenum
POLYGON_OFFSET_UNITS → const GLenum
QUERY_RESULT → const GLenum
QUERY_RESULT_AVAILABLE → const GLenum
R8 → const GLenum
R8_SNORM → const GLenum
R8I → const GLenum
R8UI → const GLenum
R11F_G11F_B10F → const GLenum
R16F → const GLenum
R16I → const GLenum
R16UI → const GLenum
R32F → const GLenum
R32I → const GLenum
R32UI → const GLenum
RASTERIZER_DISCARD → const GLenum
READ_BUFFER → const GLenum
READ_FRAMEBUFFER → const GLenum
READ_FRAMEBUFFER_BINDING → const GLenum
RED → const GLenum
RED_BITS → const GLenum
RED_INTEGER → const GLenum
RENDERBUFFER → const GLenum
RENDERBUFFER_ALPHA_SIZE → const GLenum
RENDERBUFFER_BINDING → const GLenum
RENDERBUFFER_BLUE_SIZE → const GLenum
RENDERBUFFER_DEPTH_SIZE → const GLenum
RENDERBUFFER_GREEN_SIZE → const GLenum
RENDERBUFFER_HEIGHT → const GLenum
RENDERBUFFER_INTERNAL_FORMAT → const GLenum
RENDERBUFFER_RED_SIZE → const GLenum
RENDERBUFFER_SAMPLES → const GLenum
RENDERBUFFER_STENCIL_SIZE → const GLenum
RENDERBUFFER_WIDTH → const GLenum
RENDERER → const GLenum
REPEAT → const GLenum
REPLACE → const GLenum
RG → const GLenum
RG8 → const GLenum
RG8_SNORM → const GLenum
RG8I → const GLenum
RG8UI → const GLenum
RG16F → const GLenum
RG16I → const GLenum
RG16UI → const GLenum
RG32F → const GLenum
RG32I → const GLenum
RG32UI → const GLenum
RG_INTEGER → const GLenum
RGB → const GLenum
RGB5_A1 → const GLenum
RGB8 → const GLenum
RGB8_SNORM → const GLenum
RGB8I → const GLenum
RGB8UI → const GLenum
RGB9_E5 → const GLenum
RGB10_A2 → const GLenum
RGB10_A2UI → const GLenum
RGB16F → const GLenum
RGB16I → const GLenum
RGB16UI → const GLenum
RGB32F → const GLenum
RGB32I → const GLenum
RGB32UI → const GLenum
RGB565 → const GLenum
RGB_INTEGER → const GLenum
RGBA → const GLenum
RGBA4 → const GLenum
RGBA8 → const GLenum
RGBA8_SNORM → const GLenum
RGBA8I → const GLenum
RGBA8UI → const GLenum
RGBA16F → const GLenum
RGBA16I → const GLenum
RGBA16UI → const GLenum
RGBA32F → const GLenum
RGBA32I → const GLenum
RGBA32UI → const GLenum
RGBA_INTEGER → const GLenum
SAMPLE_ALPHA_TO_COVERAGE → const GLenum
SAMPLE_BUFFERS → const GLenum
SAMPLE_COVERAGE → const GLenum
SAMPLE_COVERAGE_INVERT → const GLenum
SAMPLE_COVERAGE_VALUE → const GLenum
SAMPLER_2D → const GLenum
SAMPLER_2D_ARRAY → const GLenum
SAMPLER_2D_ARRAY_SHADOW → const GLenum
SAMPLER_2D_SHADOW → const GLenum
SAMPLER_3D → const GLenum
SAMPLER_BINDING → const GLenum
SAMPLER_CUBE → const GLenum
SAMPLER_CUBE_SHADOW → const GLenum
SAMPLES → const GLenum
SCISSOR_BOX → const GLenum
SCISSOR_TEST → const GLenum
SEPARATE_ATTRIBS → const GLenum
SHADER_TYPE → const GLenum
SHADING_LANGUAGE_VERSION → const GLenum
SHORT → const GLenum
SIGNALED → const GLenum
SIGNED_NORMALIZED → const GLenum
SRC_ALPHA → const GLenum
SRC_ALPHA_SATURATE → const GLenum
SRC_COLOR → const GLenum
SRGB → const GLenum
SRGB8 → const GLenum
SRGB8_ALPHA8 → const GLenum
STATIC_COPY → const GLenum
STATIC_DRAW → const GLenum
STATIC_READ → const GLenum
STENCIL → const GLenum
STENCIL_ATTACHMENT → const GLenum
STENCIL_BACK_FAIL → const GLenum
STENCIL_BACK_FUNC → const GLenum
STENCIL_BACK_PASS_DEPTH_FAIL → const GLenum
STENCIL_BACK_PASS_DEPTH_PASS → const GLenum
STENCIL_BACK_REF → const GLenum
STENCIL_BACK_VALUE_MASK → const GLenum
STENCIL_BACK_WRITEMASK → const GLenum
STENCIL_BITS → const GLenum
STENCIL_BUFFER_BIT → const GLenum
STENCIL_CLEAR_VALUE → const GLenum
STENCIL_FAIL → const GLenum
STENCIL_FUNC → const GLenum
STENCIL_INDEX8 → const GLenum
STENCIL_PASS_DEPTH_FAIL → const GLenum
STENCIL_PASS_DEPTH_PASS → const GLenum
STENCIL_REF → const GLenum
STENCIL_TEST → const GLenum
STENCIL_VALUE_MASK → const GLenum
STENCIL_WRITEMASK → const GLenum
STREAM_COPY → const GLenum
STREAM_DRAW → const GLenum
STREAM_READ → const GLenum
SUBPIXEL_BITS → const GLenum
SYNC_CONDITION → const GLenum
SYNC_FENCE → const GLenum
SYNC_FLAGS → const GLenum
SYNC_FLUSH_COMMANDS_BIT → const GLenum
SYNC_GPU_COMMANDS_COMPLETE → const GLenum
SYNC_STATUS → const GLenum
TEXTURE → const GLenum
TEXTURE0 → const GLenum
TEXTURE1 → const GLenum
TEXTURE2 → const GLenum
TEXTURE3 → const GLenum
TEXTURE4 → const GLenum
TEXTURE5 → const GLenum
TEXTURE6 → const GLenum
TEXTURE7 → const GLenum
TEXTURE8 → const GLenum
TEXTURE9 → const GLenum
TEXTURE10 → const GLenum
TEXTURE11 → const GLenum
TEXTURE12 → const GLenum
TEXTURE13 → const GLenum
TEXTURE14 → const GLenum
TEXTURE15 → const GLenum
TEXTURE16 → const GLenum
TEXTURE17 → const GLenum
TEXTURE18 → const GLenum
TEXTURE19 → const GLenum
TEXTURE20 → const GLenum
TEXTURE21 → const GLenum
TEXTURE22 → const GLenum
TEXTURE23 → const GLenum
TEXTURE24 → const GLenum
TEXTURE25 → const GLenum
TEXTURE26 → const GLenum
TEXTURE27 → const GLenum
TEXTURE28 → const GLenum
TEXTURE29 → const GLenum
TEXTURE30 → const GLenum
TEXTURE31 → const GLenum
TEXTURE_2D → const GLenum
TEXTURE_2D_ARRAY → const GLenum
TEXTURE_3D → const GLenum
TEXTURE_BASE_LEVEL → const GLenum
TEXTURE_BINDING_2D → const GLenum
TEXTURE_BINDING_2D_ARRAY → const GLenum
TEXTURE_BINDING_3D → const GLenum
TEXTURE_BINDING_CUBE_MAP → const GLenum
TEXTURE_COMPARE_FUNC → const GLenum
TEXTURE_COMPARE_MODE → const GLenum
TEXTURE_CUBE_MAP → const GLenum
TEXTURE_CUBE_MAP_NEGATIVE_X → const GLenum
TEXTURE_CUBE_MAP_NEGATIVE_Y → const GLenum
TEXTURE_CUBE_MAP_NEGATIVE_Z → const GLenum
TEXTURE_CUBE_MAP_POSITIVE_X → const GLenum
TEXTURE_CUBE_MAP_POSITIVE_Y → const GLenum
TEXTURE_CUBE_MAP_POSITIVE_Z → const GLenum
TEXTURE_IMMUTABLE_FORMAT → const GLenum
TEXTURE_IMMUTABLE_LEVELS → const GLenum
TEXTURE_MAG_FILTER → const GLenum
TEXTURE_MAX_LEVEL → const GLenum
TEXTURE_MAX_LOD → const GLenum
TEXTURE_MIN_FILTER → const GLenum
TEXTURE_MIN_LOD → const GLenum
TEXTURE_WRAP_R → const GLenum
TEXTURE_WRAP_S → const GLenum
TEXTURE_WRAP_T → const GLenum
TIMEOUT_EXPIRED → const GLenum
TIMEOUT_IGNORED → const GLint64
TRANSFORM_FEEDBACK → const GLenum
TRANSFORM_FEEDBACK_ACTIVE → const GLenum
TRANSFORM_FEEDBACK_BINDING → const GLenum
TRANSFORM_FEEDBACK_BUFFER → const GLenum
TRANSFORM_FEEDBACK_BUFFER_BINDING → const GLenum
TRANSFORM_FEEDBACK_BUFFER_MODE → const GLenum
TRANSFORM_FEEDBACK_BUFFER_SIZE → const GLenum
TRANSFORM_FEEDBACK_BUFFER_START → const GLenum
TRANSFORM_FEEDBACK_PAUSED → const GLenum
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN → const GLenum
TRANSFORM_FEEDBACK_VARYINGS → const GLenum
TRIANGLE_FAN → const GLenum
TRIANGLE_STRIP → const GLenum
TRIANGLES → const GLenum
UNIFORM_ARRAY_STRIDE → const GLenum
UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES → const GLenum
UNIFORM_BLOCK_ACTIVE_UNIFORMS → const GLenum
UNIFORM_BLOCK_BINDING → const GLenum
UNIFORM_BLOCK_DATA_SIZE → const GLenum
UNIFORM_BLOCK_INDEX → const GLenum
UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER → const GLenum
UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER → const GLenum
UNIFORM_BUFFER → const GLenum
UNIFORM_BUFFER_BINDING → const GLenum
UNIFORM_BUFFER_OFFSET_ALIGNMENT → const GLenum
UNIFORM_BUFFER_SIZE → const GLenum
UNIFORM_BUFFER_START → const GLenum
UNIFORM_IS_ROW_MAJOR → const GLenum
UNIFORM_MATRIX_STRIDE → const GLenum
UNIFORM_OFFSET → const GLenum
UNIFORM_SIZE → const GLenum
UNIFORM_TYPE → const GLenum
UNPACK_ALIGNMENT → const GLenum
UNPACK_COLORSPACE_CONVERSION_WEBGL → const GLenum
UNPACK_FLIP_Y_WEBGL → const GLenum
UNPACK_IMAGE_HEIGHT → const GLenum
UNPACK_PREMULTIPLY_ALPHA_WEBGL → const GLenum
UNPACK_ROW_LENGTH → const GLenum
UNPACK_SKIP_IMAGES → const GLenum
UNPACK_SKIP_PIXELS → const GLenum
UNPACK_SKIP_ROWS → const GLenum
UNSIGNALED → const GLenum
UNSIGNED_BYTE → const GLenum
UNSIGNED_INT → const GLenum
UNSIGNED_INT_2_10_10_10_REV → const GLenum
UNSIGNED_INT_5_9_9_9_REV → const GLenum
UNSIGNED_INT_10F_11F_11F_REV → const GLenum
UNSIGNED_INT_24_8 → const GLenum
UNSIGNED_INT_SAMPLER_2D → const GLenum
UNSIGNED_INT_SAMPLER_2D_ARRAY → const GLenum
UNSIGNED_INT_SAMPLER_3D → const GLenum
UNSIGNED_INT_SAMPLER_CUBE → const GLenum
UNSIGNED_INT_VEC2 → const GLenum
UNSIGNED_INT_VEC3 → const GLenum
UNSIGNED_INT_VEC4 → const GLenum
UNSIGNED_NORMALIZED → const GLenum
UNSIGNED_SHORT → const GLenum
UNSIGNED_SHORT_4_4_4_4 → const GLenum
UNSIGNED_SHORT_5_5_5_1 → const GLenum
UNSIGNED_SHORT_5_6_5 → const GLenum
VALIDATE_STATUS → const GLenum
VENDOR → const GLenum
VERSION → const GLenum
VERTEX_ARRAY_BINDING → const GLenum
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING → const GLenum
VERTEX_ATTRIB_ARRAY_DIVISOR → const GLenum
VERTEX_ATTRIB_ARRAY_ENABLED → const GLenum
VERTEX_ATTRIB_ARRAY_INTEGER → const GLenum
VERTEX_ATTRIB_ARRAY_NORMALIZED → const GLenum
VERTEX_ATTRIB_ARRAY_POINTER → const GLenum
VERTEX_ATTRIB_ARRAY_SIZE → const GLenum
VERTEX_ATTRIB_ARRAY_STRIDE → const GLenum
VERTEX_ATTRIB_ARRAY_TYPE → const GLenum
VERTEX_SHADER → const GLenum
VIEWPORT → const GLenum
WAIT_FAILED → const GLenum
ZERO → const GLenum