import { type dom } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { WebGLRenderingContextBase } = dom;
Properties
readonly
canvas: HTMLCanvasElement | OffscreenCanvasreadonly
drawingBufferHeight: GLsizeireadonly
drawingBufferWidth: GLsizeireadonly
ACTIVE_ATTRIBUTES: GLenumreadonly
ACTIVE_TEXTURE: GLenumreadonly
ACTIVE_UNIFORMS: GLenumreadonly
ALIASED_LINE_WIDTH_RANGE: GLenumreadonly
ALIASED_POINT_SIZE_RANGE: GLenumreadonly
ALPHA: GLenumreadonly
ALPHA_BITS: GLenumreadonly
ALWAYS: GLenumreadonly
ARRAY_BUFFER: GLenumreadonly
ARRAY_BUFFER_BINDING: GLenumreadonly
ATTACHED_SHADERS: GLenumreadonly
BACK: GLenumreadonly
BLEND: GLenumreadonly
BLEND_COLOR: GLenumreadonly
BLEND_DST_ALPHA: GLenumreadonly
BLEND_DST_RGB: GLenumreadonly
BLEND_EQUATION: GLenumreadonly
BLEND_EQUATION_ALPHA: GLenumreadonly
BLEND_EQUATION_RGB: GLenumreadonly
BLEND_SRC_ALPHA: GLenumreadonly
BLEND_SRC_RGB: GLenumreadonly
BLUE_BITS: GLenumreadonly
BOOL: GLenumreadonly
BOOL_VEC2: GLenumreadonly
BOOL_VEC3: GLenumreadonly
BOOL_VEC4: GLenumreadonly
BROWSER_DEFAULT_WEBGL: GLenumreadonly
BUFFER_SIZE: GLenumreadonly
BUFFER_USAGE: GLenumreadonly
BYTE: GLenumreadonly
CCW: GLenumreadonly
CLAMP_TO_EDGE: GLenumreadonly
COLOR_ATTACHMENT0: GLenumreadonly
COLOR_BUFFER_BIT: GLenumreadonly
COLOR_CLEAR_VALUE: GLenumreadonly
COLOR_WRITEMASK: GLenumreadonly
COMPILE_STATUS: GLenumreadonly
COMPRESSED_TEXTURE_FORMATS: GLenumreadonly
CONSTANT_ALPHA: GLenumreadonly
CONSTANT_COLOR: GLenumreadonly
CONTEXT_LOST_WEBGL: GLenumreadonly
CULL_FACE: GLenumreadonly
CULL_FACE_MODE: GLenumreadonly
CURRENT_PROGRAM: GLenumreadonly
CURRENT_VERTEX_ATTRIB: GLenumreadonly
CW: GLenumreadonly
DECR: GLenumreadonly
DECR_WRAP: GLenumreadonly
DELETE_STATUS: GLenumreadonly
DEPTH_ATTACHMENT: GLenumreadonly
DEPTH_BITS: GLenumreadonly
DEPTH_BUFFER_BIT: GLenumreadonly
DEPTH_CLEAR_VALUE: GLenumreadonly
DEPTH_COMPONENT: GLenumreadonly
DEPTH_COMPONENT16: GLenumreadonly
DEPTH_FUNC: GLenumreadonly
DEPTH_RANGE: GLenumreadonly
DEPTH_STENCIL: GLenumreadonly
DEPTH_STENCIL_ATTACHMENT: GLenumreadonly
DEPTH_TEST: GLenumreadonly
DEPTH_WRITEMASK: GLenumreadonly
DITHER: GLenumreadonly
DONT_CARE: GLenumreadonly
DST_ALPHA: GLenumreadonly
DST_COLOR: GLenumreadonly
DYNAMIC_DRAW: GLenumreadonly
ELEMENT_ARRAY_BUFFER: GLenumreadonly
ELEMENT_ARRAY_BUFFER_BINDING: GLenumreadonly
EQUAL: GLenumreadonly
FASTEST: GLenumreadonly
FLOAT: GLenumreadonly
FLOAT_MAT2: GLenumreadonly
FLOAT_MAT3: GLenumreadonly
FLOAT_MAT4: GLenumreadonly
FLOAT_VEC2: GLenumreadonly
FLOAT_VEC3: GLenumreadonly
FLOAT_VEC4: GLenumreadonly
FRAGMENT_SHADER: GLenumreadonly
FRAMEBUFFER: GLenumreadonly
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenumreadonly
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenumreadonly
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenumreadonly
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenumreadonly
FRAMEBUFFER_BINDING: GLenumreadonly
FRAMEBUFFER_COMPLETE: GLenumreadonly
FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenumreadonly
FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenumreadonly
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenumreadonly
FRAMEBUFFER_UNSUPPORTED: GLenumreadonly
FRONT: GLenumreadonly
FRONT_AND_BACK: GLenumreadonly
FRONT_FACE: GLenumreadonly
FUNC_ADD: GLenumreadonly
FUNC_REVERSE_SUBTRACT: GLenumreadonly
FUNC_SUBTRACT: GLenumreadonly
GENERATE_MIPMAP_HINT: GLenumreadonly
GEQUAL: GLenumreadonly
GREATER: GLenumreadonly
GREEN_BITS: GLenumreadonly
HIGH_FLOAT: GLenumreadonly
HIGH_INT: GLenumreadonly
IMPLEMENTATION_COLOR_READ_FORMAT: GLenumreadonly
IMPLEMENTATION_COLOR_READ_TYPE: GLenumreadonly
INCR: GLenumreadonly
INCR_WRAP: GLenumreadonly
INT: GLenumreadonly
INT_VEC2: GLenumreadonly
INT_VEC3: GLenumreadonly
INT_VEC4: GLenumreadonly
INVALID_ENUM: GLenumreadonly
INVALID_FRAMEBUFFER_OPERATION: GLenumreadonly
INVALID_OPERATION: GLenumreadonly
INVALID_VALUE: GLenumreadonly
INVERT: GLenumreadonly
KEEP: GLenumreadonly
LEQUAL: GLenumreadonly
LESS: GLenumreadonly
LINEAR: GLenumreadonly
LINEAR_MIPMAP_LINEAR: GLenumreadonly
LINEAR_MIPMAP_NEAREST: GLenumreadonly
LINES: GLenumreadonly
LINE_LOOP: GLenumreadonly
LINE_STRIP: GLenumreadonly
LINE_WIDTH: GLenumreadonly
LINK_STATUS: GLenumreadonly
LOW_FLOAT: GLenumreadonly
LOW_INT: GLenumreadonly
LUMINANCE: GLenumreadonly
LUMINANCE_ALPHA: GLenumreadonly
MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenumreadonly
MAX_CUBE_MAP_TEXTURE_SIZE: GLenumreadonly
MAX_FRAGMENT_UNIFORM_VECTORS: GLenumreadonly
MAX_RENDERBUFFER_SIZE: GLenumreadonly
MAX_TEXTURE_IMAGE_UNITS: GLenumreadonly
MAX_TEXTURE_SIZE: GLenumreadonly
MAX_VARYING_VECTORS: GLenumreadonly
MAX_VERTEX_ATTRIBS: GLenumreadonly
MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenumreadonly
MAX_VERTEX_UNIFORM_VECTORS: GLenumreadonly
MAX_VIEWPORT_DIMS: GLenumreadonly
MEDIUM_FLOAT: GLenumreadonly
MEDIUM_INT: GLenumreadonly
MIRRORED_REPEAT: GLenumreadonly
NEAREST: GLenumreadonly
NEAREST_MIPMAP_LINEAR: GLenumreadonly
NEAREST_MIPMAP_NEAREST: GLenumreadonly
NEVER: GLenumreadonly
NICEST: GLenumreadonly
NONE: GLenumreadonly
NOTEQUAL: GLenumreadonly
NO_ERROR: GLenumreadonly
ONE: GLenumreadonly
ONE_MINUS_CONSTANT_ALPHA: GLenumreadonly
ONE_MINUS_CONSTANT_COLOR: GLenumreadonly
ONE_MINUS_DST_ALPHA: GLenumreadonly
ONE_MINUS_DST_COLOR: GLenumreadonly
ONE_MINUS_SRC_ALPHA: GLenumreadonly
ONE_MINUS_SRC_COLOR: GLenumreadonly
OUT_OF_MEMORY: GLenumreadonly
PACK_ALIGNMENT: GLenumreadonly
POINTS: GLenumreadonly
POLYGON_OFFSET_FACTOR: GLenumreadonly
POLYGON_OFFSET_FILL: GLenumreadonly
POLYGON_OFFSET_UNITS: GLenumreadonly
RED_BITS: GLenumreadonly
RENDERBUFFER: GLenumreadonly
RENDERBUFFER_ALPHA_SIZE: GLenumreadonly
RENDERBUFFER_BINDING: GLenumreadonly
RENDERBUFFER_BLUE_SIZE: GLenumreadonly
RENDERBUFFER_DEPTH_SIZE: GLenumreadonly
RENDERBUFFER_GREEN_SIZE: GLenumreadonly
RENDERBUFFER_HEIGHT: GLenumreadonly
RENDERBUFFER_INTERNAL_FORMAT: GLenumreadonly
RENDERBUFFER_RED_SIZE: GLenumreadonly
RENDERBUFFER_STENCIL_SIZE: GLenumreadonly
RENDERBUFFER_WIDTH: GLenumreadonly
RENDERER: GLenumreadonly
REPEAT: GLenumreadonly
REPLACE: GLenumreadonly
RGB: GLenumreadonly
RGB565: GLenumreadonly
RGB5_A1: GLenumreadonly
RGBA: GLenumreadonly
RGBA4: GLenumreadonly
SAMPLER_2D: GLenumreadonly
SAMPLER_CUBE: GLenumreadonly
SAMPLES: GLenumreadonly
SAMPLE_ALPHA_TO_COVERAGE: GLenumreadonly
SAMPLE_BUFFERS: GLenumreadonly
SAMPLE_COVERAGE: GLenumreadonly
SAMPLE_COVERAGE_INVERT: GLenumreadonly
SAMPLE_COVERAGE_VALUE: GLenumreadonly
SCISSOR_BOX: GLenumreadonly
SCISSOR_TEST: GLenumreadonly
SHADER_TYPE: GLenumreadonly
SHADING_LANGUAGE_VERSION: GLenumreadonly
SHORT: GLenumreadonly
SRC_ALPHA: GLenumreadonly
SRC_ALPHA_SATURATE: GLenumreadonly
SRC_COLOR: GLenumreadonly
STATIC_DRAW: GLenumreadonly
STENCIL_ATTACHMENT: GLenumreadonly
STENCIL_BACK_FAIL: GLenumreadonly
STENCIL_BACK_FUNC: GLenumreadonly
STENCIL_BACK_PASS_DEPTH_FAIL: GLenumreadonly
STENCIL_BACK_PASS_DEPTH_PASS: GLenumreadonly
STENCIL_BACK_REF: GLenumreadonly
STENCIL_BACK_VALUE_MASK: GLenumreadonly
STENCIL_BACK_WRITEMASK: GLenumreadonly
STENCIL_BITS: GLenumreadonly
STENCIL_BUFFER_BIT: GLenumreadonly
STENCIL_CLEAR_VALUE: GLenumreadonly
STENCIL_FAIL: GLenumreadonly
STENCIL_FUNC: GLenumreadonly
STENCIL_INDEX8: GLenumreadonly
STENCIL_PASS_DEPTH_FAIL: GLenumreadonly
STENCIL_PASS_DEPTH_PASS: GLenumreadonly
STENCIL_REF: GLenumreadonly
STENCIL_TEST: GLenumreadonly
STENCIL_VALUE_MASK: GLenumreadonly
STENCIL_WRITEMASK: GLenumreadonly
STREAM_DRAW: GLenumreadonly
SUBPIXEL_BITS: GLenumreadonly
TEXTURE: GLenumreadonly
TEXTURE0: GLenumreadonly
TEXTURE1: GLenumreadonly
TEXTURE10: GLenumreadonly
TEXTURE11: GLenumreadonly
TEXTURE12: GLenumreadonly
TEXTURE13: GLenumreadonly
TEXTURE14: GLenumreadonly
TEXTURE15: GLenumreadonly
TEXTURE16: GLenumreadonly
TEXTURE17: GLenumreadonly
TEXTURE18: GLenumreadonly
TEXTURE19: GLenumreadonly
TEXTURE2: GLenumreadonly
TEXTURE20: GLenumreadonly
TEXTURE21: GLenumreadonly
TEXTURE22: GLenumreadonly
TEXTURE23: GLenumreadonly
TEXTURE24: GLenumreadonly
TEXTURE25: GLenumreadonly
TEXTURE26: GLenumreadonly
TEXTURE27: GLenumreadonly
TEXTURE28: GLenumreadonly
TEXTURE29: GLenumreadonly
TEXTURE3: GLenumreadonly
TEXTURE30: GLenumreadonly
TEXTURE31: GLenumreadonly
TEXTURE4: GLenumreadonly
TEXTURE5: GLenumreadonly
TEXTURE6: GLenumreadonly
TEXTURE7: GLenumreadonly
TEXTURE8: GLenumreadonly
TEXTURE9: GLenumreadonly
TEXTURE_2D: GLenumreadonly
TEXTURE_BINDING_2D: GLenumreadonly
TEXTURE_BINDING_CUBE_MAP: GLenumreadonly
TEXTURE_CUBE_MAP: GLenumreadonly
TEXTURE_CUBE_MAP_NEGATIVE_X: GLenumreadonly
TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenumreadonly
TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenumreadonly
TEXTURE_CUBE_MAP_POSITIVE_X: GLenumreadonly
TEXTURE_CUBE_MAP_POSITIVE_Y: GLenumreadonly
TEXTURE_CUBE_MAP_POSITIVE_Z: GLenumreadonly
TEXTURE_MAG_FILTER: GLenumreadonly
TEXTURE_MIN_FILTER: GLenumreadonly
TEXTURE_WRAP_S: GLenumreadonly
TEXTURE_WRAP_T: GLenumreadonly
TRIANGLES: GLenumreadonly
TRIANGLE_FAN: GLenumreadonly
TRIANGLE_STRIP: GLenumreadonly
UNPACK_ALIGNMENT: GLenumreadonly
UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenumreadonly
UNPACK_FLIP_Y_WEBGL: GLenumreadonly
UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenumreadonly
UNSIGNED_BYTE: GLenumreadonly
UNSIGNED_INT: GLenumreadonly
UNSIGNED_SHORT: GLenumreadonly
UNSIGNED_SHORT_4_4_4_4: GLenumreadonly
UNSIGNED_SHORT_5_5_5_1: GLenumreadonly
UNSIGNED_SHORT_5_6_5: GLenumreadonly
VALIDATE_STATUS: GLenumreadonly
VENDOR: GLenumreadonly
VERSION: GLenumreadonly
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenumreadonly
VERTEX_ATTRIB_ARRAY_ENABLED: GLenumreadonly
VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenumreadonly
VERTEX_ATTRIB_ARRAY_POINTER: GLenumreadonly
VERTEX_ATTRIB_ARRAY_SIZE: GLenumreadonly
VERTEX_ATTRIB_ARRAY_STRIDE: GLenumreadonly
VERTEX_ATTRIB_ARRAY_TYPE: GLenumreadonly
VERTEX_SHADER: GLenumreadonly
VIEWPORT: GLenumreadonly
ZERO: GLenumMethods
activeTexture(texture: GLenum): void
attachShader(program: WebGLProgram, shader: WebGLShader): void
bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void
bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void
bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void
bindTexture(target: GLenum, texture: WebGLTexture | null): void
blendEquation(mode: GLenum): void
clear(mask: GLbitfield): void
clearDepth(depth: GLclampf): void
clearStencil(s: GLint): void
compileShader(shader: WebGLShader): void
createBuffer(): WebGLBuffer | null
createFramebuffer(): WebGLFramebuffer | null
createProgram(): WebGLProgram | null
createRenderbuffer(): WebGLRenderbuffer | null
createShader(type: GLenum): WebGLShader | null
createTexture(): WebGLTexture | null
cullFace(mode: GLenum): void
deleteBuffer(buffer: WebGLBuffer | null): void
deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void
deleteProgram(program: WebGLProgram | null): void
deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void
deleteShader(shader: WebGLShader | null): void
deleteTexture(texture: WebGLTexture | null): void
depthFunc(func: GLenum): void
depthMask(flag: GLboolean): void
detachShader(program: WebGLProgram, shader: WebGLShader): void
disable(cap: GLenum): void
disableVertexAttribArray(index: GLuint): void
enable(cap: GLenum): void
enableVertexAttribArray(index: GLuint): void
framebufferRenderbuffer(): void
target: GLenum,
attachment: GLenum,
renderbuffertarget: GLenum,
renderbuffer: WebGLRenderbuffer | null,
frontFace(mode: GLenum): void
generateMipmap(target: GLenum): void
getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null
getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null
getAttachedShaders(program: WebGLProgram): WebGLShader[] | null
getAttribLocation(program: WebGLProgram, name: string): GLint
getContextAttributes(): WebGLContextAttributes | null
getError(): GLenum
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null
getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null
getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null
getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null
getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null
getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null
getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null
getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null
getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null
getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null
getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null
getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null
getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null
getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null
getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null
getExtension(extensionName: "OES_texture_float"): OES_texture_float | null
getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null
getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null
getParameter(pname: GLenum): any
getProgramInfoLog(program: WebGLProgram): string | null
getProgramParameter(program: WebGLProgram, pname: GLenum): any
getShaderInfoLog(shader: WebGLShader): string | null
getShaderParameter(shader: WebGLShader, pname: GLenum): any
getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null
getShaderSource(shader: WebGLShader): string | null
getUniform(program: WebGLProgram, location: WebGLUniformLocation): any
getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null
isBuffer(buffer: WebGLBuffer | null): GLboolean
isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean
isProgram(program: WebGLProgram | null): GLboolean
isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean
isShader(shader: WebGLShader | null): GLboolean
isTexture(texture: WebGLTexture | null): GLboolean
lineWidth(width: GLfloat): void
linkProgram(program: WebGLProgram): void
shaderSource(shader: WebGLShader, source: string): void
stencilMask(mask: GLuint): void
uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void
uniform1i(location: WebGLUniformLocation | null, x: GLint): void
useProgram(program: WebGLProgram | null): void
validateProgram(program: WebGLProgram): void
vertexAttrib1fv(index: GLuint, values: Float32List): void
vertexAttrib2fv(index: GLuint, values: Float32List): void
vertexAttrib3fv(index: GLuint, values: Float32List): void
vertexAttrib4fv(index: GLuint, values: Float32List): void