Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WebGL2RenderingContextBase

interface WebGL2RenderingContextBase {
readonly ACTIVE_UNIFORM_BLOCKS: GLenum;
readonly ALREADY_SIGNALED: GLenum;
readonly ANY_SAMPLES_PASSED: GLenum;
readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;
readonly COLOR: GLenum;
readonly COLOR_ATTACHMENT1: GLenum;
readonly COLOR_ATTACHMENT10: GLenum;
readonly COLOR_ATTACHMENT11: GLenum;
readonly COLOR_ATTACHMENT12: GLenum;
readonly COLOR_ATTACHMENT13: GLenum;
readonly COLOR_ATTACHMENT14: GLenum;
readonly COLOR_ATTACHMENT15: GLenum;
readonly COLOR_ATTACHMENT2: GLenum;
readonly COLOR_ATTACHMENT3: GLenum;
readonly COLOR_ATTACHMENT4: GLenum;
readonly COLOR_ATTACHMENT5: GLenum;
readonly COLOR_ATTACHMENT6: GLenum;
readonly COLOR_ATTACHMENT7: GLenum;
readonly COLOR_ATTACHMENT8: GLenum;
readonly COLOR_ATTACHMENT9: GLenum;
readonly COMPARE_REF_TO_TEXTURE: GLenum;
readonly CONDITION_SATISFIED: GLenum;
readonly COPY_READ_BUFFER: GLenum;
readonly COPY_READ_BUFFER_BINDING: GLenum;
readonly COPY_WRITE_BUFFER: GLenum;
readonly COPY_WRITE_BUFFER_BINDING: GLenum;
readonly CURRENT_QUERY: GLenum;
readonly DEPTH: GLenum;
readonly DEPTH_COMPONENT24: GLenum;
readonly DEPTH_COMPONENT32F: GLenum;
readonly DEPTH24_STENCIL8: GLenum;
readonly DEPTH32F_STENCIL8: GLenum;
readonly DRAW_BUFFER0: GLenum;
readonly DRAW_BUFFER1: GLenum;
readonly DRAW_BUFFER10: GLenum;
readonly DRAW_BUFFER11: GLenum;
readonly DRAW_BUFFER12: GLenum;
readonly DRAW_BUFFER13: GLenum;
readonly DRAW_BUFFER14: GLenum;
readonly DRAW_BUFFER15: GLenum;
readonly DRAW_BUFFER2: GLenum;
readonly DRAW_BUFFER3: GLenum;
readonly DRAW_BUFFER4: GLenum;
readonly DRAW_BUFFER5: GLenum;
readonly DRAW_BUFFER6: GLenum;
readonly DRAW_BUFFER7: GLenum;
readonly DRAW_BUFFER8: GLenum;
readonly DRAW_BUFFER9: GLenum;
readonly DRAW_FRAMEBUFFER: GLenum;
readonly DRAW_FRAMEBUFFER_BINDING: GLenum;
readonly DYNAMIC_COPY: GLenum;
readonly DYNAMIC_READ: GLenum;
readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;
readonly FLOAT_MAT2x3: GLenum;
readonly FLOAT_MAT2x4: GLenum;
readonly FLOAT_MAT3x2: GLenum;
readonly FLOAT_MAT3x4: GLenum;
readonly FLOAT_MAT4x2: GLenum;
readonly FLOAT_MAT4x3: GLenum;
readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;
readonly FRAMEBUFFER_DEFAULT: GLenum;
readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;
readonly HALF_FLOAT: GLenum;
readonly INT_2_10_10_10_REV: GLenum;
readonly INT_SAMPLER_2D: GLenum;
readonly INT_SAMPLER_2D_ARRAY: GLenum;
readonly INT_SAMPLER_3D: GLenum;
readonly INT_SAMPLER_CUBE: GLenum;
readonly INTERLEAVED_ATTRIBS: GLenum;
readonly INVALID_INDEX: GLenum;
readonly MAX: GLenum;
readonly MAX_3D_TEXTURE_SIZE: GLenum;
readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;
readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;
readonly MAX_COLOR_ATTACHMENTS: GLenum;
readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;
readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;
readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;
readonly MAX_DRAW_BUFFERS: GLenum;
readonly MAX_ELEMENT_INDEX: GLenum;
readonly MAX_ELEMENTS_INDICES: GLenum;
readonly MAX_ELEMENTS_VERTICES: GLenum;
readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;
readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;
readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;
readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;
readonly MAX_SAMPLES: GLenum;
readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;
readonly MAX_TEXTURE_LOD_BIAS: GLenum;
readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;
readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;
readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;
readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;
readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;
readonly MAX_VARYING_COMPONENTS: GLenum;
readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;
readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;
readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;
readonly MIN: GLenum;
readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;
readonly OBJECT_TYPE: GLenum;
readonly PACK_ROW_LENGTH: GLenum;
readonly PACK_SKIP_PIXELS: GLenum;
readonly PACK_SKIP_ROWS: GLenum;
readonly PIXEL_PACK_BUFFER: GLenum;
readonly PIXEL_PACK_BUFFER_BINDING: GLenum;
readonly PIXEL_UNPACK_BUFFER: GLenum;
readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;
readonly QUERY_RESULT: GLenum;
readonly QUERY_RESULT_AVAILABLE: GLenum;
readonly R11F_G11F_B10F: GLenum;
readonly R16F: GLenum;
readonly R16I: GLenum;
readonly R16UI: GLenum;
readonly R32F: GLenum;
readonly R32I: GLenum;
readonly R32UI: GLenum;
readonly R8: GLenum;
readonly R8_SNORM: GLenum;
readonly R8I: GLenum;
readonly R8UI: GLenum;
readonly RASTERIZER_DISCARD: GLenum;
readonly READ_BUFFER: GLenum;
readonly READ_FRAMEBUFFER: GLenum;
readonly READ_FRAMEBUFFER_BINDING: GLenum;
readonly RED: GLenum;
readonly RED_INTEGER: GLenum;
readonly RENDERBUFFER_SAMPLES: GLenum;
readonly RG: GLenum;
readonly RG_INTEGER: GLenum;
readonly RG16F: GLenum;
readonly RG16I: GLenum;
readonly RG16UI: GLenum;
readonly RG32F: GLenum;
readonly RG32I: GLenum;
readonly RG32UI: GLenum;
readonly RG8: GLenum;
readonly RG8_SNORM: GLenum;
readonly RG8I: GLenum;
readonly RG8UI: GLenum;
readonly RGB_INTEGER: GLenum;
readonly RGB10_A2: GLenum;
readonly RGB10_A2UI: GLenum;
readonly RGB16F: GLenum;
readonly RGB16I: GLenum;
readonly RGB16UI: GLenum;
readonly RGB32F: GLenum;
readonly RGB32I: GLenum;
readonly RGB32UI: GLenum;
readonly RGB8: GLenum;
readonly RGB8_SNORM: GLenum;
readonly RGB8I: GLenum;
readonly RGB8UI: GLenum;
readonly RGB9_E5: GLenum;
readonly RGBA_INTEGER: GLenum;
readonly RGBA16F: GLenum;
readonly RGBA16I: GLenum;
readonly RGBA16UI: GLenum;
readonly RGBA32F: GLenum;
readonly RGBA32I: GLenum;
readonly RGBA32UI: GLenum;
readonly RGBA8: GLenum;
readonly RGBA8_SNORM: GLenum;
readonly RGBA8I: GLenum;
readonly RGBA8UI: GLenum;
readonly SAMPLER_2D_ARRAY: GLenum;
readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;
readonly SAMPLER_2D_SHADOW: GLenum;
readonly SAMPLER_3D: GLenum;
readonly SAMPLER_BINDING: GLenum;
readonly SAMPLER_CUBE_SHADOW: GLenum;
readonly SEPARATE_ATTRIBS: GLenum;
readonly SIGNALED: GLenum;
readonly SIGNED_NORMALIZED: GLenum;
readonly SRGB: GLenum;
readonly SRGB8: GLenum;
readonly SRGB8_ALPHA8: GLenum;
readonly STATIC_COPY: GLenum;
readonly STATIC_READ: GLenum;
readonly STENCIL: GLenum;
readonly STREAM_COPY: GLenum;
readonly STREAM_READ: GLenum;
readonly SYNC_CONDITION: GLenum;
readonly SYNC_FENCE: GLenum;
readonly SYNC_FLAGS: GLenum;
readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;
readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;
readonly SYNC_STATUS: GLenum;
readonly TEXTURE_2D_ARRAY: GLenum;
readonly TEXTURE_3D: GLenum;
readonly TEXTURE_BASE_LEVEL: GLenum;
readonly TEXTURE_BINDING_2D_ARRAY: GLenum;
readonly TEXTURE_BINDING_3D: GLenum;
readonly TEXTURE_COMPARE_FUNC: GLenum;
readonly TEXTURE_COMPARE_MODE: GLenum;
readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;
readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;
readonly TEXTURE_MAX_LEVEL: GLenum;
readonly TEXTURE_MAX_LOD: GLenum;
readonly TEXTURE_MIN_LOD: GLenum;
readonly TEXTURE_WRAP_R: GLenum;
readonly TIMEOUT_EXPIRED: GLenum;
readonly TIMEOUT_IGNORED: GLint64;
readonly TRANSFORM_FEEDBACK: GLenum;
readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;
readonly TRANSFORM_FEEDBACK_BINDING: GLenum;
readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;
readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;
readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;
readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;
readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;
readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;
readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;
readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;
readonly UNIFORM_ARRAY_STRIDE: GLenum;
readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;
readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;
readonly UNIFORM_BLOCK_BINDING: GLenum;
readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;
readonly UNIFORM_BLOCK_INDEX: GLenum;
readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;
readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;
readonly UNIFORM_BUFFER: GLenum;
readonly UNIFORM_BUFFER_BINDING: GLenum;
readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;
readonly UNIFORM_BUFFER_SIZE: GLenum;
readonly UNIFORM_BUFFER_START: GLenum;
readonly UNIFORM_IS_ROW_MAJOR: GLenum;
readonly UNIFORM_MATRIX_STRIDE: GLenum;
readonly UNIFORM_OFFSET: GLenum;
readonly UNIFORM_SIZE: GLenum;
readonly UNIFORM_TYPE: GLenum;
readonly UNPACK_IMAGE_HEIGHT: GLenum;
readonly UNPACK_ROW_LENGTH: GLenum;
readonly UNPACK_SKIP_IMAGES: GLenum;
readonly UNPACK_SKIP_PIXELS: GLenum;
readonly UNPACK_SKIP_ROWS: GLenum;
readonly UNSIGNALED: GLenum;
readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;
readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;
readonly UNSIGNED_INT_24_8: GLenum;
readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;
readonly UNSIGNED_INT_SAMPLER_2D: GLenum;
readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;
readonly UNSIGNED_INT_SAMPLER_3D: GLenum;
readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;
readonly UNSIGNED_INT_VEC2: GLenum;
readonly UNSIGNED_INT_VEC3: GLenum;
readonly UNSIGNED_INT_VEC4: GLenum;
readonly UNSIGNED_NORMALIZED: GLenum;
readonly VERTEX_ARRAY_BINDING: GLenum;
readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;
readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;
readonly WAIT_FAILED: GLenum;
beginQuery(target: GLenum, query: WebGLQuery): void;
beginTransformFeedback(primitiveMode: GLenum): void;
bindBufferBase(
target: GLenum,
index: GLuint,
buffer: WebGLBuffer | null,
): void;
bindBufferRange(
target: GLenum,
index: GLuint,
buffer: WebGLBuffer | null,
offset: GLintptr,
size: GLsizeiptr,
): void;
bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;
bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;
bindVertexArray(array: WebGLVertexArrayObject | null): void;
blitFramebuffer(
srcX0: GLint,
srcY0: GLint,
srcX1: GLint,
srcY1: GLint,
dstX0: GLint,
dstY0: GLint,
dstX1: GLint,
dstY1: GLint,
mask: GLbitfield,
filter: GLenum,
): void;
clearBufferfi(
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint,
): void;
clearBufferfv(
buffer: GLenum,
drawbuffer: GLint,
values: Float32List,
srcOffset?: GLuint,
): void;
clearBufferfv(
buffer: GLenum,
drawbuffer: GLint,
values: Iterable<GLfloat>,
srcOffset?: GLuint,
): void;
clearBufferiv(
buffer: GLenum,
drawbuffer: GLint,
values: Int32List,
srcOffset?: GLuint,
): void;
clearBufferiv(
buffer: GLenum,
drawbuffer: GLint,
values: Iterable<GLint>,
srcOffset?: GLuint,
): void;
clearBufferuiv(
buffer: GLenum,
drawbuffer: GLint,
values: Uint32List,
srcOffset?: GLuint,
): void;
clearBufferuiv(
buffer: GLenum,
drawbuffer: GLint,
values: Iterable<GLuint>,
srcOffset?: GLuint,
): void;
clientWaitSync(
sync: WebGLSync,
flags: GLbitfield,
timeout: GLuint64,
): GLenum;
compressedTexImage3D(
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
imageSize: GLsizei,
offset: GLintptr,
): void;
compressedTexImage3D(
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
srcData: ArrayBufferView,
srcOffset?: GLuint,
srcLengthOverride?: GLuint,
): void;
compressedTexSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
imageSize: GLsizei,
offset: GLintptr,
): void;
compressedTexSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
srcData: ArrayBufferView,
srcOffset?: GLuint,
srcLengthOverride?: GLuint,
): void;
copyBufferSubData(
readTarget: GLenum,
writeTarget: GLenum,
readOffset: GLintptr,
writeOffset: GLintptr,
size: GLsizeiptr,
): void;
copyTexSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
): void;
createQuery(): WebGLQuery | null;
createSampler(): WebGLSampler | null;
createTransformFeedback(): WebGLTransformFeedback | null;
createVertexArray(): WebGLVertexArrayObject | null;
deleteQuery(query: WebGLQuery | null): void;
deleteSampler(sampler: WebGLSampler | null): void;
deleteSync(sync: WebGLSync | null): void;
deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;
deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;
drawArraysInstanced(
mode: GLenum,
first: GLint,
count: GLsizei,
instanceCount: GLsizei,
): void;
drawBuffers(buffers: GLenum[]): void;
drawBuffers(buffers: Iterable<GLenum>): void;
drawElementsInstanced(
mode: GLenum,
count: GLsizei,
type: GLenum,
offset: GLintptr,
instanceCount: GLsizei,
): void;
drawRangeElements(
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type: GLenum,
offset: GLintptr,
): void;
endQuery(target: GLenum): void;
endTransformFeedback(): void;
fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;
framebufferTextureLayer(
target: GLenum,
attachment: GLenum,
texture: WebGLTexture | null,
level: GLint,
layer: GLint,
): void;
getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;
getActiveUniformBlockParameter(
program: WebGLProgram,
uniformBlockIndex: GLuint,
pname: GLenum,
): any;
getActiveUniforms(
program: WebGLProgram,
uniformIndices: GLuint[],
pname: GLenum,
): any;
getActiveUniforms(
program: WebGLProgram,
uniformIndices: Iterable<GLuint>,
pname: GLenum,
): any;
getBufferSubData(
target: GLenum,
srcByteOffset: GLintptr,
dstBuffer: ArrayBufferView,
dstOffset?: GLuint,
length?: GLuint,
): void;
getFragDataLocation(program: WebGLProgram, name: string): GLint;
getIndexedParameter(target: GLenum, index: GLuint): any;
getInternalformatParameter(
target: GLenum,
internalformat: GLenum,
pname: GLenum,
): any;
getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;
getQueryParameter(query: WebGLQuery, pname: GLenum): any;
getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;
getSyncParameter(sync: WebGLSync, pname: GLenum): any;
getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;
getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;
getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
invalidateSubFramebuffer(
target: GLenum,
attachments: GLenum[],
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
): void;
invalidateSubFramebuffer(
target: GLenum,
attachments: Iterable<GLenum>,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
): void;
isQuery(query: WebGLQuery | null): GLboolean;
isSampler(sampler: WebGLSampler | null): GLboolean;
isSync(sync: WebGLSync | null): GLboolean;
isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;
isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;
pauseTransformFeedback(): void;
readBuffer(src: GLenum): void;
renderbufferStorageMultisample(
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
): void;
resumeTransformFeedback(): void;
samplerParameterf(
sampler: WebGLSampler,
pname: GLenum,
param: GLfloat,
): void;
samplerParameteri(
sampler: WebGLSampler,
pname: GLenum,
param: GLint,
): void;
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
pboOffset: GLintptr,
): void;
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
): void;
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView | null,
): void;
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView,
srcOffset: GLuint,
): void;
texStorage2D(
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
): void;
texStorage3D(
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
): void;
texSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type: GLenum,
pboOffset: GLintptr,
): void;
texSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type: GLenum,
): void;
texSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView | null,
srcOffset?: GLuint,
): void;
transformFeedbackVaryings(
program: WebGLProgram,
varyings: string[],
bufferMode: GLenum,
): void;
transformFeedbackVaryings(
program: WebGLProgram,
varyings: Iterable<string>,
bufferMode: GLenum,
): void;
uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;
uniform1uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniform1uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniform2ui(
location: WebGLUniformLocation | null,
v0: GLuint,
v1: GLuint,
): void;
uniform2uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniform2uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniform3ui(
location: WebGLUniformLocation | null,
v0: GLuint,
v1: GLuint,
v2: GLuint,
): void;
uniform3uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniform3uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniform4ui(
location: WebGLUniformLocation | null,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint,
): void;
uniform4uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniform4uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformBlockBinding(
program: WebGLProgram,
uniformBlockIndex: GLuint,
uniformBlockBinding: GLuint,
): void;
uniformMatrix2x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix2x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix2x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix2x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix3x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix3x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix3x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix3x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix4x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix4x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix4x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
uniformMatrix4x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;
vertexAttribDivisor(index: GLuint, divisor: GLuint): void;
vertexAttribI4i(
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint,
): void;
vertexAttribI4iv(index: GLuint, values: Int32List): void;
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
vertexAttribI4ui(
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint,
): void;
vertexAttribI4uiv(index: GLuint, values: Uint32List): void;
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
vertexAttribIPointer(
index: GLuint,
size: GLint,
type: GLenum,
stride: GLsizei,
offset: GLintptr,
): void;
waitSync(
sync: WebGLSync,
flags: GLbitfield,
timeout: GLint64,
): void;
}

