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.

on
Implemented types
Available extensions

Properties

canvas JSObject
no setter
drawingBufferColorSpace PredefinedColorSpace
getter/setter pair
drawingBufferFormat GLenum
no setter
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
unpackColorSpace PredefinedColorSpace
getter/setter pair

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
bufferSubData(GLenum target, GLintptr dstByteOffset, JSObject srcData, [int srcOffset, GLuint length]) → void
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.
drawingBufferStorage(GLenum sizedFormat, int width, int height) → void
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
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.

Static Properties

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