Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML element.

interface WebGLRenderingContext {
    ACTIVE_ATTRIBUTES: number;
    ACTIVE_TEXTURE: number;
    ACTIVE_UNIFORMS: number;
    ALIASED_LINE_WIDTH_RANGE: number;
    ALIASED_POINT_SIZE_RANGE: number;
    ALPHA: number;
    ALPHA_BITS: number;
    ALWAYS: number;
    ARRAY_BUFFER: number;
    ARRAY_BUFFER_BINDING: number;
    ATTACHED_SHADERS: number;
    BACK: number;
    BLEND: number;
    BLEND_COLOR: number;
    BLEND_DST_ALPHA: number;
    BLEND_DST_RGB: number;
    BLEND_EQUATION: number;
    BLEND_EQUATION_ALPHA: number;
    BLEND_EQUATION_RGB: number;
    BLEND_SRC_ALPHA: number;
    BLEND_SRC_RGB: number;
    BLUE_BITS: number;
    BOOL: number;
    BOOL_VEC2: number;
    BOOL_VEC3: number;
    BOOL_VEC4: number;
    BROWSER_DEFAULT_WEBGL: number;
    BUFFER_SIZE: number;
    BUFFER_USAGE: number;
    BYTE: number;
    CCW: number;
    CLAMP_TO_EDGE: number;
    COLOR_ATTACHMENT0: number;
    COLOR_BUFFER_BIT: number;
    COLOR_CLEAR_VALUE: number;
    COLOR_WRITEMASK: number;
    COMPILE_STATUS: number;
    COMPRESSED_TEXTURE_FORMATS: number;
    CONSTANT_ALPHA: number;
    CONSTANT_COLOR: number;
    CONTEXT_LOST_WEBGL: number;
    CULL_FACE: number;
    CULL_FACE_MODE: number;
    CURRENT_PROGRAM: number;
    CURRENT_VERTEX_ATTRIB: number;
    CW: number;
    DECR: number;
    DECR_WRAP: number;
    DELETE_STATUS: number;
    DEPTH_ATTACHMENT: number;
    DEPTH_BITS: number;
    DEPTH_BUFFER_BIT: number;
    DEPTH_CLEAR_VALUE: number;
    DEPTH_COMPONENT: number;
    DEPTH_COMPONENT16: number;
    DEPTH_FUNC: number;
    DEPTH_RANGE: number;
    DEPTH_STENCIL: number;
    DEPTH_STENCIL_ATTACHMENT: number;
    DEPTH_TEST: number;
    DEPTH_WRITEMASK: number;
    DITHER: number;
    DONT_CARE: number;
    DST_ALPHA: number;
    DST_COLOR: number;
    DYNAMIC_DRAW: number;
    ELEMENT_ARRAY_BUFFER: number;
    ELEMENT_ARRAY_BUFFER_BINDING: number;
    EQUAL: number;
    FASTEST: number;
    FLOAT: number;
    FLOAT_MAT2: number;
    FLOAT_MAT3: number;
    FLOAT_MAT4: number;
    FLOAT_VEC2: number;
    FLOAT_VEC3: number;
    FLOAT_VEC4: number;
    FRAGMENT_SHADER: number;
    FRAMEBUFFER: number;
    FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number;
    FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number;
    FRAMEBUFFER_BINDING: number;
    FRAMEBUFFER_COMPLETE: number;
    FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number;
    FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number;
    FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number;
    FRAMEBUFFER_UNSUPPORTED: number;
    FRONT: number;
    FRONT_AND_BACK: number;
    FRONT_FACE: number;
    FUNC_ADD: number;
    FUNC_REVERSE_SUBTRACT: number;
    FUNC_SUBTRACT: number;
    GENERATE_MIPMAP_HINT: number;
    GEQUAL: number;
    GREATER: number;
    GREEN_BITS: number;
    HIGH_FLOAT: number;
    HIGH_INT: number;
    IMPLEMENTATION_COLOR_READ_FORMAT: number;
    IMPLEMENTATION_COLOR_READ_TYPE: number;
    INCR: number;
    INCR_WRAP: number;
    INT: number;
    INT_VEC2: number;
    INT_VEC3: number;
    INT_VEC4: number;
    INVALID_ENUM: number;
    INVALID_FRAMEBUFFER_OPERATION: number;
    INVALID_OPERATION: number;
    INVALID_VALUE: number;
    INVERT: number;
    KEEP: number;
    LEQUAL: number;
    LESS: number;
    LINEAR: number;
    LINEAR_MIPMAP_LINEAR: number;
    LINEAR_MIPMAP_NEAREST: number;
    LINES: number;
    LINE_LOOP: number;
    LINE_STRIP: number;
    LINE_WIDTH: number;
    LINK_STATUS: number;
    LOW_FLOAT: number;
    LOW_INT: number;
    LUMINANCE: number;
    LUMINANCE_ALPHA: number;
    MAX_COMBINED_TEXTURE_IMAGE_UNITS: number;
    MAX_CUBE_MAP_TEXTURE_SIZE: number;
    MAX_FRAGMENT_UNIFORM_VECTORS: number;
    MAX_RENDERBUFFER_SIZE: number;
    MAX_TEXTURE_IMAGE_UNITS: number;
    MAX_TEXTURE_SIZE: number;
    MAX_VARYING_VECTORS: number;
    MAX_VERTEX_ATTRIBS: number;
    MAX_VERTEX_TEXTURE_IMAGE_UNITS: number;
    MAX_VERTEX_UNIFORM_VECTORS: number;
    MAX_VIEWPORT_DIMS: number;
    MEDIUM_FLOAT: number;
    MEDIUM_INT: number;
    MIRRORED_REPEAT: number;
    NEAREST: number;
    NEAREST_MIPMAP_LINEAR: number;
    NEAREST_MIPMAP_NEAREST: number;
    NEVER: number;
    NICEST: number;
    NONE: number;
    NOTEQUAL: number;
    NO_ERROR: number;
    ONE: number;
    ONE_MINUS_CONSTANT_ALPHA: number;
    ONE_MINUS_CONSTANT_COLOR: number;
    ONE_MINUS_DST_ALPHA: number;
    ONE_MINUS_DST_COLOR: number;
    ONE_MINUS_SRC_ALPHA: number;
    ONE_MINUS_SRC_COLOR: number;
    OUT_OF_MEMORY: number;
    PACK_ALIGNMENT: number;
    POINTS: number;
    POLYGON_OFFSET_FACTOR: number;
    POLYGON_OFFSET_FILL: number;
    POLYGON_OFFSET_UNITS: number;
    RED_BITS: number;
    RENDERBUFFER: number;
    RENDERBUFFER_ALPHA_SIZE: number;
    RENDERBUFFER_BINDING: number;
    RENDERBUFFER_BLUE_SIZE: number;
    RENDERBUFFER_DEPTH_SIZE: number;
    RENDERBUFFER_GREEN_SIZE: number;
    RENDERBUFFER_HEIGHT: number;
    RENDERBUFFER_INTERNAL_FORMAT: number;
    RENDERBUFFER_RED_SIZE: number;
    RENDERBUFFER_STENCIL_SIZE: number;
    RENDERBUFFER_WIDTH: number;
    RENDERER: number;
    REPEAT: number;
    REPLACE: number;
    RGB: number;
    RGB565: number;
    RGB5_A1: number;
    RGBA: number;
    RGBA4: number;
    SAMPLER_2D: number;
    SAMPLER_CUBE: number;
    SAMPLES: number;
    SAMPLE_ALPHA_TO_COVERAGE: number;
    SAMPLE_BUFFERS: number;
    SAMPLE_COVERAGE: number;
    SAMPLE_COVERAGE_INVERT: number;
    SAMPLE_COVERAGE_VALUE: number;
    SCISSOR_BOX: number;
    SCISSOR_TEST: number;
    SHADER_TYPE: number;
    SHADING_LANGUAGE_VERSION: number;
    SHORT: number;
    SRC_ALPHA: number;
    SRC_ALPHA_SATURATE: number;
    SRC_COLOR: number;
    STATIC_DRAW: number;
    STENCIL_ATTACHMENT: number;
    STENCIL_BACK_FAIL: number;
    STENCIL_BACK_FUNC: number;
    STENCIL_BACK_PASS_DEPTH_FAIL: number;
    STENCIL_BACK_PASS_DEPTH_PASS: number;
    STENCIL_BACK_REF: number;
    STENCIL_BACK_VALUE_MASK: number;
    STENCIL_BACK_WRITEMASK: number;
    STENCIL_BITS: number;
    STENCIL_BUFFER_BIT: number;
    STENCIL_CLEAR_VALUE: number;
    STENCIL_FAIL: number;
    STENCIL_FUNC: number;
    STENCIL_INDEX8: number;
    STENCIL_PASS_DEPTH_FAIL: number;
    STENCIL_PASS_DEPTH_PASS: number;
    STENCIL_REF: number;
    STENCIL_TEST: number;
    STENCIL_VALUE_MASK: number;
    STENCIL_WRITEMASK: number;
    STREAM_DRAW: number;
    SUBPIXEL_BITS: number;
    TEXTURE: number;
    TEXTURE0: number;
    TEXTURE1: number;
    TEXTURE10: number;
    TEXTURE11: number;
    TEXTURE12: number;
    TEXTURE13: number;
    TEXTURE14: number;
    TEXTURE15: number;
    TEXTURE16: number;
    TEXTURE17: number;
    TEXTURE18: number;
    TEXTURE19: number;
    TEXTURE2: number;
    TEXTURE20: number;
    TEXTURE21: number;
    TEXTURE22: number;
    TEXTURE23: number;
    TEXTURE24: number;
    TEXTURE25: number;
    TEXTURE26: number;
    TEXTURE27: number;
    TEXTURE28: number;
    TEXTURE29: number;
    TEXTURE3: number;
    TEXTURE30: number;
    TEXTURE31: number;
    TEXTURE4: number;
    TEXTURE5: number;
    TEXTURE6: number;
    TEXTURE7: number;
    TEXTURE8: number;
    TEXTURE9: number;
    TEXTURE_2D: number;
    TEXTURE_BINDING_2D: number;
    TEXTURE_BINDING_CUBE_MAP: number;
    TEXTURE_CUBE_MAP: number;
    TEXTURE_CUBE_MAP_NEGATIVE_X: number;
    TEXTURE_CUBE_MAP_NEGATIVE_Y: number;
    TEXTURE_CUBE_MAP_NEGATIVE_Z: number;
    TEXTURE_CUBE_MAP_POSITIVE_X: number;
    TEXTURE_CUBE_MAP_POSITIVE_Y: number;
    TEXTURE_CUBE_MAP_POSITIVE_Z: number;
    TEXTURE_MAG_FILTER: number;
    TEXTURE_MIN_FILTER: number;
    TEXTURE_WRAP_S: number;
    TEXTURE_WRAP_T: number;
    TRIANGLES: number;
    TRIANGLE_FAN: number;
    TRIANGLE_STRIP: number;
    UNPACK_ALIGNMENT: number;
    UNPACK_COLORSPACE_CONVERSION_WEBGL: number;
    UNPACK_FLIP_Y_WEBGL: number;
    UNPACK_PREMULTIPLY_ALPHA_WEBGL: number;
    UNSIGNED_BYTE: number;
    UNSIGNED_INT: number;
    UNSIGNED_SHORT: number;
    UNSIGNED_SHORT_4_4_4_4: number;
    UNSIGNED_SHORT_5_5_5_1: number;
    UNSIGNED_SHORT_5_6_5: number;
    VALIDATE_STATUS: number;
    VENDOR: number;
    VERSION: number;
    VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number;
    VERTEX_ATTRIB_ARRAY_ENABLED: number;
    VERTEX_ATTRIB_ARRAY_NORMALIZED: number;
    VERTEX_ATTRIB_ARRAY_POINTER: number;
    VERTEX_ATTRIB_ARRAY_SIZE: number;
    VERTEX_ATTRIB_ARRAY_STRIDE: number;
    VERTEX_ATTRIB_ARRAY_TYPE: number;
    VERTEX_SHADER: number;
    VIEWPORT: number;
    ZERO: number;
    canvas: OffscreenCanvas | HTMLCanvasElement;
    drawingBufferHeight: number;
    drawingBufferWidth: number;
    activeTexture(texture): void;
    attachShader(program, shader): void;
    bindAttribLocation(program, index, name): void;
    bindBuffer(target, buffer): void;
    bindFramebuffer(target, framebuffer): void;
    bindRenderbuffer(target, renderbuffer): void;
    bindTexture(target, texture): void;
    blendColor(red, green, blue, alpha): void;
    blendEquation(mode): void;
    blendEquationSeparate(modeRGB, modeAlpha): void;
    blendFunc(sfactor, dfactor): void;
    blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha): void;
    bufferData(target, size, usage): void;
    bufferData(target, data, usage): void;
    bufferSubData(target, offset, data): void;
    checkFramebufferStatus(target): number;
    clear(mask): void;
    clearColor(red, green, blue, alpha): void;
    clearDepth(depth): void;
    clearStencil(s): void;
    colorMask(red, green, blue, alpha): void;
    compileShader(shader): void;
    compressedTexImage2D(target, level, internalformat, width, height, border, data): void;
    compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, data): void;
    copyTexImage2D(target, level, internalformat, x, y, width, height, border): void;
    copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height): void;
    createBuffer(): WebGLBuffer;
    createFramebuffer(): WebGLFramebuffer;
    createProgram(): WebGLProgram;
    createRenderbuffer(): WebGLRenderbuffer;
    createShader(type): WebGLShader;
    createTexture(): WebGLTexture;
    cullFace(mode): void;
    deleteBuffer(buffer): void;
    deleteFramebuffer(framebuffer): void;
    deleteProgram(program): void;
    deleteRenderbuffer(renderbuffer): void;
    deleteShader(shader): void;
    deleteTexture(texture): void;
    depthFunc(func): void;
    depthMask(flag): void;
    depthRange(zNear, zFar): void;
    detachShader(program, shader): void;
    disable(cap): void;
    disableVertexAttribArray(index): void;
    drawArrays(mode, first, count): void;
    drawElements(mode, count, type, offset): void;
    enable(cap): void;
    enableVertexAttribArray(index): void;
    finish(): void;
    flush(): void;
    framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer): void;
    framebufferTexture2D(target, attachment, textarget, texture, level): void;
    frontFace(mode): void;
    generateMipmap(target): void;
    getActiveAttrib(program, index): WebGLActiveInfo;
    getActiveUniform(program, index): WebGLActiveInfo;
    getAttachedShaders(program): WebGLShader[];
    getAttribLocation(program, name): number;
    getBufferParameter(target, pname): any;
    getContextAttributes(): WebGLContextAttributes;
    getError(): number;
    getExtension(extensionName): ANGLE_instanced_arrays;
    getExtension(extensionName): EXT_blend_minmax;
    getExtension(extensionName): EXT_color_buffer_float;
    getExtension(extensionName): EXT_color_buffer_half_float;
    getExtension(extensionName): EXT_float_blend;
    getExtension(extensionName): EXT_frag_depth;
    getExtension(extensionName): EXT_sRGB;
    getExtension(extensionName): EXT_shader_texture_lod;
    getExtension(extensionName): EXT_texture_compression_bptc;
    getExtension(extensionName): EXT_texture_compression_rgtc;
    getExtension(extensionName): EXT_texture_filter_anisotropic;
    getExtension(extensionName): KHR_parallel_shader_compile;
    getExtension(extensionName): OES_element_index_uint;
    getExtension(extensionName): OES_fbo_render_mipmap;
    getExtension(extensionName): OES_standard_derivatives;
    getExtension(extensionName): OES_texture_float;
    getExtension(extensionName): OES_texture_float_linear;
    getExtension(extensionName): OES_texture_half_float;
    getExtension(extensionName): OES_texture_half_float_linear;
    getExtension(extensionName): OES_vertex_array_object;
    getExtension(extensionName): OVR_multiview2;
    getExtension(extensionName): WEBGL_color_buffer_float;
    getExtension(extensionName): WEBGL_compressed_texture_astc;
    getExtension(extensionName): WEBGL_compressed_texture_etc;
    getExtension(extensionName): WEBGL_compressed_texture_etc1;
    getExtension(extensionName): WEBGL_compressed_texture_s3tc;
    getExtension(extensionName): WEBGL_compressed_texture_s3tc_srgb;
    getExtension(extensionName): WEBGL_debug_renderer_info;
    getExtension(extensionName): WEBGL_debug_shaders;
    getExtension(extensionName): WEBGL_depth_texture;
    getExtension(extensionName): WEBGL_draw_buffers;
    getExtension(extensionName): WEBGL_lose_context;
    getExtension(extensionName): WEBGL_multi_draw;
    getExtension(name): any;
    getFramebufferAttachmentParameter(target, attachment, pname): any;
    getParameter(pname): any;
    getProgramInfoLog(program): string;
    getProgramParameter(program, pname): any;
    getRenderbufferParameter(target, pname): any;
    getShaderInfoLog(shader): string;
    getShaderParameter(shader, pname): any;
    getShaderPrecisionFormat(shadertype, precisiontype): WebGLShaderPrecisionFormat;
    getShaderSource(shader): string;
    getSupportedExtensions(): string[];
    getTexParameter(target, pname): any;
    getUniform(program, location): any;
    getUniformLocation(program, name): WebGLUniformLocation;
    getVertexAttrib(index, pname): any;
    getVertexAttribOffset(index, pname): number;
    hint(target, mode): void;
    isBuffer(buffer): boolean;
    isContextLost(): boolean;
    isEnabled(cap): boolean;
    isFramebuffer(framebuffer): boolean;
    isProgram(program): boolean;
    isRenderbuffer(renderbuffer): boolean;
    isShader(shader): boolean;
    isTexture(texture): boolean;
    lineWidth(width): void;
    linkProgram(program): void;
    pixelStorei(pname, param): void;
    polygonOffset(factor, units): void;
    readPixels(x, y, width, height, format, type, pixels): void;
    renderbufferStorage(target, internalformat, width, height): void;
    sampleCoverage(value, invert): void;
    scissor(x, y, width, height): void;
    shaderSource(shader, source): void;
    stencilFunc(func, ref, mask): void;
    stencilFuncSeparate(face, func, ref, mask): void;
    stencilMask(mask): void;
    stencilMaskSeparate(face, mask): void;
    stencilOp(fail, zfail, zpass): void;
    stencilOpSeparate(face, fail, zfail, zpass): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, pixels): void;
    texImage2D(target, level, internalformat, format, type, source): void;
    texParameterf(target, pname, param): void;
    texParameteri(target, pname, param): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels): void;
    texSubImage2D(target, level, xoffset, yoffset, format, type, source): void;
    uniform1f(location, x): void;
    uniform1fv(location, v): void;
    uniform1fv(location, v): void;
    uniform1i(location, x): void;
    uniform1iv(location, v): void;
    uniform1iv(location, v): void;
    uniform2f(location, x, y): void;
    uniform2fv(location, v): void;
    uniform2fv(location, v): void;
    uniform2i(location, x, y): void;
    uniform2iv(location, v): void;
    uniform2iv(location, v): void;
    uniform3f(location, x, y, z): void;
    uniform3fv(location, v): void;
    uniform3fv(location, v): void;
    uniform3i(location, x, y, z): void;
    uniform3iv(location, v): void;
    uniform3iv(location, v): void;
    uniform4f(location, x, y, z, w): void;
    uniform4fv(location, v): void;
    uniform4fv(location, v): void;
    uniform4i(location, x, y, z, w): void;
    uniform4iv(location, v): void;
    uniform4iv(location, v): void;
    uniformMatrix2fv(location, transpose, value): void;
    uniformMatrix2fv(location, transpose, value): void;
    uniformMatrix3fv(location, transpose, value): void;
    uniformMatrix3fv(location, transpose, value): void;
    uniformMatrix4fv(location, transpose, value): void;
    uniformMatrix4fv(location, transpose, value): void;
    useProgram(program): void;
    validateProgram(program): void;
    vertexAttrib1f(index, x): void;
    vertexAttrib1fv(index, values): void;
    vertexAttrib1fv(index, values): void;
    vertexAttrib2f(index, x, y): void;
    vertexAttrib2fv(index, values): void;
    vertexAttrib2fv(index, values): void;
    vertexAttrib3f(index, x, y, z): void;
    vertexAttrib3fv(index, values): void;
    vertexAttrib3fv(index, values): void;
    vertexAttrib4f(index, x, y, z, w): void;
    vertexAttrib4fv(index, values): void;
    vertexAttrib4fv(index, values): void;
    vertexAttribPointer(index, size, type, normalized, stride, offset): void;
    viewport(x, y, width, height): void;
}