§Properties

§
readonly ACTIVE_UNIFORM_BLOCKS: GLenum
[src]
§
readonly ALREADY_SIGNALED: GLenum
[src]
§
readonly ANY_SAMPLES_PASSED: GLenum
[src]
§
readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum
[src]
§
readonly COLOR: GLenum
[src]
§
readonly COLOR_ATTACHMENT1: GLenum
[src]
§
readonly COLOR_ATTACHMENT10: GLenum
[src]
§
readonly COLOR_ATTACHMENT11: GLenum
[src]
§
readonly COLOR_ATTACHMENT12: GLenum
[src]
§
readonly COLOR_ATTACHMENT13: GLenum
[src]
§
readonly COLOR_ATTACHMENT14: GLenum
[src]
§
readonly COLOR_ATTACHMENT15: GLenum
[src]
§
readonly COLOR_ATTACHMENT2: GLenum
[src]
§
readonly COLOR_ATTACHMENT3: GLenum
[src]
§
readonly COLOR_ATTACHMENT4: GLenum
[src]
§
readonly COLOR_ATTACHMENT5: GLenum
[src]
§
readonly COLOR_ATTACHMENT6: GLenum
[src]
§
readonly COLOR_ATTACHMENT7: GLenum
[src]
§
readonly COLOR_ATTACHMENT8: GLenum
[src]
§
readonly COLOR_ATTACHMENT9: GLenum
[src]
§
readonly COMPARE_REF_TO_TEXTURE: GLenum
[src]
§
readonly CONDITION_SATISFIED: GLenum
[src]
§
readonly COPY_READ_BUFFER: GLenum
[src]
§
readonly COPY_READ_BUFFER_BINDING: GLenum
[src]
§
readonly COPY_WRITE_BUFFER: GLenum
[src]
§
readonly COPY_WRITE_BUFFER_BINDING: GLenum
[src]
§
readonly CURRENT_QUERY: GLenum
[src]
§
readonly DEPTH: GLenum
[src]
§
readonly DEPTH_COMPONENT24: GLenum
[src]
§
readonly DEPTH_COMPONENT32F: GLenum
[src]
§
readonly DEPTH24_STENCIL8: GLenum
[src]
§
readonly DEPTH32F_STENCIL8: GLenum
[src]
§
readonly DRAW_BUFFER0: GLenum
[src]
§
readonly DRAW_BUFFER1: GLenum
[src]
§
readonly DRAW_BUFFER10: GLenum
[src]
§
readonly DRAW_BUFFER11: GLenum
[src]
§
readonly DRAW_BUFFER12: GLenum
[src]
§
readonly DRAW_BUFFER13: GLenum
[src]
§
readonly DRAW_BUFFER14: GLenum
[src]
§
readonly DRAW_BUFFER15: GLenum
[src]
§
readonly DRAW_BUFFER2: GLenum
[src]
§
readonly DRAW_BUFFER3: GLenum
[src]
§
readonly DRAW_BUFFER4: GLenum
[src]
§
readonly DRAW_BUFFER5: GLenum
[src]
§
readonly DRAW_BUFFER6: GLenum
[src]
§
readonly DRAW_BUFFER7: GLenum
[src]
§
readonly DRAW_BUFFER8: GLenum
[src]
§
readonly DRAW_BUFFER9: GLenum
[src]
§
readonly DRAW_FRAMEBUFFER: GLenum
[src]
§
readonly DRAW_FRAMEBUFFER_BINDING: GLenum
[src]
§
readonly DYNAMIC_COPY: GLenum
[src]
§
readonly DYNAMIC_READ: GLenum
[src]
§
readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum
[src]
§
readonly FLOAT_MAT2x3: GLenum
[src]
§
readonly FLOAT_MAT2x4: GLenum
[src]
§
readonly FLOAT_MAT3x2: GLenum
[src]
§
readonly FLOAT_MAT3x4: GLenum
[src]
§
readonly FLOAT_MAT4x2: GLenum
[src]
§
readonly FLOAT_MAT4x3: GLenum
[src]
§
readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum
[src]
§
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum
[src]
§
readonly FRAMEBUFFER_DEFAULT: GLenum
[src]
§
readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum
[src]
§
readonly HALF_FLOAT: GLenum
[src]
§
readonly INT_2_10_10_10_REV: GLenum
[src]
§
readonly INT_SAMPLER_2D: GLenum
[src]
§
readonly INT_SAMPLER_2D_ARRAY: GLenum
[src]
§
readonly INT_SAMPLER_3D: GLenum
[src]
§
readonly INT_SAMPLER_CUBE: GLenum
[src]
§
readonly INTERLEAVED_ATTRIBS: GLenum
[src]
§
readonly INVALID_INDEX: GLenum
[src]
§
readonly MAX: GLenum
[src]
§
readonly MAX_3D_TEXTURE_SIZE: GLenum
[src]
§
readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum
[src]
§
readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum
[src]
§
readonly MAX_COLOR_ATTACHMENTS: GLenum
[src]
§
readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum
[src]
§
readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum
[src]
§
readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum
[src]
§
readonly MAX_DRAW_BUFFERS: GLenum
[src]
§
readonly MAX_ELEMENT_INDEX: GLenum
[src]
§
readonly MAX_ELEMENTS_INDICES: GLenum
[src]
§
readonly MAX_ELEMENTS_VERTICES: GLenum
[src]
§
readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum
[src]
§
readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum
[src]
§
readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum
[src]
§
readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum
[src]
§
readonly MAX_SAMPLES: GLenum
[src]
§
readonly MAX_SERVER_WAIT_TIMEOUT: GLenum
[src]
§
readonly MAX_TEXTURE_LOD_BIAS: GLenum
[src]
§
readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum
[src]
§
readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum
[src]
§
readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum
[src]
§
readonly MAX_UNIFORM_BLOCK_SIZE: GLenum
[src]
§
readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum
[src]
§
readonly MAX_VARYING_COMPONENTS: GLenum
[src]
§
readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum
[src]
§
readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum
[src]
§
readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum
[src]
§
readonly MIN: GLenum
[src]
§
readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum
[src]
§
readonly OBJECT_TYPE: GLenum
[src]
§
readonly PACK_ROW_LENGTH: GLenum
[src]
§
readonly PACK_SKIP_PIXELS: GLenum
[src]
§
readonly PACK_SKIP_ROWS: GLenum
[src]
§
readonly PIXEL_PACK_BUFFER: GLenum
[src]
§
readonly PIXEL_PACK_BUFFER_BINDING: GLenum
[src]
§
readonly PIXEL_UNPACK_BUFFER: GLenum
[src]
§
readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum
[src]
§
readonly QUERY_RESULT: GLenum
[src]
§
readonly QUERY_RESULT_AVAILABLE: GLenum
[src]
§
readonly R11F_G11F_B10F: GLenum
[src]
§
readonly R16F: GLenum
[src]
§
readonly R16I: GLenum
[src]
§
readonly R16UI: GLenum
[src]
§
readonly R32F: GLenum
[src]
§
readonly R32I: GLenum
[src]
§
readonly R32UI: GLenum
[src]
§
readonly R8: GLenum
[src]
§
readonly R8_SNORM: GLenum
[src]
§
readonly R8I: GLenum
[src]
§
readonly R8UI: GLenum
[src]
§
readonly RASTERIZER_DISCARD: GLenum
[src]
§
readonly READ_BUFFER: GLenum
[src]
§
readonly READ_FRAMEBUFFER: GLenum
[src]
§
readonly READ_FRAMEBUFFER_BINDING: GLenum
[src]
§
readonly RED: GLenum
[src]
§
readonly RED_INTEGER: GLenum
[src]
§
readonly RENDERBUFFER_SAMPLES: GLenum
[src]
§
readonly RG: GLenum
[src]
§
readonly RG_INTEGER: GLenum
[src]
§
readonly RG16F: GLenum
[src]
§
readonly RG16I: GLenum
[src]
§
readonly RG16UI: GLenum
[src]
§
readonly RG32F: GLenum
[src]
§
readonly RG32I: GLenum
[src]
§
readonly RG32UI: GLenum
[src]
§
readonly RG8: GLenum
[src]
§
readonly RG8_SNORM: GLenum
[src]
§
readonly RG8I: GLenum
[src]
§
readonly RG8UI: GLenum
[src]
§
readonly RGB_INTEGER: GLenum
[src]
§
readonly RGB10_A2: GLenum
[src]
§
readonly RGB10_A2UI: GLenum
[src]
§
readonly RGB16F: GLenum
[src]
§
readonly RGB16I: GLenum
[src]
§
readonly RGB16UI: GLenum
[src]
§
readonly RGB32F: GLenum
[src]
§
readonly RGB32I: GLenum
[src]
§
readonly RGB32UI: GLenum
[src]
§
readonly RGB8: GLenum
[src]
§
readonly RGB8_SNORM: GLenum
[src]
§
readonly RGB8I: GLenum
[src]
§
readonly RGB8UI: GLenum
[src]
§
readonly RGB9_E5: GLenum
[src]
§
readonly RGBA_INTEGER: GLenum
[src]
§
readonly RGBA16F: GLenum
[src]
§
readonly RGBA16I: GLenum
[src]
§
readonly RGBA16UI: GLenum
[src]
§
readonly RGBA32F: GLenum
[src]
§
readonly RGBA32I: GLenum
[src]
§
readonly RGBA32UI: GLenum
[src]
§
readonly RGBA8: GLenum
[src]
§
readonly RGBA8_SNORM: GLenum
[src]
§
readonly RGBA8I: GLenum
[src]
§
readonly RGBA8UI: GLenum
[src]
§
readonly SAMPLER_2D_ARRAY: GLenum
[src]
§
readonly SAMPLER_2D_ARRAY_SHADOW: GLenum
[src]
§
readonly SAMPLER_2D_SHADOW: GLenum
[src]
§
readonly SAMPLER_3D: GLenum
[src]
§
readonly SAMPLER_BINDING: GLenum
[src]
§
readonly SAMPLER_CUBE_SHADOW: GLenum
[src]
§
readonly SEPARATE_ATTRIBS: GLenum
[src]
§
readonly SIGNALED: GLenum
[src]
§
readonly SIGNED_NORMALIZED: GLenum
[src]
§
readonly SRGB: GLenum
[src]
§
readonly SRGB8: GLenum
[src]
§
readonly SRGB8_ALPHA8: GLenum
[src]
§
readonly STATIC_COPY: GLenum
[src]
§
readonly STATIC_READ: GLenum
[src]
§
readonly STENCIL: GLenum
[src]
§
readonly STREAM_COPY: GLenum
[src]
§
readonly STREAM_READ: GLenum
[src]
§
readonly SYNC_CONDITION: GLenum
[src]
§
readonly SYNC_FENCE: GLenum
[src]
§
readonly SYNC_FLAGS: GLenum
[src]
§
readonly SYNC_FLUSH_COMMANDS_BIT: GLenum
[src]
§
readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum
[src]
§
readonly SYNC_STATUS: GLenum
[src]
§
readonly TEXTURE_2D_ARRAY: GLenum
[src]
§
readonly TEXTURE_3D: GLenum
[src]
§
readonly TEXTURE_BASE_LEVEL: GLenum
[src]
§
readonly TEXTURE_BINDING_2D_ARRAY: GLenum
[src]
§
readonly TEXTURE_BINDING_3D: GLenum
[src]
§
readonly TEXTURE_COMPARE_FUNC: GLenum
[src]
§
readonly TEXTURE_COMPARE_MODE: GLenum
[src]
§
readonly TEXTURE_IMMUTABLE_FORMAT: GLenum
[src]
§
readonly TEXTURE_IMMUTABLE_LEVELS: GLenum
[src]
§
readonly TEXTURE_MAX_LEVEL: GLenum
[src]
§
readonly TEXTURE_MAX_LOD: GLenum
[src]
§
readonly TEXTURE_MIN_LOD: GLenum
[src]
§
readonly TEXTURE_WRAP_R: GLenum
[src]
§
readonly TIMEOUT_EXPIRED: GLenum
[src]
§
readonly TIMEOUT_IGNORED: GLint64
[src]
§
readonly TRANSFORM_FEEDBACK: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_BINDING: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_BUFFER: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_PAUSED: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum
[src]
§
readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum
[src]
§
readonly UNIFORM_ARRAY_STRIDE: GLenum
[src]
§
readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum
[src]
§
readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum
[src]
§
readonly UNIFORM_BLOCK_BINDING: GLenum
[src]
§
readonly UNIFORM_BLOCK_DATA_SIZE: GLenum
[src]
§
readonly UNIFORM_BLOCK_INDEX: GLenum
[src]
§
readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum
[src]
§
readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum
[src]
§
readonly UNIFORM_BUFFER: GLenum
[src]
§
readonly UNIFORM_BUFFER_BINDING: GLenum
[src]
§
readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum
[src]
§
readonly UNIFORM_BUFFER_SIZE: GLenum
[src]
§
readonly UNIFORM_BUFFER_START: GLenum
[src]
§
readonly UNIFORM_IS_ROW_MAJOR: GLenum
[src]
§
readonly UNIFORM_MATRIX_STRIDE: GLenum
[src]
§
readonly UNIFORM_OFFSET: GLenum
[src]
§
readonly UNIFORM_SIZE: GLenum
[src]
§
readonly UNIFORM_TYPE: GLenum
[src]
§
readonly UNPACK_IMAGE_HEIGHT: GLenum
[src]
§
readonly UNPACK_ROW_LENGTH: GLenum
[src]
§
readonly UNPACK_SKIP_IMAGES: GLenum
[src]
§
readonly UNPACK_SKIP_PIXELS: GLenum
[src]
§
readonly UNPACK_SKIP_ROWS: GLenum
[src]
§
readonly UNSIGNALED: GLenum
[src]
§
readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum
[src]
§
readonly UNSIGNED_INT_2_10_10_10_REV: GLenum
[src]
§
readonly UNSIGNED_INT_24_8: GLenum
[src]
§
readonly UNSIGNED_INT_5_9_9_9_REV: GLenum
[src]
§
readonly UNSIGNED_INT_SAMPLER_2D: GLenum
[src]
§
readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum
[src]
§
readonly UNSIGNED_INT_SAMPLER_3D: GLenum
[src]
§
readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum
[src]
§
readonly UNSIGNED_INT_VEC2: GLenum
[src]
§
readonly UNSIGNED_INT_VEC3: GLenum
[src]
§
readonly UNSIGNED_INT_VEC4: GLenum
[src]
§
readonly UNSIGNED_NORMALIZED: GLenum
[src]
§
readonly VERTEX_ARRAY_BINDING: GLenum
[src]
§
readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum
[src]
§
readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum
[src]
§
readonly WAIT_FAILED: GLenum
[src]

