WebGLRenderingContext
The WebGLRenderingContext interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element.
Extends
Methods
activeTexture()
activeTexture(texture): void;
Parameters
| Parameter | Type |
|---|---|
texture | number |
Returns
void
Inherited from
WebGLRenderingContextBase.activeTexture
attachShader()
attachShader(program, shader): void;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
shader | WebGLShader |
Returns
void
Inherited from
WebGLRenderingContextBase.attachShader
bindAttribLocation()
bindAttribLocation(
program,
index,
name
): void;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
index | number |
name | string |
Returns
void
Inherited from
WebGLRenderingContextBase.bindAttribLocation
bindBuffer()
bindBuffer(target, buffer): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
buffer | WebGLBuffer | null |
Returns
void
Inherited from
WebGLRenderingContextBase.bindBuffer
bindFramebuffer()
bindFramebuffer(target, framebuffer): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
framebuffer | WebGLFramebuffer | null |
Returns
void
Inherited from
WebGLRenderingContextBase.bindFramebuffer
bindRenderbuffer()
bindRenderbuffer(target, renderbuffer): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
renderbuffer | WebGLRenderbuffer | null |
Returns
void
Inherited from
WebGLRenderingContextBase.bindRenderbuffer
bindTexture()
bindTexture(target, texture): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
texture | WebGLTexture | null |
Returns
void
Inherited from
WebGLRenderingContextBase.bindTexture
blendColor()
blendColor(
red,
green,
blue,
alpha
): void;
Parameters
| Parameter | Type |
|---|---|
red | number |
green | number |
blue | number |
alpha | number |
Returns
void
Inherited from
WebGLRenderingContextBase.blendColor
blendEquation()
blendEquation(mode): void;
Parameters
| Parameter | Type |
|---|---|
mode | number |
Returns
void
Inherited from
WebGLRenderingContextBase.blendEquation
blendEquationSeparate()
blendEquationSeparate(modeRGB, modeAlpha): void;
Parameters
| Parameter | Type |
|---|---|
modeRGB | number |
modeAlpha | number |
Returns
void
Inherited from
WebGLRenderingContextBase.blendEquationSeparate
blendFunc()
blendFunc(sfactor, dfactor): void;
Parameters
| Parameter | Type |
|---|---|
sfactor | number |
dfactor | number |
Returns
void
Inherited from
WebGLRenderingContextBase.blendFunc
blendFuncSeparate()
blendFuncSeparate(
srcRGB,
dstRGB,
srcAlpha,
dstAlpha
): void;
Parameters
| Parameter | Type |
|---|---|
srcRGB | number |
dstRGB | number |
srcAlpha | number |
dstAlpha | number |
Returns
void
Inherited from
WebGLRenderingContextBase.blendFuncSeparate
bufferData()
Call Signature
bufferData(
target,
size,
usage
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
size | number |
usage | number |
Returns
void
Inherited from
WebGLRenderingContextOverloads.bufferData
Call Signature
bufferData(
target,
data,
usage
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
data | AllowSharedBufferSource | null |
usage | number |
Returns
void
Inherited from
WebGLRenderingContextOverloads.bufferData
bufferSubData()
bufferSubData(
target,
offset,
data
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
offset | number |
data | AllowSharedBufferSource |
Returns
void
Inherited from
WebGLRenderingContextOverloads.bufferSubData
checkFramebufferStatus()
checkFramebufferStatus(target): number;
Parameters
| Parameter | Type |
|---|---|
target | number |
Returns
number
Inherited from
WebGLRenderingContextBase.checkFramebufferStatus
clear()
clear(mask): void;
Parameters
| Parameter | Type |
|---|---|
mask | number |
Returns
void
Inherited from
WebGLRenderingContextBase.clear
clearColor()
clearColor(
red,
green,
blue,
alpha
): void;
Parameters
| Parameter | Type |
|---|---|
red | number |
green | number |
blue | number |
alpha | number |
Returns
void
Inherited from
WebGLRenderingContextBase.clearColor
clearDepth()
clearDepth(depth): void;
Parameters
| Parameter | Type |
|---|---|
depth | number |
Returns
void
Inherited from
WebGLRenderingContextBase.clearDepth
clearStencil()
clearStencil(s): void;
Parameters
| Parameter | Type |
|---|---|
s | number |
Returns
void
Inherited from
WebGLRenderingContextBase.clearStencil
colorMask()
colorMask(
red,
green,
blue,
alpha
): void;
Parameters
| Parameter | Type |
|---|---|
red | boolean |
green | boolean |
blue | boolean |
alpha | boolean |
Returns
void
Inherited from
WebGLRenderingContextBase.colorMask
compileShader()
compileShader(shader): void;
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader |
Returns
void
Inherited from
WebGLRenderingContextBase.compileShader
compressedTexImage2D()
compressedTexImage2D(
target,
level,
internalformat,
width,
height,
border,
data
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
internalformat | number |
width | number |
height | number |
border | number |
data | ArrayBufferView<ArrayBufferLike> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.compressedTexImage2D
compressedTexSubImage2D()
compressedTexSubImage2D(
target,
level,
xoffset,
yoffset,
width,
height,
format,
data
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
xoffset | number |
yoffset | number |
width | number |
height | number |
format | number |
data | ArrayBufferView<ArrayBufferLike> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.compressedTexSubImage2D
copyTexImage2D()
copyTexImage2D(
target,
level,
internalformat,
x,
y,
width,
height,
border
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
internalformat | number |
x | number |
y | number |
width | number |
height | number |
border | number |
Returns
void
Inherited from
WebGLRenderingContextBase.copyTexImage2D
copyTexSubImage2D()
copyTexSubImage2D(
target,
level,
xoffset,
yoffset,
x,
y,
width,
height
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
xoffset | number |
yoffset | number |
x | number |
y | number |
width | number |
height | number |
Returns
void
Inherited from
WebGLRenderingContextBase.copyTexSubImage2D
createBuffer()
createBuffer(): WebGLBuffer;
Returns
Inherited from
WebGLRenderingContextBase.createBuffer
createFramebuffer()
createFramebuffer(): WebGLFramebuffer;
Returns
Inherited from
WebGLRenderingContextBase.createFramebuffer
createProgram()
createProgram(): WebGLProgram;
Returns
Inherited from
WebGLRenderingContextBase.createProgram
createRenderbuffer()
createRenderbuffer(): WebGLRenderbuffer;
Returns
Inherited from
WebGLRenderingContextBase.createRenderbuffer
createShader()
createShader(type): WebGLShader | null;
Parameters
| Parameter | Type |
|---|---|
type | number |
Returns
WebGLShader | null
Inherited from
WebGLRenderingContextBase.createShader
createTexture()
createTexture(): WebGLTexture;
Returns
Inherited from
WebGLRenderingContextBase.createTexture
cullFace()
cullFace(mode): void;
Parameters
| Parameter | Type |
|---|---|
mode | number |
Returns
void
Inherited from
WebGLRenderingContextBase.cullFace
deleteBuffer()
deleteBuffer(buffer): void;
Parameters
| Parameter | Type |
|---|---|
buffer | WebGLBuffer | null |
Returns
void
Inherited from
WebGLRenderingContextBase.deleteBuffer
deleteFramebuffer()
deleteFramebuffer(framebuffer): void;
Parameters
| Parameter | Type |
|---|---|
framebuffer | WebGLFramebuffer | null |
Returns
void
Inherited from
WebGLRenderingContextBase.deleteFramebuffer
deleteProgram()
deleteProgram(program): void;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram | null |
Returns
void
Inherited from
WebGLRenderingContextBase.deleteProgram
deleteRenderbuffer()
deleteRenderbuffer(renderbuffer): void;
Parameters
| Parameter | Type |
|---|---|
renderbuffer | WebGLRenderbuffer | null |
Returns
void
Inherited from
WebGLRenderingContextBase.deleteRenderbuffer
deleteShader()
deleteShader(shader): void;
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader | null |
Returns
void
Inherited from
WebGLRenderingContextBase.deleteShader
deleteTexture()
deleteTexture(texture): void;
Parameters
| Parameter | Type |
|---|---|
texture | WebGLTexture | null |
Returns
void
Inherited from
WebGLRenderingContextBase.deleteTexture
depthFunc()
depthFunc(func): void;
Parameters
| Parameter | Type |
|---|---|
func | number |
Returns
void
Inherited from
WebGLRenderingContextBase.depthFunc
depthMask()
depthMask(flag): void;
Parameters
| Parameter | Type |
|---|---|
flag | boolean |
Returns
void
Inherited from
WebGLRenderingContextBase.depthMask
depthRange()
depthRange(zNear, zFar): void;
Parameters
| Parameter | Type |
|---|---|
zNear | number |
zFar | number |
Returns
void
Inherited from
WebGLRenderingContextBase.depthRange
detachShader()
detachShader(program, shader): void;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
shader | WebGLShader |
Returns
void
Inherited from
WebGLRenderingContextBase.detachShader
disable()
disable(cap): void;
Parameters
| Parameter | Type |
|---|---|
cap | number |
Returns
void
Inherited from
WebGLRenderingContextBase.disable
disableVertexAttribArray()
disableVertexAttribArray(index): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
void
Inherited from
WebGLRenderingContextBase.disableVertexAttribArray
drawArrays()
drawArrays(
mode,
first,
count
): void;
Parameters
| Parameter | Type |
|---|---|
mode | number |
first | number |
count | number |
Returns
void
Inherited from
WebGLRenderingContextBase.drawArrays
drawElements()
drawElements(
mode,
count,
type,
offset
): void;
Parameters
| Parameter | Type |
|---|---|
mode | number |
count | number |
type | number |
offset | number |
Returns
void
Inherited from
WebGLRenderingContextBase.drawElements
enable()
enable(cap): void;
Parameters
| Parameter | Type |
|---|---|
cap | number |
Returns
void
Inherited from
WebGLRenderingContextBase.enable
enableVertexAttribArray()
enableVertexAttribArray(index): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
void
Inherited from
WebGLRenderingContextBase.enableVertexAttribArray
finish()
finish(): void;
Returns
void
Inherited from
WebGLRenderingContextBase.finish
flush()
flush(): void;
Returns
void
Inherited from
WebGLRenderingContextBase.flush
framebufferRenderbuffer()
framebufferRenderbuffer(
target,
attachment,
renderbuffertarget,
renderbuffer
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
attachment | number |
renderbuffertarget | number |
renderbuffer | WebGLRenderbuffer | null |
Returns
void
Inherited from
WebGLRenderingContextBase.framebufferRenderbuffer
framebufferTexture2D()
framebufferTexture2D(
target,
attachment,
textarget,
texture,
level
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
attachment | number |
textarget | number |
texture | WebGLTexture | null |
level | number |
Returns
void
Inherited from
WebGLRenderingContextBase.framebufferTexture2D
frontFace()
frontFace(mode): void;
Parameters
| Parameter | Type |
|---|---|
mode | number |
Returns
void
Inherited from
WebGLRenderingContextBase.frontFace
generateMipmap()
generateMipmap(target): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
Returns
void
Inherited from
WebGLRenderingContextBase.generateMipmap
getActiveAttrib()
getActiveAttrib(program, index): WebGLActiveInfo | null;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
index | number |
Returns
WebGLActiveInfo | null
Inherited from
WebGLRenderingContextBase.getActiveAttrib
getActiveUniform()
getActiveUniform(program, index): WebGLActiveInfo | null;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
index | number |
Returns
WebGLActiveInfo | null
Inherited from
WebGLRenderingContextBase.getActiveUniform
getAttachedShaders()
getAttachedShaders(program): WebGLShader[] | null;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
Returns
WebGLShader[] | null
Inherited from
WebGLRenderingContextBase.getAttachedShaders
getAttribLocation()
getAttribLocation(program, name): number;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
name | string |
Returns
number
Inherited from
WebGLRenderingContextBase.getAttribLocation
getBufferParameter()
getBufferParameter(target, pname): any;
Parameters
| Parameter | Type |
|---|---|
target | number |
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getBufferParameter
getContextAttributes()
getContextAttributes(): WebGLContextAttributes | null;
Returns
WebGLContextAttributes | null
Inherited from
WebGLRenderingContextBase.getContextAttributes
getError()
getError(): number;
Returns
number
Inherited from
WebGLRenderingContextBase.getError
getExtension()
Call Signature
getExtension(name): any;
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
any
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): ANGLE_instanced_arrays | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "ANGLE_instanced_arrays" |
Returns
ANGLE_instanced_arrays | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): EXT_blend_minmax | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_blend_minmax" |
Returns
EXT_blend_minmax | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): EXT_color_buffer_float | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_color_buffer_float" |
Returns
EXT_color_buffer_float | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): EXT_color_buffer_half_float | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_color_buffer_half_float" |
Returns
EXT_color_buffer_half_float | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): EXT_float_blend | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_float_blend" |
Returns
EXT_float_blend | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): EXT_frag_depth | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_frag_depth" |
Returns
EXT_frag_depth | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): EXT_sRGB | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_sRGB" |
Returns
EXT_sRGB | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): EXT_shader_texture_lod | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_shader_texture_lod" |
Returns
EXT_shader_texture_lod | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| EXT_texture_compression_bptc
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_texture_compression_bptc" |
Returns
| EXT_texture_compression_bptc
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| EXT_texture_compression_rgtc
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_texture_compression_rgtc" |
Returns
| EXT_texture_compression_rgtc
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| EXT_texture_filter_anisotropic
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "EXT_texture_filter_anisotropic" |
Returns
| EXT_texture_filter_anisotropic
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): KHR_parallel_shader_compile | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "KHR_parallel_shader_compile" |
Returns
KHR_parallel_shader_compile | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OES_element_index_uint | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_element_index_uint" |
Returns
OES_element_index_uint | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OES_fbo_render_mipmap | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_fbo_render_mipmap" |
Returns
OES_fbo_render_mipmap | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OES_standard_derivatives | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_standard_derivatives" |
Returns
OES_standard_derivatives | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OES_texture_float | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_texture_float" |
Returns
OES_texture_float | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OES_texture_float_linear | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_texture_float_linear" |
Returns
OES_texture_float_linear | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OES_texture_half_float | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_texture_half_float" |
Returns
OES_texture_half_float | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| OES_texture_half_float_linear
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_texture_half_float_linear" |
Returns
| OES_texture_half_float_linear
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OES_vertex_array_object | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OES_vertex_array_object" |
Returns
OES_vertex_array_object | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): OVR_multiview2 | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "OVR_multiview2" |
Returns
OVR_multiview2 | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): WEBGL_color_buffer_float | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_color_buffer_float" |
Returns
WEBGL_color_buffer_float | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| WEBGL_compressed_texture_astc
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_compressed_texture_astc" |
Returns
| WEBGL_compressed_texture_astc
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| WEBGL_compressed_texture_etc
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_compressed_texture_etc" |
Returns
| WEBGL_compressed_texture_etc
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| WEBGL_compressed_texture_etc1
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_compressed_texture_etc1" |
Returns
| WEBGL_compressed_texture_etc1
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| WEBGL_compressed_texture_pvrtc
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_compressed_texture_pvrtc" |
Returns
| WEBGL_compressed_texture_pvrtc
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| WEBGL_compressed_texture_s3tc
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_compressed_texture_s3tc" |
Returns
| WEBGL_compressed_texture_s3tc
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName):
| WEBGL_compressed_texture_s3tc_srgb
| null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_compressed_texture_s3tc_srgb" |
Returns
| WEBGL_compressed_texture_s3tc_srgb
| null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): WEBGL_debug_renderer_info | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_debug_renderer_info" |
Returns
WEBGL_debug_renderer_info | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): WEBGL_debug_shaders | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_debug_shaders" |
Returns
WEBGL_debug_shaders | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): WEBGL_depth_texture | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_depth_texture" |
Returns
WEBGL_depth_texture | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): WEBGL_draw_buffers | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_draw_buffers" |
Returns
WEBGL_draw_buffers | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): WEBGL_lose_context | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_lose_context" |
Returns
WEBGL_lose_context | null
Inherited from
WebGLRenderingContextBase.getExtension
Call Signature
getExtension(extensionName): WEBGL_multi_draw | null;
Parameters
| Parameter | Type |
|---|---|
extensionName | "WEBGL_multi_draw" |
Returns
WEBGL_multi_draw | null
Inherited from
WebGLRenderingContextBase.getExtension
getFramebufferAttachmentParameter()
getFramebufferAttachmentParameter(
target,
attachment,
pname
): any;
Parameters
| Parameter | Type |
|---|---|
target | number |
attachment | number |
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getFramebufferAttachmentParameter
getParameter()
getParameter(pname): any;
Parameters
| Parameter | Type |
|---|---|
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getParameter
getProgramInfoLog()
getProgramInfoLog(program): string | null;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
Returns
string | null
Inherited from
WebGLRenderingContextBase.getProgramInfoLog
getProgramParameter()
getProgramParameter(program, pname): any;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getProgramParameter
getRenderbufferParameter()
getRenderbufferParameter(target, pname): any;
Parameters
| Parameter | Type |
|---|---|
target | number |
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getRenderbufferParameter
getShaderInfoLog()
getShaderInfoLog(shader): string | null;
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader |
Returns
string | null
Inherited from
WebGLRenderingContextBase.getShaderInfoLog
getShaderParameter()
getShaderParameter(shader, pname): any;
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader |
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getShaderParameter
getShaderPrecisionFormat()
getShaderPrecisionFormat(shadertype, precisiontype): WebGLShaderPrecisionFormat | null;
Parameters
| Parameter | Type |
|---|---|
shadertype | number |
precisiontype | number |
Returns
WebGLShaderPrecisionFormat | null
Inherited from
WebGLRenderingContextBase.getShaderPrecisionFormat
getShaderSource()
getShaderSource(shader): string | null;
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader |
Returns
string | null
Inherited from
WebGLRenderingContextBase.getShaderSource
getSupportedExtensions()
getSupportedExtensions(): string[] | null;
Returns
string[] | null
Inherited from
WebGLRenderingContextBase.getSupportedExtensions
getTexParameter()
getTexParameter(target, pname): any;
Parameters
| Parameter | Type |
|---|---|
target | number |
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getTexParameter
getUniform()
getUniform(program, location): any;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
location | WebGLUniformLocation |
Returns
any
Inherited from
WebGLRenderingContextBase.getUniform
getUniformLocation()
getUniformLocation(program, name): WebGLUniformLocation | null;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
name | string |
Returns
WebGLUniformLocation | null
Inherited from
WebGLRenderingContextBase.getUniformLocation
getVertexAttrib()
getVertexAttrib(index, pname): any;
Parameters
| Parameter | Type |
|---|---|
index | number |
pname | number |
Returns
any
Inherited from
WebGLRenderingContextBase.getVertexAttrib
getVertexAttribOffset()
getVertexAttribOffset(index, pname): number;
Parameters
| Parameter | Type |
|---|---|
index | number |
pname | number |
Returns
number
Inherited from
WebGLRenderingContextBase.getVertexAttribOffset
hint()
hint(target, mode): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
mode | number |
Returns
void
Inherited from
WebGLRenderingContextBase.hint
isBuffer()
isBuffer(buffer): boolean;
Parameters
| Parameter | Type |
|---|---|
buffer | WebGLBuffer | null |
Returns
boolean
Inherited from
WebGLRenderingContextBase.isBuffer
isContextLost()
isContextLost(): boolean;
Returns
boolean
Inherited from
WebGLRenderingContextBase.isContextLost
isEnabled()
isEnabled(cap): boolean;
Parameters
| Parameter | Type |
|---|---|
cap | number |
Returns
boolean
Inherited from
WebGLRenderingContextBase.isEnabled
isFramebuffer()
isFramebuffer(framebuffer): boolean;
Parameters
| Parameter | Type |
|---|---|
framebuffer | WebGLFramebuffer | null |
Returns
boolean
Inherited from
WebGLRenderingContextBase.isFramebuffer
isProgram()
isProgram(program): boolean;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram | null |
Returns
boolean
Inherited from
WebGLRenderingContextBase.isProgram
isRenderbuffer()
isRenderbuffer(renderbuffer): boolean;
Parameters
| Parameter | Type |
|---|---|
renderbuffer | WebGLRenderbuffer | null |
Returns
boolean
Inherited from
WebGLRenderingContextBase.isRenderbuffer
isShader()
isShader(shader): boolean;
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader | null |
Returns
boolean
Inherited from
WebGLRenderingContextBase.isShader
isTexture()
isTexture(texture): boolean;
Parameters
| Parameter | Type |
|---|---|
texture | WebGLTexture | null |
Returns
boolean
Inherited from
WebGLRenderingContextBase.isTexture
lineWidth()
lineWidth(width): void;
Parameters
| Parameter | Type |
|---|---|
width | number |
Returns
void
Inherited from
WebGLRenderingContextBase.lineWidth
linkProgram()
linkProgram(program): void;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
Returns
void
Inherited from
WebGLRenderingContextBase.linkProgram
pixelStorei()
pixelStorei(pname, param): void;
Parameters
| Parameter | Type |
|---|---|
pname | number |
param | number | boolean |
Returns
void
Inherited from
WebGLRenderingContextBase.pixelStorei
polygonOffset()
polygonOffset(factor, units): void;
Parameters
| Parameter | Type |
|---|---|
factor | number |
units | number |
Returns
void
Inherited from
WebGLRenderingContextBase.polygonOffset
readPixels()
readPixels(
x,
y,
width,
height,
format,
type,
pixels
): void;
Parameters
| Parameter | Type |
|---|---|
x | number |
y | number |
width | number |
height | number |
format | number |
type | number |
pixels | | ArrayBufferView<ArrayBufferLike> | null |
Returns
void
Inherited from
WebGLRenderingContextOverloads.readPixels
renderbufferStorage()
renderbufferStorage(
target,
internalformat,
width,
height
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
internalformat | number |
width | number |
height | number |
Returns
void
Inherited from
WebGLRenderingContextBase.renderbufferStorage
sampleCoverage()
sampleCoverage(value, invert): void;
Parameters
| Parameter | Type |
|---|---|
value | number |
invert | boolean |
Returns
void
Inherited from
WebGLRenderingContextBase.sampleCoverage
scissor()
scissor(
x,
y,
width,
height
): void;
Parameters
| Parameter | Type |
|---|---|
x | number |
y | number |
width | number |
height | number |
Returns
void
Inherited from
WebGLRenderingContextBase.scissor
shaderSource()
shaderSource(shader, source): void;
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader |
source | string |
Returns
void
Inherited from
WebGLRenderingContextBase.shaderSource
stencilFunc()
stencilFunc(
func,
ref,
mask
): void;
Parameters
| Parameter | Type |
|---|---|
func | number |
ref | number |
mask | number |
Returns
void
Inherited from
WebGLRenderingContextBase.stencilFunc
stencilFuncSeparate()
stencilFuncSeparate(
face,
func,
ref,
mask
): void;
Parameters
| Parameter | Type |
|---|---|
face | number |
func | number |
ref | number |
mask | number |
Returns
void
Inherited from
WebGLRenderingContextBase.stencilFuncSeparate
stencilMask()
stencilMask(mask): void;
Parameters
| Parameter | Type |
|---|---|
mask | number |
Returns
void
Inherited from
WebGLRenderingContextBase.stencilMask
stencilMaskSeparate()
stencilMaskSeparate(face, mask): void;
Parameters
| Parameter | Type |
|---|---|
face | number |
mask | number |
Returns
void
Inherited from
WebGLRenderingContextBase.stencilMaskSeparate
stencilOp()
stencilOp(
fail,
zfail,
zpass
): void;
Parameters
| Parameter | Type |
|---|---|
fail | number |
zfail | number |
zpass | number |
Returns
void
Inherited from
WebGLRenderingContextBase.stencilOp
stencilOpSeparate()
stencilOpSeparate(
face,
fail,
zfail,
zpass
): void;
Parameters
| Parameter | Type |
|---|---|
face | number |
fail | number |
zfail | number |
zpass | number |
Returns
void
Inherited from
WebGLRenderingContextBase.stencilOpSeparate
texImage2D()
Call Signature
texImage2D(
target,
level,
internalformat,
width,
height,
border,
format,
type,
pixels
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
internalformat | number |
width | number |
height | number |
border | number |
format | number |
type | number |
pixels | | ArrayBufferView<ArrayBufferLike> | null |
Returns
void
Inherited from
WebGLRenderingContextOverloads.texImage2D
Call Signature
texImage2D(
target,
level,
internalformat,
format,
type,
source
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
internalformat | number |
format | number |
type | number |
source | TexImageSource |
Returns
void
Inherited from
WebGLRenderingContextOverloads.texImage2D
texParameterf()
texParameterf(
target,
pname,
param
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
pname | number |
param | number |
Returns
void
Inherited from
WebGLRenderingContextBase.texParameterf
texParameteri()
texParameteri(
target,
pname,
param
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
pname | number |
param | number |
Returns
void
Inherited from
WebGLRenderingContextBase.texParameteri
texSubImage2D()
Call Signature
texSubImage2D(
target,
level,
xoffset,
yoffset,
width,
height,
format,
type,
pixels
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
xoffset | number |
yoffset | number |
width | number |
height | number |
format | number |
type | number |
pixels | | ArrayBufferView<ArrayBufferLike> | null |
Returns
void
Inherited from
WebGLRenderingContextOverloads.texSubImage2D
Call Signature
texSubImage2D(
target,
level,
xoffset,
yoffset,
format,
type,
source
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
xoffset | number |
yoffset | number |
format | number |
type | number |
source | TexImageSource |
Returns
void
Inherited from
WebGLRenderingContextOverloads.texSubImage2D
uniform1f()
uniform1f(location, x): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform1f
uniform1fv()
Call Signature
uniform1fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform1fv
Call Signature
uniform1fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform1fv
uniform1i()
uniform1i(location, x): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform1i
uniform1iv()
Call Signature
uniform1iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform1iv
Call Signature
uniform1iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform1iv
uniform2f()
uniform2f(
location,
x,
y
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
y | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform2f
uniform2fv()
Call Signature
uniform2fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform2fv
Call Signature
uniform2fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform2fv
uniform2i()
uniform2i(
location,
x,
y
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
y | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform2i
uniform2iv()
Call Signature
uniform2iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform2iv
Call Signature
uniform2iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform2iv
uniform3f()
uniform3f(
location,
x,
y,
z
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
y | number |
z | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform3f
uniform3fv()
Call Signature
uniform3fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform3fv
Call Signature
uniform3fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform3fv
uniform3i()
uniform3i(
location,
x,
y,
z
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
y | number |
z | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform3i
uniform3iv()
Call Signature
uniform3iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform3iv
Call Signature
uniform3iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform3iv
uniform4f()
uniform4f(
location,
x,
y,
z,
w
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
y | number |
z | number |
w | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform4f
uniform4fv()
Call Signature
uniform4fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform4fv
Call Signature
uniform4fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform4fv
uniform4i()
uniform4i(
location,
x,
y,
z,
w
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
x | number |
y | number |
z | number |
w | number |
Returns
void
Inherited from
WebGLRenderingContextBase.uniform4i
uniform4iv()
Call Signature
uniform4iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform4iv
Call Signature
uniform4iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniform4iv
uniformMatrix2fv()
Call Signature
uniformMatrix2fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Float32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniformMatrix2fv
Call Signature
uniformMatrix2fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniformMatrix2fv
uniformMatrix3fv()
Call Signature
uniformMatrix3fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Float32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniformMatrix3fv
Call Signature
uniformMatrix3fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniformMatrix3fv
uniformMatrix4fv()
Call Signature
uniformMatrix4fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Float32List |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniformMatrix4fv
Call Signature
uniformMatrix4fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextOverloads.uniformMatrix4fv
useProgram()
useProgram(program): void;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram | null |
Returns
void
Inherited from
WebGLRenderingContextBase.useProgram
validateProgram()
validateProgram(program): void;
Parameters
| Parameter | Type |
|---|---|
program | WebGLProgram |
Returns
void
Inherited from
WebGLRenderingContextBase.validateProgram
vertexAttrib1f()
vertexAttrib1f(index, x): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
x | number |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib1f
vertexAttrib1fv()
Call Signature
vertexAttrib1fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Float32List |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib1fv
Call Signature
vertexAttrib1fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib1fv
vertexAttrib2f()
vertexAttrib2f(
index,
x,
y
): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
x | number |
y | number |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib2f
vertexAttrib2fv()
Call Signature
vertexAttrib2fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Float32List |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib2fv
Call Signature
vertexAttrib2fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib2fv
vertexAttrib3f()
vertexAttrib3f(
index,
x,
y,
z
): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
x | number |
y | number |
z | number |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib3f
vertexAttrib3fv()
Call Signature
vertexAttrib3fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Float32List |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib3fv
Call Signature
vertexAttrib3fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib3fv
vertexAttrib4f()
vertexAttrib4f(
index,
x,
y,
z,
w
): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
x | number |
y | number |
z | number |
w | number |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib4f
vertexAttrib4fv()
Call Signature
vertexAttrib4fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Float32List |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib4fv
Call Signature
vertexAttrib4fv(index, values): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
values | Iterable<number> |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttrib4fv
vertexAttribPointer()
vertexAttribPointer(
index,
size,
type,
normalized,
stride,
offset
): void;
Parameters
| Parameter | Type |
|---|---|
index | number |
size | number |
type | number |
normalized | boolean |
stride | number |
offset | number |
Returns
void
Inherited from
WebGLRenderingContextBase.vertexAttribPointer
viewport()
viewport(
x,
y,
width,
height
): void;
Parameters
| Parameter | Type |
|---|---|
x | number |
y | number |
width | number |
height | number |
Returns
void
Inherited from
WebGLRenderingContextBase.viewport
Properties
ACTIVE_ATTRIBUTES
readonly ACTIVE_ATTRIBUTES: 35721;
Inherited from
WebGLRenderingContextBase.ACTIVE_ATTRIBUTES
ACTIVE_TEXTURE
readonly ACTIVE_TEXTURE: 34016;
Inherited from
WebGLRenderingContextBase.ACTIVE_TEXTURE
ACTIVE_UNIFORMS
readonly ACTIVE_UNIFORMS: 35718;
Inherited from
WebGLRenderingContextBase.ACTIVE_UNIFORMS
ALIASED_LINE_WIDTH_RANGE
readonly ALIASED_LINE_WIDTH_RANGE: 33902;
Inherited from
WebGLRenderingContextBase.ALIASED_LINE_WIDTH_RANGE
ALIASED_POINT_SIZE_RANGE
readonly ALIASED_POINT_SIZE_RANGE: 33901;
Inherited from
WebGLRenderingContextBase.ALIASED_POINT_SIZE_RANGE
ALPHA
readonly ALPHA: 6406;
Inherited from
WebGLRenderingContextBase.ALPHA
ALPHA_BITS
readonly ALPHA_BITS: 3413;
Inherited from
WebGLRenderingContextBase.ALPHA_BITS
ALWAYS
readonly ALWAYS: 519;
Inherited from
WebGLRenderingContextBase.ALWAYS
ARRAY_BUFFER
readonly ARRAY_BUFFER: 34962;
Inherited from
WebGLRenderingContextBase.ARRAY_BUFFER
ARRAY_BUFFER_BINDING
readonly ARRAY_BUFFER_BINDING: 34964;
Inherited from
WebGLRenderingContextBase.ARRAY_BUFFER_BINDING
ATTACHED_SHADERS
readonly ATTACHED_SHADERS: 35717;
Inherited from
WebGLRenderingContextBase.ATTACHED_SHADERS
BACK
readonly BACK: 1029;
Inherited from
WebGLRenderingContextBase.BACK
BLEND
readonly BLEND: 3042;
Inherited from
WebGLRenderingContextBase.BLEND
BLEND_COLOR
readonly BLEND_COLOR: 32773;
Inherited from
WebGLRenderingContextBase.BLEND_COLOR
BLEND_DST_ALPHA
readonly BLEND_DST_ALPHA: 32970;
Inherited from
WebGLRenderingContextBase.BLEND_DST_ALPHA
BLEND_DST_RGB
readonly BLEND_DST_RGB: 32968;
Inherited from
WebGLRenderingContextBase.BLEND_DST_RGB
BLEND_EQUATION
readonly BLEND_EQUATION: 32777;
Inherited from
WebGLRenderingContextBase.BLEND_EQUATION
BLEND_EQUATION_ALPHA
readonly BLEND_EQUATION_ALPHA: 34877;
Inherited from
WebGLRenderingContextBase.BLEND_EQUATION_ALPHA
BLEND_EQUATION_RGB
readonly BLEND_EQUATION_RGB: 32777;
Inherited from
WebGLRenderingContextBase.BLEND_EQUATION_RGB
BLEND_SRC_ALPHA
readonly BLEND_SRC_ALPHA: 32971;
Inherited from
WebGLRenderingContextBase.BLEND_SRC_ALPHA
BLEND_SRC_RGB
readonly BLEND_SRC_RGB: 32969;
Inherited from
WebGLRenderingContextBase.BLEND_SRC_RGB
BLUE_BITS
readonly BLUE_BITS: 3412;
Inherited from
WebGLRenderingContextBase.BLUE_BITS
BOOL
readonly BOOL: 35670;
Inherited from
WebGLRenderingContextBase.BOOL
BOOL_VEC2
readonly BOOL_VEC2: 35671;
Inherited from
WebGLRenderingContextBase.BOOL_VEC2
BOOL_VEC3
readonly BOOL_VEC3: 35672;
Inherited from
WebGLRenderingContextBase.BOOL_VEC3
BOOL_VEC4
readonly BOOL_VEC4: 35673;
Inherited from
WebGLRenderingContextBase.BOOL_VEC4
BROWSER_DEFAULT_WEBGL
readonly BROWSER_DEFAULT_WEBGL: 37444;
Inherited from
WebGLRenderingContextBase.BROWSER_DEFAULT_WEBGL
BUFFER_SIZE
readonly BUFFER_SIZE: 34660;
Inherited from
WebGLRenderingContextBase.BUFFER_SIZE
BUFFER_USAGE
readonly BUFFER_USAGE: 34661;
Inherited from
WebGLRenderingContextBase.BUFFER_USAGE
BYTE
readonly BYTE: 5120;
Inherited from
WebGLRenderingContextBase.BYTE
canvas
readonly canvas:
| HTMLCanvasElement
| OffscreenCanvas;
Inherited from
WebGLRenderingContextBase.canvas
CCW
readonly CCW: 2305;
Inherited from
CLAMP_TO_EDGE
readonly CLAMP_TO_EDGE: 33071;
Inherited from
WebGLRenderingContextBase.CLAMP_TO_EDGE
COLOR_ATTACHMENT0
readonly COLOR_ATTACHMENT0: 36064;
Inherited from
WebGLRenderingContextBase.COLOR_ATTACHMENT0
COLOR_BUFFER_BIT
readonly COLOR_BUFFER_BIT: 16384;
Inherited from
WebGLRenderingContextBase.COLOR_BUFFER_BIT
COLOR_CLEAR_VALUE
readonly COLOR_CLEAR_VALUE: 3106;
Inherited from
WebGLRenderingContextBase.COLOR_CLEAR_VALUE
COLOR_WRITEMASK
readonly COLOR_WRITEMASK: 3107;
Inherited from
WebGLRenderingContextBase.COLOR_WRITEMASK
COMPILE_STATUS
readonly COMPILE_STATUS: 35713;
Inherited from
WebGLRenderingContextBase.COMPILE_STATUS
COMPRESSED_TEXTURE_FORMATS
readonly COMPRESSED_TEXTURE_FORMATS: 34467;
Inherited from
WebGLRenderingContextBase.COMPRESSED_TEXTURE_FORMATS
CONSTANT_ALPHA
readonly CONSTANT_ALPHA: 32771;
Inherited from
WebGLRenderingContextBase.CONSTANT_ALPHA
CONSTANT_COLOR
readonly CONSTANT_COLOR: 32769;
Inherited from
WebGLRenderingContextBase.CONSTANT_COLOR
CONTEXT_LOST_WEBGL
readonly CONTEXT_LOST_WEBGL: 37442;
Inherited from
WebGLRenderingContextBase.CONTEXT_LOST_WEBGL
CULL_FACE
readonly CULL_FACE: 2884;
Inherited from
WebGLRenderingContextBase.CULL_FACE
CULL_FACE_MODE
readonly CULL_FACE_MODE: 2885;
Inherited from
WebGLRenderingContextBase.CULL_FACE_MODE
CURRENT_PROGRAM
readonly CURRENT_PROGRAM: 35725;
Inherited from
WebGLRenderingContextBase.CURRENT_PROGRAM
CURRENT_VERTEX_ATTRIB
readonly CURRENT_VERTEX_ATTRIB: 34342;
Inherited from
WebGLRenderingContextBase.CURRENT_VERTEX_ATTRIB
CW
readonly CW: 2304;
Inherited from
DECR
readonly DECR: 7683;
Inherited from
WebGLRenderingContextBase.DECR
DECR_WRAP
readonly DECR_WRAP: 34056;
Inherited from
WebGLRenderingContextBase.DECR_WRAP
DELETE_STATUS
readonly DELETE_STATUS: 35712;
Inherited from
WebGLRenderingContextBase.DELETE_STATUS
DEPTH_ATTACHMENT
readonly DEPTH_ATTACHMENT: 36096;
Inherited from
WebGLRenderingContextBase.DEPTH_ATTACHMENT
DEPTH_BITS
readonly DEPTH_BITS: 3414;
Inherited from
WebGLRenderingContextBase.DEPTH_BITS
DEPTH_BUFFER_BIT
readonly DEPTH_BUFFER_BIT: 256;
Inherited from
WebGLRenderingContextBase.DEPTH_BUFFER_BIT
DEPTH_CLEAR_VALUE
readonly DEPTH_CLEAR_VALUE: 2931;
Inherited from
WebGLRenderingContextBase.DEPTH_CLEAR_VALUE
DEPTH_COMPONENT
readonly DEPTH_COMPONENT: 6402;
Inherited from
WebGLRenderingContextBase.DEPTH_COMPONENT
DEPTH_COMPONENT16
readonly DEPTH_COMPONENT16: 33189;
Inherited from
WebGLRenderingContextBase.DEPTH_COMPONENT16
DEPTH_FUNC
readonly DEPTH_FUNC: 2932;
Inherited from
WebGLRenderingContextBase.DEPTH_FUNC
DEPTH_RANGE
readonly DEPTH_RANGE: 2928;
Inherited from
WebGLRenderingContextBase.DEPTH_RANGE
DEPTH_STENCIL
readonly DEPTH_STENCIL: 34041;
Inherited from
WebGLRenderingContextBase.DEPTH_STENCIL
DEPTH_STENCIL_ATTACHMENT
readonly DEPTH_STENCIL_ATTACHMENT: 33306;
Inherited from
WebGLRenderingContextBase.DEPTH_STENCIL_ATTACHMENT
DEPTH_TEST
readonly DEPTH_TEST: 2929;
Inherited from
WebGLRenderingContextBase.DEPTH_TEST
DEPTH_WRITEMASK
readonly DEPTH_WRITEMASK: 2930;
Inherited from
WebGLRenderingContextBase.DEPTH_WRITEMASK
DITHER
readonly DITHER: 3024;
Inherited from
WebGLRenderingContextBase.DITHER
DONT_CARE
readonly DONT_CARE: 4352;
Inherited from
WebGLRenderingContextBase.DONT_CARE
drawingBufferColorSpace
drawingBufferColorSpace: PredefinedColorSpace;
Inherited from
WebGLRenderingContextBase.drawingBufferColorSpace
drawingBufferHeight
readonly drawingBufferHeight: number;
Inherited from
WebGLRenderingContextBase.drawingBufferHeight
drawingBufferWidth
readonly drawingBufferWidth: number;
Inherited from
WebGLRenderingContextBase.drawingBufferWidth
DST_ALPHA
readonly DST_ALPHA: 772;
Inherited from
WebGLRenderingContextBase.DST_ALPHA
DST_COLOR
readonly DST_COLOR: 774;
Inherited from
WebGLRenderingContextBase.DST_COLOR
DYNAMIC_DRAW
readonly DYNAMIC_DRAW: 35048;
Inherited from
WebGLRenderingContextBase.DYNAMIC_DRAW
ELEMENT_ARRAY_BUFFER
readonly ELEMENT_ARRAY_BUFFER: 34963;
Inherited from
WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER
ELEMENT_ARRAY_BUFFER_BINDING
readonly ELEMENT_ARRAY_BUFFER_BINDING: 34965;
Inherited from
WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER_BINDING
EQUAL
readonly EQUAL: 514;
Inherited from
WebGLRenderingContextBase.EQUAL
FASTEST
readonly FASTEST: 4353;
Inherited from
WebGLRenderingContextBase.FASTEST
FLOAT
readonly FLOAT: 5126;
Inherited from
WebGLRenderingContextBase.FLOAT
FLOAT_MAT2
readonly FLOAT_MAT2: 35674;
Inherited from
WebGLRenderingContextBase.FLOAT_MAT2
FLOAT_MAT3
readonly FLOAT_MAT3: 35675;
Inherited from
WebGLRenderingContextBase.FLOAT_MAT3
FLOAT_MAT4
readonly FLOAT_MAT4: 35676;
Inherited from
WebGLRenderingContextBase.FLOAT_MAT4
FLOAT_VEC2
readonly FLOAT_VEC2: 35664;
Inherited from
WebGLRenderingContextBase.FLOAT_VEC2
FLOAT_VEC3
readonly FLOAT_VEC3: 35665;
Inherited from
WebGLRenderingContextBase.FLOAT_VEC3
FLOAT_VEC4
readonly FLOAT_VEC4: 35666;
Inherited from
WebGLRenderingContextBase.FLOAT_VEC4
FRAGMENT_SHADER
readonly FRAGMENT_SHADER: 35632;
Inherited from
WebGLRenderingContextBase.FRAGMENT_SHADER
FRAMEBUFFER
readonly FRAMEBUFFER: 36160;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
FRAMEBUFFER_BINDING
readonly FRAMEBUFFER_BINDING: 36006;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_BINDING
FRAMEBUFFER_COMPLETE
readonly FRAMEBUFFER_COMPLETE: 36053;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_COMPLETE
FRAMEBUFFER_INCOMPLETE_ATTACHMENT
readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_ATTACHMENT
FRAMEBUFFER_INCOMPLETE_DIMENSIONS
readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_DIMENSIONS
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
FRAMEBUFFER_UNSUPPORTED
readonly FRAMEBUFFER_UNSUPPORTED: 36061;
Inherited from
WebGLRenderingContextBase.FRAMEBUFFER_UNSUPPORTED
FRONT
readonly FRONT: 1028;
Inherited from
WebGLRenderingContextBase.FRONT
FRONT_AND_BACK
readonly FRONT_AND_BACK: 1032;
Inherited from
WebGLRenderingContextBase.FRONT_AND_BACK
FRONT_FACE
readonly FRONT_FACE: 2886;
Inherited from
WebGLRenderingContextBase.FRONT_FACE
FUNC_ADD
readonly FUNC_ADD: 32774;
Inherited from
WebGLRenderingContextBase.FUNC_ADD
FUNC_REVERSE_SUBTRACT
readonly FUNC_REVERSE_SUBTRACT: 32779;
Inherited from
WebGLRenderingContextBase.FUNC_REVERSE_SUBTRACT
FUNC_SUBTRACT
readonly FUNC_SUBTRACT: 32778;
Inherited from
WebGLRenderingContextBase.FUNC_SUBTRACT
GENERATE_MIPMAP_HINT
readonly GENERATE_MIPMAP_HINT: 33170;
Inherited from
WebGLRenderingContextBase.GENERATE_MIPMAP_HINT
GEQUAL
readonly GEQUAL: 518;
Inherited from
WebGLRenderingContextBase.GEQUAL
GREATER
readonly GREATER: 516;
Inherited from
WebGLRenderingContextBase.GREATER
GREEN_BITS
readonly GREEN_BITS: 3411;
Inherited from
WebGLRenderingContextBase.GREEN_BITS
HIGH_FLOAT
readonly HIGH_FLOAT: 36338;
Inherited from
WebGLRenderingContextBase.HIGH_FLOAT
HIGH_INT
readonly HIGH_INT: 36341;
Inherited from
WebGLRenderingContextBase.HIGH_INT
IMPLEMENTATION_COLOR_READ_FORMAT
readonly IMPLEMENTATION_COLOR_READ_FORMAT: 35739;
Inherited from
WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_FORMAT
IMPLEMENTATION_COLOR_READ_TYPE
readonly IMPLEMENTATION_COLOR_READ_TYPE: 35738;
Inherited from
WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_TYPE
INCR
readonly INCR: 7682;
Inherited from
WebGLRenderingContextBase.INCR
INCR_WRAP
readonly INCR_WRAP: 34055;
Inherited from
WebGLRenderingContextBase.INCR_WRAP
INT
readonly INT: 5124;
Inherited from
INT_VEC2
readonly INT_VEC2: 35667;
Inherited from
WebGLRenderingContextBase.INT_VEC2
INT_VEC3
readonly INT_VEC3: 35668;
Inherited from
WebGLRenderingContextBase.INT_VEC3
INT_VEC4
readonly INT_VEC4: 35669;
Inherited from
WebGLRenderingContextBase.INT_VEC4
INVALID_ENUM
readonly INVALID_ENUM: 1280;
Inherited from
WebGLRenderingContextBase.INVALID_ENUM
INVALID_FRAMEBUFFER_OPERATION
readonly INVALID_FRAMEBUFFER_OPERATION: 1286;
Inherited from
WebGLRenderingContextBase.INVALID_FRAMEBUFFER_OPERATION
INVALID_OPERATION
readonly INVALID_OPERATION: 1282;
Inherited from
WebGLRenderingContextBase.INVALID_OPERATION
INVALID_VALUE
readonly INVALID_VALUE: 1281;
Inherited from
WebGLRenderingContextBase.INVALID_VALUE
INVERT
readonly INVERT: 5386;
Inherited from
WebGLRenderingContextBase.INVERT
KEEP
readonly KEEP: 7680;
Inherited from
WebGLRenderingContextBase.KEEP
LEQUAL
readonly LEQUAL: 515;
Inherited from
WebGLRenderingContextBase.LEQUAL
LESS
readonly LESS: 513;
Inherited from
WebGLRenderingContextBase.LESS
LINE_LOOP
readonly LINE_LOOP: 2;
Inherited from
WebGLRenderingContextBase.LINE_LOOP
LINE_STRIP
readonly LINE_STRIP: 3;
Inherited from
WebGLRenderingContextBase.LINE_STRIP
LINE_WIDTH
readonly LINE_WIDTH: 2849;
Inherited from
WebGLRenderingContextBase.LINE_WIDTH
LINEAR
readonly LINEAR: 9729;
Inherited from
WebGLRenderingContextBase.LINEAR
LINEAR_MIPMAP_LINEAR
readonly LINEAR_MIPMAP_LINEAR: 9987;
Inherited from
WebGLRenderingContextBase.LINEAR_MIPMAP_LINEAR
LINEAR_MIPMAP_NEAREST
readonly LINEAR_MIPMAP_NEAREST: 9985;
Inherited from
WebGLRenderingContextBase.LINEAR_MIPMAP_NEAREST
LINES
readonly LINES: 1;
Inherited from
WebGLRenderingContextBase.LINES
LINK_STATUS
readonly LINK_STATUS: 35714;
Inherited from
WebGLRenderingContextBase.LINK_STATUS
LOW_FLOAT
readonly LOW_FLOAT: 36336;
Inherited from
WebGLRenderingContextBase.LOW_FLOAT
LOW_INT
readonly LOW_INT: 36339;
Inherited from
WebGLRenderingContextBase.LOW_INT
LUMINANCE
readonly LUMINANCE: 6409;
Inherited from
WebGLRenderingContextBase.LUMINANCE
LUMINANCE_ALPHA
readonly LUMINANCE_ALPHA: 6410;
Inherited from
WebGLRenderingContextBase.LUMINANCE_ALPHA
MAX_COMBINED_TEXTURE_IMAGE_UNITS
readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661;
Inherited from
WebGLRenderingContextBase.MAX_COMBINED_TEXTURE_IMAGE_UNITS
MAX_CUBE_MAP_TEXTURE_SIZE
readonly MAX_CUBE_MAP_TEXTURE_SIZE: 34076;
Inherited from
WebGLRenderingContextBase.MAX_CUBE_MAP_TEXTURE_SIZE
MAX_FRAGMENT_UNIFORM_VECTORS
readonly MAX_FRAGMENT_UNIFORM_VECTORS: 36349;
Inherited from
WebGLRenderingContextBase.MAX_FRAGMENT_UNIFORM_VECTORS
MAX_RENDERBUFFER_SIZE
readonly MAX_RENDERBUFFER_SIZE: 34024;
Inherited from
WebGLRenderingContextBase.MAX_RENDERBUFFER_SIZE
MAX_TEXTURE_IMAGE_UNITS
readonly MAX_TEXTURE_IMAGE_UNITS: 34930;
Inherited from
WebGLRenderingContextBase.MAX_TEXTURE_IMAGE_UNITS
MAX_TEXTURE_SIZE
readonly MAX_TEXTURE_SIZE: 3379;
Inherited from
WebGLRenderingContextBase.MAX_TEXTURE_SIZE
MAX_VARYING_VECTORS
readonly MAX_VARYING_VECTORS: 36348;
Inherited from
WebGLRenderingContextBase.MAX_VARYING_VECTORS
MAX_VERTEX_ATTRIBS
readonly MAX_VERTEX_ATTRIBS: 34921;
Inherited from
WebGLRenderingContextBase.MAX_VERTEX_ATTRIBS
MAX_VERTEX_TEXTURE_IMAGE_UNITS
readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660;
Inherited from
WebGLRenderingContextBase.MAX_VERTEX_TEXTURE_IMAGE_UNITS
MAX_VERTEX_UNIFORM_VECTORS
readonly MAX_VERTEX_UNIFORM_VECTORS: 36347;
Inherited from
WebGLRenderingContextBase.MAX_VERTEX_UNIFORM_VECTORS
MAX_VIEWPORT_DIMS
readonly MAX_VIEWPORT_DIMS: 3386;
Inherited from
WebGLRenderingContextBase.MAX_VIEWPORT_DIMS
MEDIUM_FLOAT
readonly MEDIUM_FLOAT: 36337;
Inherited from
WebGLRenderingContextBase.MEDIUM_FLOAT
MEDIUM_INT
readonly MEDIUM_INT: 36340;
Inherited from
WebGLRenderingContextBase.MEDIUM_INT
MIRRORED_REPEAT
readonly MIRRORED_REPEAT: 33648;
Inherited from
WebGLRenderingContextBase.MIRRORED_REPEAT
NEAREST
readonly NEAREST: 9728;
Inherited from
WebGLRenderingContextBase.NEAREST
NEAREST_MIPMAP_LINEAR
readonly NEAREST_MIPMAP_LINEAR: 9986;
Inherited from
WebGLRenderingContextBase.NEAREST_MIPMAP_LINEAR
NEAREST_MIPMAP_NEAREST
readonly NEAREST_MIPMAP_NEAREST: 9984;
Inherited from
WebGLRenderingContextBase.NEAREST_MIPMAP_NEAREST
NEVER
readonly NEVER: 512;
Inherited from
WebGLRenderingContextBase.NEVER
NICEST
readonly NICEST: 4354;
Inherited from
WebGLRenderingContextBase.NICEST
NO_ERROR
readonly NO_ERROR: 0;
Inherited from
WebGLRenderingContextBase.NO_ERROR
NONE
readonly NONE: 0;
Inherited from
WebGLRenderingContextBase.NONE
NOTEQUAL
readonly NOTEQUAL: 517;
Inherited from
WebGLRenderingContextBase.NOTEQUAL
ONE
readonly ONE: 1;
Inherited from
ONE_MINUS_CONSTANT_ALPHA
readonly ONE_MINUS_CONSTANT_ALPHA: 32772;
Inherited from
WebGLRenderingContextBase.ONE_MINUS_CONSTANT_ALPHA
ONE_MINUS_CONSTANT_COLOR
readonly ONE_MINUS_CONSTANT_COLOR: 32770;
Inherited from
WebGLRenderingContextBase.ONE_MINUS_CONSTANT_COLOR
ONE_MINUS_DST_ALPHA
readonly ONE_MINUS_DST_ALPHA: 773;
Inherited from
WebGLRenderingContextBase.ONE_MINUS_DST_ALPHA
ONE_MINUS_DST_COLOR
readonly ONE_MINUS_DST_COLOR: 775;
Inherited from
WebGLRenderingContextBase.ONE_MINUS_DST_COLOR
ONE_MINUS_SRC_ALPHA
readonly ONE_MINUS_SRC_ALPHA: 771;
Inherited from
WebGLRenderingContextBase.ONE_MINUS_SRC_ALPHA
ONE_MINUS_SRC_COLOR
readonly ONE_MINUS_SRC_COLOR: 769;
Inherited from
WebGLRenderingContextBase.ONE_MINUS_SRC_COLOR
OUT_OF_MEMORY
readonly OUT_OF_MEMORY: 1285;
Inherited from
WebGLRenderingContextBase.OUT_OF_MEMORY
PACK_ALIGNMENT
readonly PACK_ALIGNMENT: 3333;
Inherited from
WebGLRenderingContextBase.PACK_ALIGNMENT
POINTS
readonly POINTS: 0;
Inherited from
WebGLRenderingContextBase.POINTS
POLYGON_OFFSET_FACTOR
readonly POLYGON_OFFSET_FACTOR: 32824;
Inherited from
WebGLRenderingContextBase.POLYGON_OFFSET_FACTOR
POLYGON_OFFSET_FILL
readonly POLYGON_OFFSET_FILL: 32823;
Inherited from
WebGLRenderingContextBase.POLYGON_OFFSET_FILL
POLYGON_OFFSET_UNITS
readonly POLYGON_OFFSET_UNITS: 10752;
Inherited from
WebGLRenderingContextBase.POLYGON_OFFSET_UNITS
RED_BITS
readonly RED_BITS: 3410;
Inherited from
WebGLRenderingContextBase.RED_BITS
RENDERBUFFER
readonly RENDERBUFFER: 36161;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER
RENDERBUFFER_ALPHA_SIZE
readonly RENDERBUFFER_ALPHA_SIZE: 36179;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_ALPHA_SIZE
RENDERBUFFER_BINDING
readonly RENDERBUFFER_BINDING: 36007;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_BINDING
RENDERBUFFER_BLUE_SIZE
readonly RENDERBUFFER_BLUE_SIZE: 36178;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_BLUE_SIZE
RENDERBUFFER_DEPTH_SIZE
readonly RENDERBUFFER_DEPTH_SIZE: 36180;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_DEPTH_SIZE
RENDERBUFFER_GREEN_SIZE
readonly RENDERBUFFER_GREEN_SIZE: 36177;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_GREEN_SIZE
RENDERBUFFER_HEIGHT
readonly RENDERBUFFER_HEIGHT: 36163;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_HEIGHT
RENDERBUFFER_INTERNAL_FORMAT
readonly RENDERBUFFER_INTERNAL_FORMAT: 36164;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_INTERNAL_FORMAT
RENDERBUFFER_RED_SIZE
readonly RENDERBUFFER_RED_SIZE: 36176;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_RED_SIZE
RENDERBUFFER_STENCIL_SIZE
readonly RENDERBUFFER_STENCIL_SIZE: 36181;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_STENCIL_SIZE
RENDERBUFFER_WIDTH
readonly RENDERBUFFER_WIDTH: 36162;
Inherited from
WebGLRenderingContextBase.RENDERBUFFER_WIDTH
RENDERER
readonly RENDERER: 7937;
Inherited from
WebGLRenderingContextBase.RENDERER
REPEAT
readonly REPEAT: 10497;
Inherited from
WebGLRenderingContextBase.REPEAT
REPLACE
readonly REPLACE: 7681;
Inherited from
WebGLRenderingContextBase.REPLACE
RGB
readonly RGB: 6407;
Inherited from
RGB5_A1
readonly RGB5_A1: 32855;
Inherited from
WebGLRenderingContextBase.RGB5_A1
RGB565
readonly RGB565: 36194;
Inherited from
WebGLRenderingContextBase.RGB565
RGBA
readonly RGBA: 6408;
Inherited from
WebGLRenderingContextBase.RGBA
RGBA4
readonly RGBA4: 32854;
Inherited from
WebGLRenderingContextBase.RGBA4
RGBA8
readonly RGBA8: 32856;
Inherited from
WebGLRenderingContextBase.RGBA8
SAMPLE_ALPHA_TO_COVERAGE
readonly SAMPLE_ALPHA_TO_COVERAGE: 32926;
Inherited from
WebGLRenderingContextBase.SAMPLE_ALPHA_TO_COVERAGE
SAMPLE_BUFFERS
readonly SAMPLE_BUFFERS: 32936;
Inherited from
WebGLRenderingContextBase.SAMPLE_BUFFERS
SAMPLE_COVERAGE
readonly SAMPLE_COVERAGE: 32928;
Inherited from
WebGLRenderingContextBase.SAMPLE_COVERAGE
SAMPLE_COVERAGE_INVERT
readonly SAMPLE_COVERAGE_INVERT: 32939;
Inherited from
WebGLRenderingContextBase.SAMPLE_COVERAGE_INVERT
SAMPLE_COVERAGE_VALUE
readonly SAMPLE_COVERAGE_VALUE: 32938;
Inherited from
WebGLRenderingContextBase.SAMPLE_COVERAGE_VALUE
SAMPLER_2D
readonly SAMPLER_2D: 35678;
Inherited from
WebGLRenderingContextBase.SAMPLER_2D
SAMPLER_CUBE
readonly SAMPLER_CUBE: 35680;
Inherited from
WebGLRenderingContextBase.SAMPLER_CUBE
SAMPLES
readonly SAMPLES: 32937;
Inherited from
WebGLRenderingContextBase.SAMPLES
SCISSOR_BOX
readonly SCISSOR_BOX: 3088;
Inherited from
WebGLRenderingContextBase.SCISSOR_BOX
SCISSOR_TEST
readonly SCISSOR_TEST: 3089;
Inherited from
WebGLRenderingContextBase.SCISSOR_TEST
SHADER_TYPE
readonly SHADER_TYPE: 35663;
Inherited from
WebGLRenderingContextBase.SHADER_TYPE
SHADING_LANGUAGE_VERSION
readonly SHADING_LANGUAGE_VERSION: 35724;
Inherited from
WebGLRenderingContextBase.SHADING_LANGUAGE_VERSION
SHORT
readonly SHORT: 5122;
Inherited from
WebGLRenderingContextBase.SHORT
SRC_ALPHA
readonly SRC_ALPHA: 770;
Inherited from
WebGLRenderingContextBase.SRC_ALPHA
SRC_ALPHA_SATURATE
readonly SRC_ALPHA_SATURATE: 776;
Inherited from
WebGLRenderingContextBase.SRC_ALPHA_SATURATE
SRC_COLOR
readonly SRC_COLOR: 768;
Inherited from
WebGLRenderingContextBase.SRC_COLOR
STATIC_DRAW
readonly STATIC_DRAW: 35044;
Inherited from
WebGLRenderingContextBase.STATIC_DRAW
STENCIL_ATTACHMENT
readonly STENCIL_ATTACHMENT: 36128;
Inherited from
WebGLRenderingContextBase.STENCIL_ATTACHMENT
STENCIL_BACK_FAIL
readonly STENCIL_BACK_FAIL: 34817;
Inherited from
WebGLRenderingContextBase.STENCIL_BACK_FAIL
STENCIL_BACK_FUNC
readonly STENCIL_BACK_FUNC: 34816;
Inherited from
WebGLRenderingContextBase.STENCIL_BACK_FUNC
STENCIL_BACK_PASS_DEPTH_FAIL
readonly STENCIL_BACK_PASS_DEPTH_FAIL: 34818;
Inherited from
WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_FAIL
STENCIL_BACK_PASS_DEPTH_PASS
readonly STENCIL_BACK_PASS_DEPTH_PASS: 34819;
Inherited from
WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_PASS
STENCIL_BACK_REF
readonly STENCIL_BACK_REF: 36003;
Inherited from
WebGLRenderingContextBase.STENCIL_BACK_REF
STENCIL_BACK_VALUE_MASK
readonly STENCIL_BACK_VALUE_MASK: 36004;
Inherited from
WebGLRenderingContextBase.STENCIL_BACK_VALUE_MASK
STENCIL_BACK_WRITEMASK
readonly STENCIL_BACK_WRITEMASK: 36005;
Inherited from
WebGLRenderingContextBase.STENCIL_BACK_WRITEMASK
STENCIL_BITS
readonly STENCIL_BITS: 3415;
Inherited from
WebGLRenderingContextBase.STENCIL_BITS
STENCIL_BUFFER_BIT
readonly STENCIL_BUFFER_BIT: 1024;
Inherited from
WebGLRenderingContextBase.STENCIL_BUFFER_BIT
STENCIL_CLEAR_VALUE
readonly STENCIL_CLEAR_VALUE: 2961;
Inherited from
WebGLRenderingContextBase.STENCIL_CLEAR_VALUE
STENCIL_FAIL
readonly STENCIL_FAIL: 2964;
Inherited from
WebGLRenderingContextBase.STENCIL_FAIL
STENCIL_FUNC
readonly STENCIL_FUNC: 2962;
Inherited from
WebGLRenderingContextBase.STENCIL_FUNC
STENCIL_INDEX8
readonly STENCIL_INDEX8: 36168;
Inherited from
WebGLRenderingContextBase.STENCIL_INDEX8
STENCIL_PASS_DEPTH_FAIL
readonly STENCIL_PASS_DEPTH_FAIL: 2965;
Inherited from
WebGLRenderingContextBase.STENCIL_PASS_DEPTH_FAIL
STENCIL_PASS_DEPTH_PASS
readonly STENCIL_PASS_DEPTH_PASS: 2966;
Inherited from
WebGLRenderingContextBase.STENCIL_PASS_DEPTH_PASS
STENCIL_REF
readonly STENCIL_REF: 2967;
Inherited from
WebGLRenderingContextBase.STENCIL_REF
STENCIL_TEST
readonly STENCIL_TEST: 2960;
Inherited from
WebGLRenderingContextBase.STENCIL_TEST
STENCIL_VALUE_MASK
readonly STENCIL_VALUE_MASK: 2963;
Inherited from
WebGLRenderingContextBase.STENCIL_VALUE_MASK
STENCIL_WRITEMASK
readonly STENCIL_WRITEMASK: 2968;
Inherited from
WebGLRenderingContextBase.STENCIL_WRITEMASK
STREAM_DRAW
readonly STREAM_DRAW: 35040;
Inherited from
WebGLRenderingContextBase.STREAM_DRAW
SUBPIXEL_BITS
readonly SUBPIXEL_BITS: 3408;
Inherited from
WebGLRenderingContextBase.SUBPIXEL_BITS
TEXTURE
readonly TEXTURE: 5890;
Inherited from
WebGLRenderingContextBase.TEXTURE
TEXTURE_2D
readonly TEXTURE_2D: 3553;
Inherited from
WebGLRenderingContextBase.TEXTURE_2D
TEXTURE_BINDING_2D
readonly TEXTURE_BINDING_2D: 32873;
Inherited from
WebGLRenderingContextBase.TEXTURE_BINDING_2D
TEXTURE_BINDING_CUBE_MAP
readonly TEXTURE_BINDING_CUBE_MAP: 34068;
Inherited from
WebGLRenderingContextBase.TEXTURE_BINDING_CUBE_MAP
TEXTURE_CUBE_MAP
readonly TEXTURE_CUBE_MAP: 34067;
Inherited from
WebGLRenderingContextBase.TEXTURE_CUBE_MAP
TEXTURE_CUBE_MAP_NEGATIVE_X
readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 34070;
Inherited from
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_X
TEXTURE_CUBE_MAP_NEGATIVE_Y
readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 34072;
Inherited from
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Y
TEXTURE_CUBE_MAP_NEGATIVE_Z
readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 34074;
Inherited from
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Z
TEXTURE_CUBE_MAP_POSITIVE_X
readonly TEXTURE_CUBE_MAP_POSITIVE_X: 34069;
Inherited from
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_X
TEXTURE_CUBE_MAP_POSITIVE_Y
readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 34071;
Inherited from
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Y
TEXTURE_CUBE_MAP_POSITIVE_Z
readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 34073;
Inherited from
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Z
TEXTURE_MAG_FILTER
readonly TEXTURE_MAG_FILTER: 10240;
Inherited from
WebGLRenderingContextBase.TEXTURE_MAG_FILTER
TEXTURE_MIN_FILTER
readonly TEXTURE_MIN_FILTER: 10241;
Inherited from
WebGLRenderingContextBase.TEXTURE_MIN_FILTER
TEXTURE_WRAP_S
readonly TEXTURE_WRAP_S: 10242;
Inherited from
WebGLRenderingContextBase.TEXTURE_WRAP_S
TEXTURE_WRAP_T
readonly TEXTURE_WRAP_T: 10243;
Inherited from
WebGLRenderingContextBase.TEXTURE_WRAP_T
TEXTURE0
readonly TEXTURE0: 33984;
Inherited from
WebGLRenderingContextBase.TEXTURE0
TEXTURE1
readonly TEXTURE1: 33985;
Inherited from
WebGLRenderingContextBase.TEXTURE1
TEXTURE10
readonly TEXTURE10: 33994;
Inherited from
WebGLRenderingContextBase.TEXTURE10
TEXTURE11
readonly TEXTURE11: 33995;
Inherited from
WebGLRenderingContextBase.TEXTURE11
TEXTURE12
readonly TEXTURE12: 33996;
Inherited from
WebGLRenderingContextBase.TEXTURE12
TEXTURE13
readonly TEXTURE13: 33997;
Inherited from
WebGLRenderingContextBase.TEXTURE13
TEXTURE14
readonly TEXTURE14: 33998;
Inherited from
WebGLRenderingContextBase.TEXTURE14
TEXTURE15
readonly TEXTURE15: 33999;
Inherited from
WebGLRenderingContextBase.TEXTURE15
TEXTURE16
readonly TEXTURE16: 34000;
Inherited from
WebGLRenderingContextBase.TEXTURE16
TEXTURE17
readonly TEXTURE17: 34001;
Inherited from
WebGLRenderingContextBase.TEXTURE17
TEXTURE18
readonly TEXTURE18: 34002;
Inherited from
WebGLRenderingContextBase.TEXTURE18
TEXTURE19
readonly TEXTURE19: 34003;
Inherited from
WebGLRenderingContextBase.TEXTURE19
TEXTURE2
readonly TEXTURE2: 33986;
Inherited from
WebGLRenderingContextBase.TEXTURE2
TEXTURE20
readonly TEXTURE20: 34004;
Inherited from
WebGLRenderingContextBase.TEXTURE20
TEXTURE21
readonly TEXTURE21: 34005;
Inherited from
WebGLRenderingContextBase.TEXTURE21
TEXTURE22
readonly TEXTURE22: 34006;
Inherited from
WebGLRenderingContextBase.TEXTURE22
TEXTURE23
readonly TEXTURE23: 34007;
Inherited from
WebGLRenderingContextBase.TEXTURE23
TEXTURE24
readonly TEXTURE24: 34008;
Inherited from
WebGLRenderingContextBase.TEXTURE24
TEXTURE25
readonly TEXTURE25: 34009;
Inherited from
WebGLRenderingContextBase.TEXTURE25
TEXTURE26
readonly TEXTURE26: 34010;
Inherited from
WebGLRenderingContextBase.TEXTURE26
TEXTURE27
readonly TEXTURE27: 34011;
Inherited from
WebGLRenderingContextBase.TEXTURE27
TEXTURE28
readonly TEXTURE28: 34012;
Inherited from
WebGLRenderingContextBase.TEXTURE28
TEXTURE29
readonly TEXTURE29: 34013;
Inherited from
WebGLRenderingContextBase.TEXTURE29
TEXTURE3
readonly TEXTURE3: 33987;
Inherited from
WebGLRenderingContextBase.TEXTURE3
TEXTURE30
readonly TEXTURE30: 34014;
Inherited from
WebGLRenderingContextBase.TEXTURE30
TEXTURE31
readonly TEXTURE31: 34015;
Inherited from
WebGLRenderingContextBase.TEXTURE31
TEXTURE4
readonly TEXTURE4: 33988;
Inherited from
WebGLRenderingContextBase.TEXTURE4
TEXTURE5
readonly TEXTURE5: 33989;
Inherited from
WebGLRenderingContextBase.TEXTURE5
TEXTURE6
readonly TEXTURE6: 33990;
Inherited from
WebGLRenderingContextBase.TEXTURE6
TEXTURE7
readonly TEXTURE7: 33991;
Inherited from
WebGLRenderingContextBase.TEXTURE7
TEXTURE8
readonly TEXTURE8: 33992;
Inherited from
WebGLRenderingContextBase.TEXTURE8
TEXTURE9
readonly TEXTURE9: 33993;
Inherited from
WebGLRenderingContextBase.TEXTURE9
TRIANGLE_FAN
readonly TRIANGLE_FAN: 6;
Inherited from
WebGLRenderingContextBase.TRIANGLE_FAN
TRIANGLE_STRIP
readonly TRIANGLE_STRIP: 5;
Inherited from
WebGLRenderingContextBase.TRIANGLE_STRIP
TRIANGLES
readonly TRIANGLES: 4;
Inherited from
WebGLRenderingContextBase.TRIANGLES
UNPACK_ALIGNMENT
readonly UNPACK_ALIGNMENT: 3317;
Inherited from
WebGLRenderingContextBase.UNPACK_ALIGNMENT
UNPACK_COLORSPACE_CONVERSION_WEBGL
readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443;
Inherited from
WebGLRenderingContextBase.UNPACK_COLORSPACE_CONVERSION_WEBGL
UNPACK_FLIP_Y_WEBGL
readonly UNPACK_FLIP_Y_WEBGL: 37440;
Inherited from
WebGLRenderingContextBase.UNPACK_FLIP_Y_WEBGL
UNPACK_PREMULTIPLY_ALPHA_WEBGL
readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441;
Inherited from
WebGLRenderingContextBase.UNPACK_PREMULTIPLY_ALPHA_WEBGL
unpackColorSpace
unpackColorSpace: PredefinedColorSpace;
Inherited from
WebGLRenderingContextBase.unpackColorSpace
UNSIGNED_BYTE
readonly UNSIGNED_BYTE: 5121;
Inherited from
WebGLRenderingContextBase.UNSIGNED_BYTE
UNSIGNED_INT
readonly UNSIGNED_INT: 5125;
Inherited from
WebGLRenderingContextBase.UNSIGNED_INT
UNSIGNED_SHORT
readonly UNSIGNED_SHORT: 5123;
Inherited from
WebGLRenderingContextBase.UNSIGNED_SHORT
UNSIGNED_SHORT_4_4_4_4
readonly UNSIGNED_SHORT_4_4_4_4: 32819;
Inherited from
WebGLRenderingContextBase.UNSIGNED_SHORT_4_4_4_4
UNSIGNED_SHORT_5_5_5_1
readonly UNSIGNED_SHORT_5_5_5_1: 32820;
Inherited from
WebGLRenderingContextBase.UNSIGNED_SHORT_5_5_5_1
UNSIGNED_SHORT_5_6_5
readonly UNSIGNED_SHORT_5_6_5: 33635;
Inherited from
WebGLRenderingContextBase.UNSIGNED_SHORT_5_6_5
VALIDATE_STATUS
readonly VALIDATE_STATUS: 35715;
Inherited from
WebGLRenderingContextBase.VALIDATE_STATUS
VENDOR
readonly VENDOR: 7936;
Inherited from
WebGLRenderingContextBase.VENDOR
VERSION
readonly VERSION: 7938;
Inherited from
WebGLRenderingContextBase.VERSION
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 34975;
Inherited from
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
VERTEX_ATTRIB_ARRAY_ENABLED
readonly VERTEX_ATTRIB_ARRAY_ENABLED: 34338;
Inherited from
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_ENABLED
VERTEX_ATTRIB_ARRAY_NORMALIZED
readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 34922;
Inherited from
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_NORMALIZED
VERTEX_ATTRIB_ARRAY_POINTER
readonly VERTEX_ATTRIB_ARRAY_POINTER: 34373;
Inherited from
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_POINTER
VERTEX_ATTRIB_ARRAY_SIZE
readonly VERTEX_ATTRIB_ARRAY_SIZE: 34339;
Inherited from
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_SIZE
VERTEX_ATTRIB_ARRAY_STRIDE
readonly VERTEX_ATTRIB_ARRAY_STRIDE: 34340;
Inherited from
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_STRIDE
VERTEX_ATTRIB_ARRAY_TYPE
readonly VERTEX_ATTRIB_ARRAY_TYPE: 34341;
Inherited from
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_TYPE
VERTEX_SHADER
readonly VERTEX_SHADER: 35633;
Inherited from
WebGLRenderingContextBase.VERTEX_SHADER
VIEWPORT
readonly VIEWPORT: 2978;
Inherited from
WebGLRenderingContextBase.VIEWPORT
ZERO
readonly ZERO: 0;