Hierarchy

  • WebGLRenderingContextBase
  • WebGLRenderingContextOverloads
    • WebGLRenderingContext

Properties

ACTIVE_ATTRIBUTES ACTIVE_TEXTURE ACTIVE_UNIFORMS ALIASED_LINE_WIDTH_RANGE ALIASED_POINT_SIZE_RANGE ALPHA ALPHA_BITS ALWAYS ARRAY_BUFFER ARRAY_BUFFER_BINDING ATTACHED_SHADERS BACK BLEND BLEND_COLOR BLEND_DST_ALPHA BLEND_DST_RGB BLEND_EQUATION BLEND_EQUATION_ALPHA BLEND_EQUATION_RGB BLEND_SRC_ALPHA BLEND_SRC_RGB BLUE_BITS BOOL BOOL_VEC2 BOOL_VEC3 BOOL_VEC4 BROWSER_DEFAULT_WEBGL BUFFER_SIZE BUFFER_USAGE BYTE CCW CLAMP_TO_EDGE COLOR_ATTACHMENT0 COLOR_BUFFER_BIT COLOR_CLEAR_VALUE COLOR_WRITEMASK COMPILE_STATUS COMPRESSED_TEXTURE_FORMATS CONSTANT_ALPHA CONSTANT_COLOR CONTEXT_LOST_WEBGL CULL_FACE CULL_FACE_MODE CURRENT_PROGRAM CURRENT_VERTEX_ATTRIB CW DECR DECR_WRAP DELETE_STATUS DEPTH_ATTACHMENT DEPTH_BITS DEPTH_BUFFER_BIT DEPTH_CLEAR_VALUE DEPTH_COMPONENT DEPTH_COMPONENT16 DEPTH_FUNC DEPTH_RANGE DEPTH_STENCIL DEPTH_STENCIL_ATTACHMENT DEPTH_TEST DEPTH_WRITEMASK DITHER DONT_CARE DST_ALPHA DST_COLOR DYNAMIC_DRAW ELEMENT_ARRAY_BUFFER ELEMENT_ARRAY_BUFFER_BINDING EQUAL FASTEST FLOAT FLOAT_MAT2 FLOAT_MAT3 FLOAT_MAT4 FLOAT_VEC2 FLOAT_VEC3 FLOAT_VEC4 FRAGMENT_SHADER FRAMEBUFFER FRAMEBUFFER_ATTACHMENT_OBJECT_NAME FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL FRAMEBUFFER_BINDING FRAMEBUFFER_COMPLETE FRAMEBUFFER_INCOMPLETE_ATTACHMENT FRAMEBUFFER_INCOMPLETE_DIMENSIONS FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT FRAMEBUFFER_UNSUPPORTED FRONT FRONT_AND_BACK FRONT_FACE FUNC_ADD FUNC_REVERSE_SUBTRACT FUNC_SUBTRACT GENERATE_MIPMAP_HINT GEQUAL GREATER GREEN_BITS HIGH_FLOAT HIGH_INT IMPLEMENTATION_COLOR_READ_FORMAT IMPLEMENTATION_COLOR_READ_TYPE INCR INCR_WRAP INT INT_VEC2 INT_VEC3 INT_VEC4 INVALID_ENUM INVALID_FRAMEBUFFER_OPERATION INVALID_OPERATION INVALID_VALUE INVERT KEEP LEQUAL LESS LINEAR LINEAR_MIPMAP_LINEAR LINEAR_MIPMAP_NEAREST LINES LINE_LOOP LINE_STRIP LINE_WIDTH LINK_STATUS LOW_FLOAT LOW_INT LUMINANCE LUMINANCE_ALPHA MAX_COMBINED_TEXTURE_IMAGE_UNITS MAX_CUBE_MAP_TEXTURE_SIZE MAX_FRAGMENT_UNIFORM_VECTORS MAX_RENDERBUFFER_SIZE MAX_TEXTURE_IMAGE_UNITS MAX_TEXTURE_SIZE MAX_VARYING_VECTORS MAX_VERTEX_ATTRIBS MAX_VERTEX_TEXTURE_IMAGE_UNITS MAX_VERTEX_UNIFORM_VECTORS MAX_VIEWPORT_DIMS MEDIUM_FLOAT MEDIUM_INT MIRRORED_REPEAT NEAREST NEAREST_MIPMAP_LINEAR NEAREST_MIPMAP_NEAREST NEVER NICEST NONE NOTEQUAL NO_ERROR ONE ONE_MINUS_CONSTANT_ALPHA ONE_MINUS_CONSTANT_COLOR ONE_MINUS_DST_ALPHA ONE_MINUS_DST_COLOR ONE_MINUS_SRC_ALPHA ONE_MINUS_SRC_COLOR OUT_OF_MEMORY PACK_ALIGNMENT POINTS POLYGON_OFFSET_FACTOR POLYGON_OFFSET_FILL POLYGON_OFFSET_UNITS RED_BITS RENDERBUFFER RENDERBUFFER_ALPHA_SIZE RENDERBUFFER_BINDING RENDERBUFFER_BLUE_SIZE RENDERBUFFER_DEPTH_SIZE RENDERBUFFER_GREEN_SIZE RENDERBUFFER_HEIGHT RENDERBUFFER_INTERNAL_FORMAT RENDERBUFFER_RED_SIZE RENDERBUFFER_STENCIL_SIZE RENDERBUFFER_WIDTH RENDERER REPEAT REPLACE RGB RGB565 RGB5_A1 RGBA RGBA4 SAMPLER_2D SAMPLER_CUBE SAMPLES SAMPLE_ALPHA_TO_COVERAGE SAMPLE_BUFFERS SAMPLE_COVERAGE SAMPLE_COVERAGE_INVERT SAMPLE_COVERAGE_VALUE SCISSOR_BOX SCISSOR_TEST SHADER_TYPE SHADING_LANGUAGE_VERSION SHORT SRC_ALPHA SRC_ALPHA_SATURATE SRC_COLOR STATIC_DRAW STENCIL_ATTACHMENT STENCIL_BACK_FAIL STENCIL_BACK_FUNC STENCIL_BACK_PASS_DEPTH_FAIL STENCIL_BACK_PASS_DEPTH_PASS STENCIL_BACK_REF STENCIL_BACK_VALUE_MASK STENCIL_BACK_WRITEMASK STENCIL_BITS STENCIL_BUFFER_BIT STENCIL_CLEAR_VALUE STENCIL_FAIL STENCIL_FUNC STENCIL_INDEX8 STENCIL_PASS_DEPTH_FAIL STENCIL_PASS_DEPTH_PASS STENCIL_REF STENCIL_TEST STENCIL_VALUE_MASK STENCIL_WRITEMASK STREAM_DRAW SUBPIXEL_BITS TEXTURE TEXTURE0 TEXTURE1 TEXTURE10 TEXTURE11 TEXTURE12 TEXTURE13 TEXTURE14 TEXTURE15 TEXTURE16 TEXTURE17 TEXTURE18 TEXTURE19 TEXTURE2 TEXTURE20 TEXTURE21 TEXTURE22 TEXTURE23 TEXTURE24 TEXTURE25 TEXTURE26 TEXTURE27 TEXTURE28 TEXTURE29 TEXTURE3 TEXTURE30 TEXTURE31 TEXTURE4 TEXTURE5 TEXTURE6 TEXTURE7 TEXTURE8 TEXTURE9 TEXTURE_2D TEXTURE_BINDING_2D TEXTURE_BINDING_CUBE_MAP TEXTURE_CUBE_MAP TEXTURE_CUBE_MAP_NEGATIVE_X TEXTURE_CUBE_MAP_NEGATIVE_Y TEXTURE_CUBE_MAP_NEGATIVE_Z TEXTURE_CUBE_MAP_POSITIVE_X TEXTURE_CUBE_MAP_POSITIVE_Y TEXTURE_CUBE_MAP_POSITIVE_Z TEXTURE_MAG_FILTER TEXTURE_MIN_FILTER TEXTURE_WRAP_S TEXTURE_WRAP_T TRIANGLES TRIANGLE_FAN TRIANGLE_STRIP UNPACK_ALIGNMENT UNPACK_COLORSPACE_CONVERSION_WEBGL UNPACK_FLIP_Y_WEBGL UNPACK_PREMULTIPLY_ALPHA_WEBGL UNSIGNED_BYTE UNSIGNED_INT UNSIGNED_SHORT UNSIGNED_SHORT_4_4_4_4 UNSIGNED_SHORT_5_5_5_1 UNSIGNED_SHORT_5_6_5 VALIDATE_STATUS VENDOR VERSION VERTEX_ATTRIB_ARRAY_BUFFER_BINDING VERTEX_ATTRIB_ARRAY_ENABLED VERTEX_ATTRIB_ARRAY_NORMALIZED VERTEX_ATTRIB_ARRAY_POINTER VERTEX_ATTRIB_ARRAY_SIZE VERTEX_ATTRIB_ARRAY_STRIDE VERTEX_ATTRIB_ARRAY_TYPE VERTEX_SHADER VIEWPORT ZERO canvas drawingBufferHeight drawingBufferWidth