§Methods

§
beginQuery(target: GLenum, query: WebGLQuery): void
[src]
§
beginTransformFeedback(primitiveMode: GLenum): void
[src]
§
bindBufferBase(
target: GLenum,
index: GLuint,
buffer: WebGLBuffer | null,
): void
[src]
§
bindBufferRange(
target: GLenum,
index: GLuint,
buffer: WebGLBuffer | null,
offset: GLintptr,
size: GLsizeiptr,
): void
[src]
§
bindSampler(unit: GLuint, sampler: WebGLSampler | null): void
[src]
§
bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void
[src]
§
bindVertexArray(array: WebGLVertexArrayObject | null): void
[src]
§
blitFramebuffer(
srcX0: GLint,
srcY0: GLint,
srcX1: GLint,
srcY1: GLint,
dstX0: GLint,
dstY0: GLint,
dstX1: GLint,
dstY1: GLint,
mask: GLbitfield,
filter: GLenum,
): void
[src]
§
clearBufferfi(
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint,
): void
[src]
§
clearBufferfv(
buffer: GLenum,
drawbuffer: GLint,
values: Float32List,
srcOffset?: GLuint,
): void
[src]
§
clearBufferfv(
buffer: GLenum,
drawbuffer: GLint,
values: Iterable<GLfloat>,
srcOffset?: GLuint,
): void
[src]
§
clearBufferiv(
buffer: GLenum,
drawbuffer: GLint,
values: Int32List,
srcOffset?: GLuint,
): void
[src]
§
clearBufferiv(
buffer: GLenum,
drawbuffer: GLint,
values: Iterable<GLint>,
srcOffset?: GLuint,
): void
[src]
§
clearBufferuiv(
buffer: GLenum,
drawbuffer: GLint,
values: Uint32List,
srcOffset?: GLuint,
): void
[src]
§
clearBufferuiv(
buffer: GLenum,
drawbuffer: GLint,
values: Iterable<GLuint>,
srcOffset?: GLuint,
): void
[src]
§
clientWaitSync(
sync: WebGLSync,
flags: GLbitfield,
timeout: GLuint64,
): GLenum
[src]
§
compressedTexImage3D(
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
imageSize: GLsizei,
offset: GLintptr,
): void
[src]
§
compressedTexImage3D(
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
srcData: ArrayBufferView,
srcOffset?: GLuint,
srcLengthOverride?: GLuint,
): void
[src]
§
compressedTexSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
imageSize: GLsizei,
offset: GLintptr,
): void
[src]
§
compressedTexSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
srcData: ArrayBufferView,
srcOffset?: GLuint,
srcLengthOverride?: GLuint,
): void
[src]
§
copyBufferSubData(
readTarget: GLenum,
writeTarget: GLenum,
readOffset: GLintptr,
writeOffset: GLintptr,
size: GLsizeiptr,
): void
[src]
§
copyTexSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
): void
[src]
§
createQuery(): WebGLQuery | null
[src]
§
createSampler(): WebGLSampler | null
[src]
§
createTransformFeedback(): WebGLTransformFeedback | null
[src]
§
createVertexArray(): WebGLVertexArrayObject | null
[src]
§
deleteQuery(query: WebGLQuery | null): void
[src]
§
deleteSampler(sampler: WebGLSampler | null): void
[src]
§
deleteSync(sync: WebGLSync | null): void
[src]
§
deleteTransformFeedback(tf: WebGLTransformFeedback | null): void
[src]
§
deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void
[src]
§
drawArraysInstanced(
mode: GLenum,
first: GLint,
count: GLsizei,
instanceCount: GLsizei,
): void
[src]
§
drawBuffers(buffers: GLenum[]): void
[src]
§
drawBuffers(buffers: Iterable<GLenum>): void
[src]
§
drawElementsInstanced(
mode: GLenum,
count: GLsizei,
type: GLenum,
offset: GLintptr,
instanceCount: GLsizei,
): void
[src]
§
drawRangeElements(
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type: GLenum,
offset: GLintptr,
): void
[src]
§
endQuery(target: GLenum): void
[src]
§
endTransformFeedback(): void
[src]
§
fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null
[src]
§
framebufferTextureLayer(
target: GLenum,
attachment: GLenum,
texture: WebGLTexture | null,
level: GLint,
layer: GLint,
): void
[src]
§
getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null
[src]
§
getActiveUniformBlockParameter(
program: WebGLProgram,
uniformBlockIndex: GLuint,
pname: GLenum,
): any
[src]
§
getActiveUniforms(
program: WebGLProgram,
uniformIndices: GLuint[],
pname: GLenum,
): any
[src]
§
getActiveUniforms(
program: WebGLProgram,
uniformIndices: Iterable<GLuint>,
pname: GLenum,
): any
[src]
§
getBufferSubData(
target: GLenum,
srcByteOffset: GLintptr,
dstBuffer: ArrayBufferView,
dstOffset?: GLuint,
length?: GLuint,
): void
[src]
§
getFragDataLocation(program: WebGLProgram, name: string): GLint
[src]
§
getIndexedParameter(target: GLenum, index: GLuint): any
[src]
§
getInternalformatParameter(
target: GLenum,
internalformat: GLenum,
pname: GLenum,
): any
[src]
§
getQuery(target: GLenum, pname: GLenum): WebGLQuery | null
[src]
§
getQueryParameter(query: WebGLQuery, pname: GLenum): any
[src]
§
getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any
[src]
§
getSyncParameter(sync: WebGLSync, pname: GLenum): any
[src]
§
getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null
[src]
§
getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint
[src]
§
getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null
[src]
§
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null
[src]
§
invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void
[src]
§
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void
[src]
§
invalidateSubFramebuffer(
target: GLenum,
attachments: GLenum[],
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
): void
[src]
§
invalidateSubFramebuffer(
target: GLenum,
attachments: Iterable<GLenum>,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
): void
[src]
§
isQuery(query: WebGLQuery | null): GLboolean
[src]
§
isSampler(sampler: WebGLSampler | null): GLboolean
[src]
§
isSync(sync: WebGLSync | null): GLboolean
[src]
§
isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean
[src]
§
isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean
[src]
§
pauseTransformFeedback(): void
[src]
§
readBuffer(src: GLenum): void
[src]
§
renderbufferStorageMultisample(
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
): void
[src]
§
resumeTransformFeedback(): void
[src]
§
samplerParameterf(
sampler: WebGLSampler,
pname: GLenum,
param: GLfloat,
): void
[src]
§
samplerParameteri(
sampler: WebGLSampler,
pname: GLenum,
param: GLint,
): void
[src]
§
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
pboOffset: GLintptr,
): void
[src]
§
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
): void
[src]
§
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView | null,
): void
[src]
§
texImage3D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView,
srcOffset: GLuint,
): void
[src]
§
texStorage2D(
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
): void
[src]
§
texStorage3D(
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
): void
[src]
§
texSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type: GLenum,
pboOffset: GLintptr,
): void
[src]
§
texSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type: GLenum,
): void
[src]
§
texSubImage3D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView | null,
srcOffset?: GLuint,
): void
[src]
§
transformFeedbackVaryings(
program: WebGLProgram,
varyings: string[],
bufferMode: GLenum,
): void
[src]
§
transformFeedbackVaryings(
program: WebGLProgram,
varyings: Iterable<string>,
bufferMode: GLenum,
): void
[src]
§
uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void
[src]
§
uniform1uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniform1uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniform2ui(
location: WebGLUniformLocation | null,
v0: GLuint,
v1: GLuint,
): void
[src]
§
uniform2uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniform2uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniform3ui(
location: WebGLUniformLocation | null,
v0: GLuint,
v1: GLuint,
v2: GLuint,
): void
[src]
§
uniform3uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniform3uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniform4ui(
location: WebGLUniformLocation | null,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint,
): void
[src]
§
uniform4uiv(
location: WebGLUniformLocation | null,
data: Uint32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniform4uiv(
location: WebGLUniformLocation | null,
data: Iterable<GLuint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformBlockBinding(
program: WebGLProgram,
uniformBlockIndex: GLuint,
uniformBlockBinding: GLuint,
): void
[src]
§
uniformMatrix2x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix2x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix2x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix2x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix3x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix3x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix3x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix3x4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix4x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix4x2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix4x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
uniformMatrix4x3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
[src]
§
vertexAttribDivisor(index: GLuint, divisor: GLuint): void
[src]
§
vertexAttribI4i(
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint,
): void
[src]
§
vertexAttribI4iv(index: GLuint, values: Int32List): void
[src]
§
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void
[src]
§
vertexAttribI4ui(
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint,
): void
[src]
§
vertexAttribI4uiv(index: GLuint, values: Uint32List): void
[src]
§
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void
[src]
§
vertexAttribIPointer(
index: GLuint,
size: GLint,
type: GLenum,
stride: GLsizei,
offset: GLintptr,
): void
[src]
§
waitSync(
sync: WebGLSync,
flags: GLbitfield,
timeout: GLint64,
): void
[src]