Methods

activeTexture attachShader bindAttribLocation bindBuffer bindFramebuffer bindRenderbuffer bindTexture blendColor blendEquation blendEquationSeparate blendFunc blendFuncSeparate bufferData bufferSubData checkFramebufferStatus clear clearColor clearDepth clearStencil colorMask compileShader compressedTexImage2D compressedTexSubImage2D copyTexImage2D copyTexSubImage2D createBuffer createFramebuffer createProgram createRenderbuffer createShader createTexture cullFace deleteBuffer deleteFramebuffer deleteProgram deleteRenderbuffer deleteShader deleteTexture depthFunc depthMask depthRange detachShader disable disableVertexAttribArray drawArrays drawElements enable enableVertexAttribArray finish flush framebufferRenderbuffer framebufferTexture2D frontFace generateMipmap getActiveAttrib getActiveUniform getAttachedShaders getAttribLocation getBufferParameter getContextAttributes getError getExtension getFramebufferAttachmentParameter getParameter getProgramInfoLog getProgramParameter getRenderbufferParameter getShaderInfoLog getShaderParameter getShaderPrecisionFormat getShaderSource getSupportedExtensions getTexParameter getUniform getUniformLocation getVertexAttrib getVertexAttribOffset hint isBuffer isContextLost isEnabled isFramebuffer isProgram isRenderbuffer isShader isTexture lineWidth linkProgram pixelStorei polygonOffset readPixels renderbufferStorage sampleCoverage scissor shaderSource stencilFunc stencilFuncSeparate stencilMask stencilMaskSeparate stencilOp stencilOpSeparate texImage2D texParameterf texParameteri texSubImage2D uniform1f uniform1fv uniform1i uniform1iv uniform2f uniform2fv uniform2i uniform2iv uniform3f uniform3fv uniform3i uniform3iv uniform4f uniform4fv uniform4i uniform4iv uniformMatrix2fv uniformMatrix3fv uniformMatrix4fv useProgram validateProgram vertexAttrib1f vertexAttrib1fv vertexAttrib2f vertexAttrib2fv vertexAttrib3f vertexAttrib3fv vertexAttrib4f vertexAttrib4fv vertexAttribPointer viewport

Properties

ACTIVE_ATTRIBUTES: number
ACTIVE_TEXTURE: number
ACTIVE_UNIFORMS: number
ALIASED_LINE_WIDTH_RANGE: number
ALIASED_POINT_SIZE_RANGE: number
ALPHA: number
ALPHA_BITS: number
ALWAYS: number
ARRAY_BUFFER: number
ARRAY_BUFFER_BINDING: number
ATTACHED_SHADERS: number
BACK: number
BLEND: number
BLEND_COLOR: number
BLEND_DST_ALPHA: number
BLEND_DST_RGB: number
BLEND_EQUATION: number
BLEND_EQUATION_ALPHA: number
BLEND_EQUATION_RGB: number
BLEND_SRC_ALPHA: number
BLEND_SRC_RGB: number
BLUE_BITS: number
BOOL: number
BOOL_VEC2: number
BOOL_VEC3: number
BOOL_VEC4: number
BROWSER_DEFAULT_WEBGL: number
BUFFER_SIZE: number
BUFFER_USAGE: number
BYTE: number
CCW: number
CLAMP_TO_EDGE: number
COLOR_ATTACHMENT0: number
COLOR_BUFFER_BIT: number
COLOR_CLEAR_VALUE: number
COLOR_WRITEMASK: number
COMPILE_STATUS: number
COMPRESSED_TEXTURE_FORMATS: number
CONSTANT_ALPHA: number
CONSTANT_COLOR: number
CONTEXT_LOST_WEBGL: number
CULL_FACE: number
CULL_FACE_MODE: number
CURRENT_PROGRAM: number
CURRENT_VERTEX_ATTRIB: number
CW: number
DECR: number
DECR_WRAP: number
DELETE_STATUS: number
DEPTH_ATTACHMENT: number
DEPTH_BITS: number
DEPTH_BUFFER_BIT: number
DEPTH_CLEAR_VALUE: number
DEPTH_COMPONENT: number
DEPTH_COMPONENT16: number
DEPTH_FUNC: number
DEPTH_RANGE: number
DEPTH_STENCIL: number
DEPTH_STENCIL_ATTACHMENT: number
DEPTH_TEST: number
DEPTH_WRITEMASK: number
DITHER: number
DONT_CARE: number
DST_ALPHA: number
DST_COLOR: number
DYNAMIC_DRAW: number
ELEMENT_ARRAY_BUFFER: number
ELEMENT_ARRAY_BUFFER_BINDING: number
EQUAL: number
FASTEST: number
FLOAT: number
FLOAT_MAT2: number
FLOAT_MAT3: number
FLOAT_MAT4: number
FLOAT_VEC2: number
FLOAT_VEC3: number
FLOAT_VEC4: number
FRAGMENT_SHADER: number
FRAMEBUFFER: number
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number
FRAMEBUFFER_BINDING: number
FRAMEBUFFER_COMPLETE: number
FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number
FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number
FRAMEBUFFER_UNSUPPORTED: number
FRONT: number
FRONT_AND_BACK: number
FRONT_FACE: number
FUNC_ADD: number
FUNC_REVERSE_SUBTRACT: number
FUNC_SUBTRACT: number
GENERATE_MIPMAP_HINT: number
GEQUAL: number
GREATER: number
GREEN_BITS: number
HIGH_FLOAT: number
HIGH_INT: number
IMPLEMENTATION_COLOR_READ_FORMAT: number
IMPLEMENTATION_COLOR_READ_TYPE: number
INCR: number
INCR_WRAP: number
INT: number
INT_VEC2: number
INT_VEC3: number
INT_VEC4: number
INVALID_ENUM: number
INVALID_FRAMEBUFFER_OPERATION: number
INVALID_OPERATION: number
INVALID_VALUE: number
INVERT: number
KEEP: number
LEQUAL: number
LESS: number
LINEAR: number
LINEAR_MIPMAP_LINEAR: number
LINEAR_MIPMAP_NEAREST: number
LINES: number
LINE_LOOP: number
LINE_STRIP: number
LINE_WIDTH: number
LINK_STATUS: number
LOW_FLOAT: number
LOW_INT: number
LUMINANCE: number
LUMINANCE_ALPHA: number
MAX_COMBINED_TEXTURE_IMAGE_UNITS: number
MAX_CUBE_MAP_TEXTURE_SIZE: number
MAX_FRAGMENT_UNIFORM_VECTORS: number
MAX_RENDERBUFFER_SIZE: number
MAX_TEXTURE_IMAGE_UNITS: number
MAX_TEXTURE_SIZE: number
MAX_VARYING_VECTORS: number
MAX_VERTEX_ATTRIBS: number
MAX_VERTEX_TEXTURE_IMAGE_UNITS: number
MAX_VERTEX_UNIFORM_VECTORS: number
MAX_VIEWPORT_DIMS: number
MEDIUM_FLOAT: number
MEDIUM_INT: number
MIRRORED_REPEAT: number
NEAREST: number
NEAREST_MIPMAP_LINEAR: number
NEAREST_MIPMAP_NEAREST: number
NEVER: number
NICEST: number
NONE: number
NOTEQUAL: number
NO_ERROR: number
ONE: number
ONE_MINUS_CONSTANT_ALPHA: number
ONE_MINUS_CONSTANT_COLOR: number
ONE_MINUS_DST_ALPHA: number
ONE_MINUS_DST_COLOR: number
ONE_MINUS_SRC_ALPHA: number
ONE_MINUS_SRC_COLOR: number
OUT_OF_MEMORY: number
PACK_ALIGNMENT: number
POINTS: number
POLYGON_OFFSET_FACTOR: number
POLYGON_OFFSET_FILL: number
POLYGON_OFFSET_UNITS: number
RED_BITS: number
RENDERBUFFER: number
RENDERBUFFER_ALPHA_SIZE: number
RENDERBUFFER_BINDING: number
RENDERBUFFER_BLUE_SIZE: number
RENDERBUFFER_DEPTH_SIZE: number
RENDERBUFFER_GREEN_SIZE: number
RENDERBUFFER_HEIGHT: number
RENDERBUFFER_INTERNAL_FORMAT: number
RENDERBUFFER_RED_SIZE: number
RENDERBUFFER_STENCIL_SIZE: number
RENDERBUFFER_WIDTH: number
RENDERER: number
REPEAT: number
REPLACE: number
RGB: number
RGB565: number
RGB5_A1: number
RGBA: number
RGBA4: number
SAMPLER_2D: number
SAMPLER_CUBE: number
SAMPLES: number
SAMPLE_ALPHA_TO_COVERAGE: number
SAMPLE_BUFFERS: number
SAMPLE_COVERAGE: number
SAMPLE_COVERAGE_INVERT: number
SAMPLE_COVERAGE_VALUE: number
SCISSOR_BOX: number
SCISSOR_TEST: number
SHADER_TYPE: number
SHADING_LANGUAGE_VERSION: number
SHORT: number
SRC_ALPHA: number
SRC_ALPHA_SATURATE: number
SRC_COLOR: number
STATIC_DRAW: number
STENCIL_ATTACHMENT: number
STENCIL_BACK_FAIL: number
STENCIL_BACK_FUNC: number
STENCIL_BACK_PASS_DEPTH_FAIL: number
STENCIL_BACK_PASS_DEPTH_PASS: number
STENCIL_BACK_REF: number
STENCIL_BACK_VALUE_MASK: number
STENCIL_BACK_WRITEMASK: number
STENCIL_BITS: number
STENCIL_BUFFER_BIT: number
STENCIL_CLEAR_VALUE: number
STENCIL_FAIL: number
STENCIL_FUNC: number
STENCIL_INDEX8: number
STENCIL_PASS_DEPTH_FAIL: number
STENCIL_PASS_DEPTH_PASS: number
STENCIL_REF: number
STENCIL_TEST: number
STENCIL_VALUE_MASK: number
STENCIL_WRITEMASK: number
STREAM_DRAW: number
SUBPIXEL_BITS: number
TEXTURE: number
TEXTURE0: number
TEXTURE1: number
TEXTURE10: number
TEXTURE11: number
TEXTURE12: number
TEXTURE13: number
TEXTURE14: number
TEXTURE15: number
TEXTURE16: number
TEXTURE17: number
TEXTURE18: number
TEXTURE19: number
TEXTURE2: number
TEXTURE20: number
TEXTURE21: number
TEXTURE22: number
TEXTURE23: number
TEXTURE24: number
TEXTURE25: number
TEXTURE26: number
TEXTURE27: number
TEXTURE28: number
TEXTURE29: number
TEXTURE3: number
TEXTURE30: number
TEXTURE31: number
TEXTURE4: number
TEXTURE5: number
TEXTURE6: number
TEXTURE7: number
TEXTURE8: number
TEXTURE9: number
TEXTURE_2D: number
TEXTURE_BINDING_2D: number
TEXTURE_BINDING_CUBE_MAP: number
TEXTURE_CUBE_MAP: number
TEXTURE_CUBE_MAP_NEGATIVE_X: number
TEXTURE_CUBE_MAP_NEGATIVE_Y: number
TEXTURE_CUBE_MAP_NEGATIVE_Z: number
TEXTURE_CUBE_MAP_POSITIVE_X: number
TEXTURE_CUBE_MAP_POSITIVE_Y: number
TEXTURE_CUBE_MAP_POSITIVE_Z: number
TEXTURE_MAG_FILTER: number
TEXTURE_MIN_FILTER: number
TEXTURE_WRAP_S: number
TEXTURE_WRAP_T: number
TRIANGLES: number
TRIANGLE_FAN: number
TRIANGLE_STRIP: number
UNPACK_ALIGNMENT: number
UNPACK_COLORSPACE_CONVERSION_WEBGL: number
UNPACK_FLIP_Y_WEBGL: number
UNPACK_PREMULTIPLY_ALPHA_WEBGL: number
UNSIGNED_BYTE: number
UNSIGNED_INT: number
UNSIGNED_SHORT: number
UNSIGNED_SHORT_4_4_4_4: number
UNSIGNED_SHORT_5_5_5_1: number
UNSIGNED_SHORT_5_6_5: number
VALIDATE_STATUS: number
VENDOR: number
VERSION: number
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number
VERTEX_ATTRIB_ARRAY_ENABLED: number
VERTEX_ATTRIB_ARRAY_NORMALIZED: number
VERTEX_ATTRIB_ARRAY_POINTER: number
VERTEX_ATTRIB_ARRAY_SIZE: number
VERTEX_ATTRIB_ARRAY_STRIDE: number
VERTEX_ATTRIB_ARRAY_TYPE: number
VERTEX_SHADER: number
VIEWPORT: number
ZERO: number
drawingBufferHeight: number
drawingBufferWidth: number

Methods

  • Parameters

    • texture: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

  • Parameters

    • mode: number

    Returns void

  • Parameters

    • modeRGB: number
    • modeAlpha: number

    Returns void

  • Parameters

    • sfactor: number
    • dfactor: number

    Returns void

  • Parameters

    • srcRGB: number
    • dstRGB: number
    • srcAlpha: number
    • dstAlpha: number

    Returns void

  • Parameters

    • target: number
    • size: number
    • usage: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number

    Returns number

  • Parameters

    • mask: number

    Returns void

  • Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

  • Parameters

    • depth: number

    Returns void

  • Parameters

    • s: number

    Returns void

  • Parameters

    • red: boolean
    • green: boolean
    • blue: boolean
    • alpha: boolean

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • data: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • data: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • x: number
    • y: number
    • width: number
    • height: number
    • border: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Returns WebGLBuffer

  • Returns WebGLFramebuffer

  • Returns WebGLProgram

  • Returns WebGLRenderbuffer

  • Parameters

    • type: number

    Returns WebGLShader

  • Returns WebGLTexture

  • Parameters

    • mode: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • func: number

    Returns void

  • Parameters

    • flag: boolean

    Returns void

  • Parameters

    • zNear: number
    • zFar: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • cap: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • mode: number
    • first: number
    • count: number

    Returns void

  • Parameters

    • mode: number
    • count: number
    • type: number
    • offset: number

    Returns void

  • Parameters

    • cap: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Returns void

  • Returns void

  • Parameters

    • target: number
    • attachment: number
    • renderbuffertarget: number
    • renderbuffer: WebGLRenderbuffer

    Returns void

  • Parameters

    • target: number
    • attachment: number
    • textarget: number
    • texture: WebGLTexture
    • level: number

    Returns void

  • Parameters

    • mode: number

    Returns void

  • Parameters

    • target: number

    Returns void

  • Parameters

    Returns WebGLActiveInfo

  • Parameters

    Returns WebGLActiveInfo

  • Parameters

    Returns WebGLShader[]

  • Parameters

    Returns number

  • Parameters

    • target: number
    • pname: number

    Returns any

  • Returns WebGLContextAttributes

  • Returns number

  • Parameters

    • extensionName: "ANGLE_instanced_arrays"

    Returns ANGLE_instanced_arrays

  • Parameters

    • extensionName: "EXT_blend_minmax"

    Returns EXT_blend_minmax

  • Parameters

    • extensionName: "EXT_color_buffer_float"

    Returns EXT_color_buffer_float

  • Parameters

    • extensionName: "EXT_color_buffer_half_float"

    Returns EXT_color_buffer_half_float

  • Parameters

    • extensionName: "EXT_float_blend"

    Returns EXT_float_blend

  • Parameters

    • extensionName: "EXT_frag_depth"

    Returns EXT_frag_depth

  • Parameters

    • extensionName: "EXT_sRGB"

    Returns EXT_sRGB

  • Parameters

    • extensionName: "EXT_shader_texture_lod"

    Returns EXT_shader_texture_lod

  • Parameters

    • extensionName: "EXT_texture_compression_bptc"

    Returns EXT_texture_compression_bptc

  • Parameters

    • extensionName: "EXT_texture_compression_rgtc"

    Returns EXT_texture_compression_rgtc

  • Parameters

    • extensionName: "EXT_texture_filter_anisotropic"

    Returns EXT_texture_filter_anisotropic

  • Parameters

    • extensionName: "KHR_parallel_shader_compile"

    Returns KHR_parallel_shader_compile

  • Parameters

    • extensionName: "OES_element_index_uint"

    Returns OES_element_index_uint

  • Parameters

    • extensionName: "OES_fbo_render_mipmap"

    Returns OES_fbo_render_mipmap

  • Parameters

    • extensionName: "OES_standard_derivatives"

    Returns OES_standard_derivatives

  • Parameters

    • extensionName: "OES_texture_float"

    Returns OES_texture_float

  • Parameters

    • extensionName: "OES_texture_float_linear"

    Returns OES_texture_float_linear

  • Parameters

    • extensionName: "OES_texture_half_float"

    Returns OES_texture_half_float

  • Parameters

    • extensionName: "OES_texture_half_float_linear"

    Returns OES_texture_half_float_linear

  • Parameters

    • extensionName: "OES_vertex_array_object"

    Returns OES_vertex_array_object

  • Parameters

    • extensionName: "OVR_multiview2"

    Returns OVR_multiview2

  • Parameters

    • extensionName: "WEBGL_color_buffer_float"

    Returns WEBGL_color_buffer_float

  • Parameters

    • extensionName: "WEBGL_compressed_texture_astc"

    Returns WEBGL_compressed_texture_astc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_etc"

    Returns WEBGL_compressed_texture_etc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_etc1"

    Returns WEBGL_compressed_texture_etc1

  • Parameters

    • extensionName: "WEBGL_compressed_texture_s3tc"

    Returns WEBGL_compressed_texture_s3tc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_s3tc_srgb"

    Returns WEBGL_compressed_texture_s3tc_srgb

  • Parameters

    • extensionName: "WEBGL_debug_renderer_info"

    Returns WEBGL_debug_renderer_info

  • Parameters

    • extensionName: "WEBGL_debug_shaders"

    Returns WEBGL_debug_shaders

  • Parameters

    • extensionName: "WEBGL_depth_texture"

    Returns WEBGL_depth_texture

  • Parameters

    • extensionName: "WEBGL_draw_buffers"

    Returns WEBGL_draw_buffers

  • Parameters

    • extensionName: "WEBGL_lose_context"

    Returns WEBGL_lose_context

  • Parameters

    • extensionName: "WEBGL_multi_draw"

    Returns WEBGL_multi_draw

  • Parameters

    • name: string

    Returns any

  • Parameters

    • target: number
    • attachment: number
    • pname: number

    Returns any

  • Parameters

    • pname: number

    Returns any

  • Parameters

    Returns string

  • Parameters

    Returns any

  • Parameters

    • target: number
    • pname: number

    Returns any

  • Parameters

    Returns string

  • Parameters

    Returns any

  • Parameters

    • shadertype: number
    • precisiontype: number

    Returns WebGLShaderPrecisionFormat

  • Parameters

    Returns string

  • Returns string[]

  • Parameters

    • target: number
    • pname: number

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns WebGLUniformLocation

  • Parameters

    • index: number
    • pname: number

    Returns any

  • Parameters

    • index: number
    • pname: number

    Returns number

  • Parameters

    • target: number
    • mode: number

    Returns void

  • Parameters

    Returns boolean

  • Returns boolean

  • Parameters

    • cap: number

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • width: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • pname: number
    • param: number | boolean

    Returns void

  • Parameters

    • factor: number
    • units: number

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pixels: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • internalformat: number
    • width: number
    • height: number

    Returns void

  • Parameters

    • value: number
    • invert: boolean

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • func: number
    • ref: number
    • mask: number

    Returns void

  • Parameters

    • face: number
    • func: number
    • ref: number
    • mask: number

    Returns void

  • Parameters

    • mask: number

    Returns void

  • Parameters

    • face: number
    • mask: number

    Returns void

  • Parameters

    • fail: number
    • zfail: number
    • zpass: number

    Returns void

  • Parameters

    • face: number
    • fail: number
    • zfail: number
    • zpass: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • pixels: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • pname: number
    • param: number

    Returns void

  • Parameters

    • target: number
    • pname: number
    • param: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pixels: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • x: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • size: number
    • type: number
    • normalized: boolean
    • stride: number
    • offset: number

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

Generated using TypeDoc