/*
* Copyright 2010 The Closure Compiler Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// WebGL 2.0 portions:
/*
Copyright (c) 2019 The Khronos Group Inc.
Use of this source code is governed by an MIT-style license that can be
found in the LICENSE.txt file.
*/
/**
* @fileoverview Definitions for WebGL functions as described at
* http://www.khronos.org/registry/webgl/specs/latest/1.0 and
* http://www.khronos.org/registry/webgl/specs/latest/2.0
*
* This file is current up to the WebGL 2.0 spec, including extensions.
*
* This relies on html5.js being included for Canvas and Typed Array support.
*
* This includes some extensions defined at
* http://www.khronos.org/registry/webgl/extensions/
*
* This file will be merged back into the Closure workspace as soon as
* the WebGL 2.0 changes have been fully tested.
*
* @externs
*/
/**
* @constructor
* @noalias
* @private
*/
function WebGLRenderingContextBase() {}
/** @typedef {number} */
WebGLRenderingContextBase.GLenum;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_BUFFER_BIT;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BUFFER_BIT;
/** @type {number} */
WebGLRenderingContextBase.COLOR_BUFFER_BIT;
/** @type {number} */
WebGLRenderingContextBase.POINTS;
/** @type {number} */
WebGLRenderingContextBase.LINES;
/** @type {number} */
WebGLRenderingContextBase.LINE_LOOP;
/** @type {number} */
WebGLRenderingContextBase.LINE_STRIP;
/** @type {number} */
WebGLRenderingContextBase.TRIANGLES;
/** @type {number} */
WebGLRenderingContextBase.TRIANGLE_STRIP;
/** @type {number} */
WebGLRenderingContextBase.TRIANGLE_FAN;
/** @type {number} */
WebGLRenderingContextBase.ZERO;
/** @type {number} */
WebGLRenderingContextBase.ONE;
/** @type {number} */
WebGLRenderingContextBase.SRC_COLOR;
/** @type {number} */
WebGLRenderingContextBase.ONE_MINUS_SRC_COLOR;
/** @type {number} */
WebGLRenderingContextBase.SRC_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.ONE_MINUS_SRC_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.DST_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.ONE_MINUS_DST_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.DST_COLOR;
/** @type {number} */
WebGLRenderingContextBase.ONE_MINUS_DST_COLOR;
/** @type {number} */
WebGLRenderingContextBase.SRC_ALPHA_SATURATE;
/** @type {number} */
WebGLRenderingContextBase.FUNC_ADD;
/** @type {number} */
WebGLRenderingContextBase.BLEND_EQUATION;
/** @type {number} */
WebGLRenderingContextBase.BLEND_EQUATION_RGB;
/** @type {number} */
WebGLRenderingContextBase.BLEND_EQUATION_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.FUNC_SUBTRACT;
/** @type {number} */
WebGLRenderingContextBase.FUNC_REVERSE_SUBTRACT;
/** @type {number} */
WebGLRenderingContextBase.BLEND_DST_RGB;
/** @type {number} */
WebGLRenderingContextBase.BLEND_SRC_RGB;
/** @type {number} */
WebGLRenderingContextBase.BLEND_DST_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.BLEND_SRC_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.CONSTANT_COLOR;
/** @type {number} */
WebGLRenderingContextBase.ONE_MINUS_CONSTANT_COLOR;
/** @type {number} */
WebGLRenderingContextBase.CONSTANT_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.ONE_MINUS_CONSTANT_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.BLEND_COLOR;
/** @type {number} */
WebGLRenderingContextBase.ARRAY_BUFFER;
/** @type {number} */
WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER;
/** @type {number} */
WebGLRenderingContextBase.ARRAY_BUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.STREAM_DRAW;
/** @type {number} */
WebGLRenderingContextBase.STATIC_DRAW;
/** @type {number} */
WebGLRenderingContextBase.DYNAMIC_DRAW;
/** @type {number} */
WebGLRenderingContextBase.BUFFER_SIZE;
/** @type {number} */
WebGLRenderingContextBase.BUFFER_USAGE;
/** @type {number} */
WebGLRenderingContextBase.CURRENT_VERTEX_ATTRIB;
/** @type {number} */
WebGLRenderingContextBase.FRONT;
/** @type {number} */
WebGLRenderingContextBase.BACK;
/** @type {number} */
WebGLRenderingContextBase.FRONT_AND_BACK;
/** @type {number} */
WebGLRenderingContextBase.CULL_FACE;
/** @type {number} */
WebGLRenderingContextBase.BLEND;
/** @type {number} */
WebGLRenderingContextBase.DITHER;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_TEST;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_TEST;
/** @type {number} */
WebGLRenderingContextBase.SCISSOR_TEST;
/** @type {number} */
WebGLRenderingContextBase.POLYGON_OFFSET_FILL;
/** @type {number} */
WebGLRenderingContextBase.SAMPLE_ALPHA_TO_COVERAGE;
/** @type {number} */
WebGLRenderingContextBase.SAMPLE_COVERAGE;
/** @type {number} */
WebGLRenderingContextBase.NO_ERROR;
/** @type {number} */
WebGLRenderingContextBase.INVALID_ENUM;
/** @type {number} */
WebGLRenderingContextBase.INVALID_VALUE;
/** @type {number} */
WebGLRenderingContextBase.INVALID_OPERATION;
/** @type {number} */
WebGLRenderingContextBase.OUT_OF_MEMORY;
/** @type {number} */
WebGLRenderingContextBase.CW;
/** @type {number} */
WebGLRenderingContextBase.CCW;
/** @type {number} */
WebGLRenderingContextBase.LINE_WIDTH;
/** @type {number} */
WebGLRenderingContextBase.ALIASED_POINT_SIZE_RANGE;
/** @type {number} */
WebGLRenderingContextBase.ALIASED_LINE_WIDTH_RANGE;
/** @type {number} */
WebGLRenderingContextBase.CULL_FACE_MODE;
/** @type {number} */
WebGLRenderingContextBase.FRONT_FACE;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_RANGE;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_CLEAR_VALUE;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_FUNC;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_CLEAR_VALUE;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_FUNC;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_FAIL;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_PASS_DEPTH_FAIL;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_PASS_DEPTH_PASS;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_REF;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_VALUE_MASK;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BACK_FUNC;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BACK_FAIL;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_FAIL;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_PASS;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BACK_REF;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BACK_VALUE_MASK;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BACK_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.VIEWPORT;
/** @type {number} */
WebGLRenderingContextBase.SCISSOR_BOX;
/** @type {number} */
WebGLRenderingContextBase.COLOR_CLEAR_VALUE;
/** @type {number} */
WebGLRenderingContextBase.COLOR_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.UNPACK_ALIGNMENT;
/** @type {number} */
WebGLRenderingContextBase.PACK_ALIGNMENT;
/** @type {number} */
WebGLRenderingContextBase.MAX_TEXTURE_SIZE;
/** @type {number} */
WebGLRenderingContextBase.MAX_VIEWPORT_DIMS;
/** @type {number} */
WebGLRenderingContextBase.SUBPIXEL_BITS;
/** @type {number} */
WebGLRenderingContextBase.RED_BITS;
/** @type {number} */
WebGLRenderingContextBase.GREEN_BITS;
/** @type {number} */
WebGLRenderingContextBase.BLUE_BITS;
/** @type {number} */
WebGLRenderingContextBase.ALPHA_BITS;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_BITS;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_BITS;
/** @type {number} */
WebGLRenderingContextBase.POLYGON_OFFSET_UNITS;
/** @type {number} */
WebGLRenderingContextBase.POLYGON_OFFSET_FACTOR;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_BINDING_2D;
/** @type {number} */
WebGLRenderingContextBase.SAMPLE_BUFFERS;
/** @type {number} */
WebGLRenderingContextBase.SAMPLES;
/** @type {number} */
WebGLRenderingContextBase.SAMPLE_COVERAGE_VALUE;
/** @type {number} */
WebGLRenderingContextBase.SAMPLE_COVERAGE_INVERT;
/** @type {number} */
WebGLRenderingContextBase.COMPRESSED_TEXTURE_FORMATS;
/** @type {number} */
WebGLRenderingContextBase.DONT_CARE;
/** @type {number} */
WebGLRenderingContextBase.FASTEST;
/** @type {number} */
WebGLRenderingContextBase.NICEST;
/** @type {number} */
WebGLRenderingContextBase.GENERATE_MIPMAP_HINT;
/** @type {number} */
WebGLRenderingContextBase.
BYTE;
/** @type {number} */
WebGLRenderingContextBase.UNSIGNED_BYTE;
/** @type {number} */
WebGLRenderingContextBase.
SHORT;
/** @type {number} */
WebGLRenderingContextBase.UNSIGNED_SHORT;
/** @type {number} */
WebGLRenderingContextBase.
INT;
/** @type {number} */
WebGLRenderingContextBase.UNSIGNED_INT;
/** @type {number} */
WebGLRenderingContextBase.
FLOAT;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_COMPONENT;
/** @type {number} */
WebGLRenderingContextBase.ALPHA;
/** @type {number} */
WebGLRenderingContextBase.RGB;
/** @type {number} */
WebGLRenderingContextBase.RGBA;
/** @type {number} */
WebGLRenderingContextBase.LUMINANCE;
/** @type {number} */
WebGLRenderingContextBase.LUMINANCE_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.UNSIGNED_SHORT_4_4_4_4;
/** @type {number} */
WebGLRenderingContextBase.UNSIGNED_SHORT_5_5_5_1;
/** @type {number} */
WebGLRenderingContextBase.UNSIGNED_SHORT_5_6_5;
/** @type {number} */
WebGLRenderingContextBase.FRAGMENT_SHADER;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_SHADER;
/** @type {number} */
WebGLRenderingContextBase.MAX_VERTEX_ATTRIBS;
/** @type {number} */
WebGLRenderingContextBase.MAX_VERTEX_UNIFORM_VECTORS;
/** @type {number} */
WebGLRenderingContextBase.MAX_VARYING_VECTORS;
/** @type {number} */
WebGLRenderingContextBase.MAX_COMBINED_TEXTURE_IMAGE_UNITS;
/** @type {number} */
WebGLRenderingContextBase.MAX_VERTEX_TEXTURE_IMAGE_UNITS;
/** @type {number} */
WebGLRenderingContextBase.MAX_TEXTURE_IMAGE_UNITS;
/** @type {number} */
WebGLRenderingContextBase.MAX_FRAGMENT_UNIFORM_VECTORS;
/** @type {number} */
WebGLRenderingContextBase.SHADER_TYPE;
/** @type {number} */
WebGLRenderingContextBase.DELETE_STATUS;
/** @type {number} */
WebGLRenderingContextBase.LINK_STATUS;
/** @type {number} */
WebGLRenderingContextBase.VALIDATE_STATUS;
/** @type {number} */
WebGLRenderingContextBase.ATTACHED_SHADERS;
/** @type {number} */
WebGLRenderingContextBase.ACTIVE_UNIFORMS;
/** @type {number} */
WebGLRenderingContextBase.ACTIVE_ATTRIBUTES;
/** @type {number} */
WebGLRenderingContextBase.SHADING_LANGUAGE_VERSION;
/** @type {number} */
WebGLRenderingContextBase.CURRENT_PROGRAM;
/** @type {number} */
WebGLRenderingContextBase.NEVER;
/** @type {number} */
WebGLRenderingContextBase.LESS;
/** @type {number} */
WebGLRenderingContextBase.EQUAL;
/** @type {number} */
WebGLRenderingContextBase.LEQUAL;
/** @type {number} */
WebGLRenderingContextBase.GREATER;
/** @type {number} */
WebGLRenderingContextBase.NOTEQUAL;
/** @type {number} */
WebGLRenderingContextBase.GEQUAL;
/** @type {number} */
WebGLRenderingContextBase.ALWAYS;
/** @type {number} */
WebGLRenderingContextBase.KEEP;
/** @type {number} */
WebGLRenderingContextBase.REPLACE;
/** @type {number} */
WebGLRenderingContextBase.INCR;
/** @type {number} */
WebGLRenderingContextBase.DECR;
/** @type {number} */
WebGLRenderingContextBase.INVERT;
/** @type {number} */
WebGLRenderingContextBase.INCR_WRAP;
/** @type {number} */
WebGLRenderingContextBase.DECR_WRAP;
/** @type {number} */
WebGLRenderingContextBase.VENDOR;
/** @type {number} */
WebGLRenderingContextBase.RENDERER;
/** @type {number} */
WebGLRenderingContextBase.VERSION;
/** @type {number} */
WebGLRenderingContextBase.NEAREST;
/** @type {number} */
WebGLRenderingContextBase.LINEAR;
/** @type {number} */
WebGLRenderingContextBase.NEAREST_MIPMAP_NEAREST;
/** @type {number} */
WebGLRenderingContextBase.LINEAR_MIPMAP_NEAREST;
/** @type {number} */
WebGLRenderingContextBase.NEAREST_MIPMAP_LINEAR;
/** @type {number} */
WebGLRenderingContextBase.LINEAR_MIPMAP_LINEAR;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_MAG_FILTER;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_MIN_FILTER;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_WRAP_S;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_WRAP_T;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_2D;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_CUBE_MAP;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_BINDING_CUBE_MAP;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_X;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_X;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Y;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Y;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Z;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Z;
/** @type {number} */
WebGLRenderingContextBase.MAX_CUBE_MAP_TEXTURE_SIZE;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE0;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE1;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE2;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE3;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE4;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE5;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE6;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE7;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE8;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE9;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE10;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE11;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE12;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE13;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE14;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE15;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE16;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE17;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE18;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE19;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE20;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE21;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE22;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE23;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE24;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE25;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE26;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE27;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE28;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE29;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE30;
/** @type {number} */
WebGLRenderingContextBase.TEXTURE31;
/** @type {number} */
WebGLRenderingContextBase.ACTIVE_TEXTURE;
/** @type {number} */
WebGLRenderingContextBase.REPEAT;
/** @type {number} */
WebGLRenderingContextBase.CLAMP_TO_EDGE;
/** @type {number} */
WebGLRenderingContextBase.MIRRORED_REPEAT;
/** @type {number} */
WebGLRenderingContextBase.FLOAT_VEC2;
/** @type {number} */
WebGLRenderingContextBase.FLOAT_VEC3;
/** @type {number} */
WebGLRenderingContextBase.FLOAT_VEC4;
/** @type {number} */
WebGLRenderingContextBase.INT_VEC2;
/** @type {number} */
WebGLRenderingContextBase.INT_VEC3;
/** @type {number} */
WebGLRenderingContextBase.INT_VEC4;
/** @type {number} */
WebGLRenderingContextBase.BOOL;
/** @type {number} */
WebGLRenderingContextBase.BOOL_VEC2;
/** @type {number} */
WebGLRenderingContextBase.BOOL_VEC3;
/** @type {number} */
WebGLRenderingContextBase.BOOL_VEC4;
/** @type {number} */
WebGLRenderingContextBase.FLOAT_MAT2;
/** @type {number} */
WebGLRenderingContextBase.FLOAT_MAT3;
/** @type {number} */
WebGLRenderingContextBase.FLOAT_MAT4;
/** @type {number} */
WebGLRenderingContextBase.SAMPLER_2D;
/** @type {number} */
WebGLRenderingContextBase.SAMPLER_CUBE;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_ENABLED;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_SIZE;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_STRIDE;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_TYPE;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_NORMALIZED;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_POINTER;
/** @type {number} */
WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_TYPE;
/** @type {number} */
WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_FORMAT;
/** @type {number} */
WebGLRenderingContextBase.COMPILE_STATUS;
/** @type {number} */
WebGLRenderingContextBase.LOW_FLOAT;
/** @type {number} */
WebGLRenderingContextBase.MEDIUM_FLOAT;
/** @type {number} */
WebGLRenderingContextBase.HIGH_FLOAT;
/** @type {number} */
WebGLRenderingContextBase.LOW_INT;
/** @type {number} */
WebGLRenderingContextBase.MEDIUM_INT;
/** @type {number} */
WebGLRenderingContextBase.HIGH_INT;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER;
/** @type {number} */
WebGLRenderingContextBase.RGBA4;
/** @type {number} */
WebGLRenderingContextBase.RGB5_A1;
/** @type {number} */
WebGLRenderingContextBase.RGB565;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_COMPONENT16;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_INDEX;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_INDEX8;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_STENCIL;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_WIDTH;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_HEIGHT;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_INTERNAL_FORMAT;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_RED_SIZE;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_GREEN_SIZE;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_BLUE_SIZE;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_ALPHA_SIZE;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_DEPTH_SIZE;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_STENCIL_SIZE;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
/** @type {number} */
WebGLRenderingContextBase.COLOR_ATTACHMENT0;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.STENCIL_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.DEPTH_STENCIL_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.NONE;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_COMPLETE;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_UNSUPPORTED;
/** @type {number} */
WebGLRenderingContextBase.FRAMEBUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.RENDERBUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.MAX_RENDERBUFFER_SIZE;
/** @type {number} */
WebGLRenderingContextBase.INVALID_FRAMEBUFFER_OPERATION;
/** @type {number} */
WebGLRenderingContextBase.UNPACK_FLIP_Y_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.UNPACK_PREMULTIPLY_ALPHA_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.CONTEXT_LOST_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.UNPACK_COLORSPACE_CONVERSION_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.BROWSER_DEFAULT_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_BUFFER_BIT;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BUFFER_BIT;
/** @type {number} */
WebGLRenderingContextBase.prototype.COLOR_BUFFER_BIT;
/** @type {number} */
WebGLRenderingContextBase.prototype.POINTS;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINES;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINE_LOOP;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINE_STRIP;
/** @type {number} */
WebGLRenderingContextBase.prototype.TRIANGLES;
/** @type {number} */
WebGLRenderingContextBase.prototype.TRIANGLE_STRIP;
/** @type {number} */
WebGLRenderingContextBase.prototype.TRIANGLE_FAN;
/** @type {number} */
WebGLRenderingContextBase.prototype.ZERO;
/** @type {number} */
WebGLRenderingContextBase.prototype.ONE;
/** @type {number} */
WebGLRenderingContextBase.prototype.SRC_COLOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.ONE_MINUS_SRC_COLOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.SRC_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.ONE_MINUS_SRC_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.DST_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.ONE_MINUS_DST_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.DST_COLOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.ONE_MINUS_DST_COLOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.SRC_ALPHA_SATURATE;
/** @type {number} */
WebGLRenderingContextBase.prototype.FUNC_ADD;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_EQUATION;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_EQUATION_RGB;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_EQUATION_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.FUNC_SUBTRACT;
/** @type {number} */
WebGLRenderingContextBase.prototype.FUNC_REVERSE_SUBTRACT;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_DST_RGB;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_SRC_RGB;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_DST_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_SRC_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.CONSTANT_COLOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.ONE_MINUS_CONSTANT_COLOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.CONSTANT_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.ONE_MINUS_CONSTANT_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND_COLOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.ARRAY_BUFFER;
/** @type {number} */
WebGLRenderingContextBase.prototype.ELEMENT_ARRAY_BUFFER;
/** @type {number} */
WebGLRenderingContextBase.prototype.ARRAY_BUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.prototype.ELEMENT_ARRAY_BUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.prototype.STREAM_DRAW;
/** @type {number} */
WebGLRenderingContextBase.prototype.STATIC_DRAW;
/** @type {number} */
WebGLRenderingContextBase.prototype.DYNAMIC_DRAW;
/** @type {number} */
WebGLRenderingContextBase.prototype.BUFFER_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.BUFFER_USAGE;
/** @type {number} */
WebGLRenderingContextBase.prototype.CURRENT_VERTEX_ATTRIB;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRONT;
/** @type {number} */
WebGLRenderingContextBase.prototype.BACK;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRONT_AND_BACK;
/** @type {number} */
WebGLRenderingContextBase.prototype.CULL_FACE;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLEND;
/** @type {number} */
WebGLRenderingContextBase.prototype.DITHER;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_TEST;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_TEST;
/** @type {number} */
WebGLRenderingContextBase.prototype.SCISSOR_TEST;
/** @type {number} */
WebGLRenderingContextBase.prototype.POLYGON_OFFSET_FILL;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLE_ALPHA_TO_COVERAGE;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLE_COVERAGE;
/** @type {number} */
WebGLRenderingContextBase.prototype.NO_ERROR;
/** @type {number} */
WebGLRenderingContextBase.prototype.INVALID_ENUM;
/** @type {number} */
WebGLRenderingContextBase.prototype.INVALID_VALUE;
/** @type {number} */
WebGLRenderingContextBase.prototype.INVALID_OPERATION;
/** @type {number} */
WebGLRenderingContextBase.prototype.OUT_OF_MEMORY;
/** @type {number} */
WebGLRenderingContextBase.prototype.CW;
/** @type {number} */
WebGLRenderingContextBase.prototype.CCW;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINE_WIDTH;
/** @type {number} */
WebGLRenderingContextBase.prototype.ALIASED_POINT_SIZE_RANGE;
/** @type {number} */
WebGLRenderingContextBase.prototype.ALIASED_LINE_WIDTH_RANGE;
/** @type {number} */
WebGLRenderingContextBase.prototype.CULL_FACE_MODE;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRONT_FACE;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_RANGE;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_CLEAR_VALUE;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_FUNC;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_CLEAR_VALUE;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_FUNC;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_FAIL;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_PASS_DEPTH_FAIL;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_PASS_DEPTH_PASS;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_REF;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_VALUE_MASK;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BACK_FUNC;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BACK_FAIL;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BACK_PASS_DEPTH_FAIL;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BACK_PASS_DEPTH_PASS;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BACK_REF;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BACK_VALUE_MASK;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BACK_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.prototype.VIEWPORT;
/** @type {number} */
WebGLRenderingContextBase.prototype.SCISSOR_BOX;
/** @type {number} */
WebGLRenderingContextBase.prototype.COLOR_CLEAR_VALUE;
/** @type {number} */
WebGLRenderingContextBase.prototype.COLOR_WRITEMASK;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNPACK_ALIGNMENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.PACK_ALIGNMENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_TEXTURE_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_VIEWPORT_DIMS;
/** @type {number} */
WebGLRenderingContextBase.prototype.SUBPIXEL_BITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.RED_BITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.GREEN_BITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.BLUE_BITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.ALPHA_BITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_BITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_BITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.POLYGON_OFFSET_UNITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.POLYGON_OFFSET_FACTOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_BINDING_2D;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLE_BUFFERS;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLES;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLE_COVERAGE_VALUE;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLE_COVERAGE_INVERT;
/** @type {number} */
WebGLRenderingContextBase.prototype.COMPRESSED_TEXTURE_FORMATS;
/** @type {number} */
WebGLRenderingContextBase.prototype.DONT_CARE;
/** @type {number} */
WebGLRenderingContextBase.prototype.FASTEST;
/** @type {number} */
WebGLRenderingContextBase.prototype.NICEST;
/** @type {number} */
WebGLRenderingContextBase.prototype.GENERATE_MIPMAP_HINT;
/** @type {number} */
WebGLRenderingContextBase.prototype.
BYTE;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNSIGNED_BYTE;
/** @type {number} */
WebGLRenderingContextBase.prototype.
SHORT;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNSIGNED_SHORT;
/** @type {number} */
WebGLRenderingContextBase.prototype.
INT;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNSIGNED_INT;
/** @type {number} */
WebGLRenderingContextBase.prototype.
FLOAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_COMPONENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.RGB;
/** @type {number} */
WebGLRenderingContextBase.prototype.RGBA;
/** @type {number} */
WebGLRenderingContextBase.prototype.LUMINANCE;
/** @type {number} */
WebGLRenderingContextBase.prototype.LUMINANCE_ALPHA;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNSIGNED_SHORT_4_4_4_4;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNSIGNED_SHORT_5_5_5_1;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNSIGNED_SHORT_5_6_5;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAGMENT_SHADER;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_SHADER;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_VERTEX_ATTRIBS;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_VERTEX_UNIFORM_VECTORS;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_VARYING_VECTORS;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_COMBINED_TEXTURE_IMAGE_UNITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_VERTEX_TEXTURE_IMAGE_UNITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_TEXTURE_IMAGE_UNITS;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_FRAGMENT_UNIFORM_VECTORS;
/** @type {number} */
WebGLRenderingContextBase.prototype.SHADER_TYPE;
/** @type {number} */
WebGLRenderingContextBase.prototype.DELETE_STATUS;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINK_STATUS;
/** @type {number} */
WebGLRenderingContextBase.prototype.VALIDATE_STATUS;
/** @type {number} */
WebGLRenderingContextBase.prototype.ATTACHED_SHADERS;
/** @type {number} */
WebGLRenderingContextBase.prototype.ACTIVE_UNIFORMS;
/** @type {number} */
WebGLRenderingContextBase.prototype.ACTIVE_ATTRIBUTES;
/** @type {number} */
WebGLRenderingContextBase.prototype.SHADING_LANGUAGE_VERSION;
/** @type {number} */
WebGLRenderingContextBase.prototype.CURRENT_PROGRAM;
/** @type {number} */
WebGLRenderingContextBase.prototype.NEVER;
/** @type {number} */
WebGLRenderingContextBase.prototype.LESS;
/** @type {number} */
WebGLRenderingContextBase.prototype.EQUAL;
/** @type {number} */
WebGLRenderingContextBase.prototype.LEQUAL;
/** @type {number} */
WebGLRenderingContextBase.prototype.GREATER;
/** @type {number} */
WebGLRenderingContextBase.prototype.NOTEQUAL;
/** @type {number} */
WebGLRenderingContextBase.prototype.GEQUAL;
/** @type {number} */
WebGLRenderingContextBase.prototype.ALWAYS;
/** @type {number} */
WebGLRenderingContextBase.prototype.KEEP;
/** @type {number} */
WebGLRenderingContextBase.prototype.REPLACE;
/** @type {number} */
WebGLRenderingContextBase.prototype.INCR;
/** @type {number} */
WebGLRenderingContextBase.prototype.DECR;
/** @type {number} */
WebGLRenderingContextBase.prototype.INVERT;
/** @type {number} */
WebGLRenderingContextBase.prototype.INCR_WRAP;
/** @type {number} */
WebGLRenderingContextBase.prototype.DECR_WRAP;
/** @type {number} */
WebGLRenderingContextBase.prototype.VENDOR;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERER;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERSION;
/** @type {number} */
WebGLRenderingContextBase.prototype.NEAREST;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINEAR;
/** @type {number} */
WebGLRenderingContextBase.prototype.NEAREST_MIPMAP_NEAREST;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINEAR_MIPMAP_NEAREST;
/** @type {number} */
WebGLRenderingContextBase.prototype.NEAREST_MIPMAP_LINEAR;
/** @type {number} */
WebGLRenderingContextBase.prototype.LINEAR_MIPMAP_LINEAR;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_MAG_FILTER;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_MIN_FILTER;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_WRAP_S;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_WRAP_T;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_2D;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_CUBE_MAP;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_BINDING_CUBE_MAP;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_CUBE_MAP_POSITIVE_X;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_CUBE_MAP_NEGATIVE_X;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_CUBE_MAP_POSITIVE_Y;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_CUBE_MAP_NEGATIVE_Y;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_CUBE_MAP_POSITIVE_Z;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE_CUBE_MAP_NEGATIVE_Z;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_CUBE_MAP_TEXTURE_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE0;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE1;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE2;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE3;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE4;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE5;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE6;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE7;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE8;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE9;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE10;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE11;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE12;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE13;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE14;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE15;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE16;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE17;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE18;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE19;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE20;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE21;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE22;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE23;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE24;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE25;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE26;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE27;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE28;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE29;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE30;
/** @type {number} */
WebGLRenderingContextBase.prototype.TEXTURE31;
/** @type {number} */
WebGLRenderingContextBase.prototype.ACTIVE_TEXTURE;
/** @type {number} */
WebGLRenderingContextBase.prototype.REPEAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.CLAMP_TO_EDGE;
/** @type {number} */
WebGLRenderingContextBase.prototype.MIRRORED_REPEAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.FLOAT_VEC2;
/** @type {number} */
WebGLRenderingContextBase.prototype.FLOAT_VEC3;
/** @type {number} */
WebGLRenderingContextBase.prototype.FLOAT_VEC4;
/** @type {number} */
WebGLRenderingContextBase.prototype.INT_VEC2;
/** @type {number} */
WebGLRenderingContextBase.prototype.INT_VEC3;
/** @type {number} */
WebGLRenderingContextBase.prototype.INT_VEC4;
/** @type {number} */
WebGLRenderingContextBase.prototype.BOOL;
/** @type {number} */
WebGLRenderingContextBase.prototype.BOOL_VEC2;
/** @type {number} */
WebGLRenderingContextBase.prototype.BOOL_VEC3;
/** @type {number} */
WebGLRenderingContextBase.prototype.BOOL_VEC4;
/** @type {number} */
WebGLRenderingContextBase.prototype.FLOAT_MAT2;
/** @type {number} */
WebGLRenderingContextBase.prototype.FLOAT_MAT3;
/** @type {number} */
WebGLRenderingContextBase.prototype.FLOAT_MAT4;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLER_2D;
/** @type {number} */
WebGLRenderingContextBase.prototype.SAMPLER_CUBE;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_ATTRIB_ARRAY_ENABLED;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_ATTRIB_ARRAY_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_ATTRIB_ARRAY_STRIDE;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_ATTRIB_ARRAY_TYPE;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_ATTRIB_ARRAY_NORMALIZED;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_ATTRIB_ARRAY_POINTER;
/** @type {number} */
WebGLRenderingContextBase.prototype.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.prototype.IMPLEMENTATION_COLOR_READ_TYPE;
/** @type {number} */
WebGLRenderingContextBase.prototype.IMPLEMENTATION_COLOR_READ_FORMAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.COMPILE_STATUS;
/** @type {number} */
WebGLRenderingContextBase.prototype.LOW_FLOAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.MEDIUM_FLOAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.HIGH_FLOAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.LOW_INT;
/** @type {number} */
WebGLRenderingContextBase.prototype.MEDIUM_INT;
/** @type {number} */
WebGLRenderingContextBase.prototype.HIGH_INT;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER;
/** @type {number} */
WebGLRenderingContextBase.prototype.RGBA4;
/** @type {number} */
WebGLRenderingContextBase.prototype.RGB5_A1;
/** @type {number} */
WebGLRenderingContextBase.prototype.RGB565;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_COMPONENT16;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_INDEX;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_INDEX8;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_STENCIL;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_WIDTH;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_HEIGHT;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_INTERNAL_FORMAT;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_RED_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_GREEN_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_BLUE_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_ALPHA_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_DEPTH_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_STENCIL_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
;
/** @type {number} */
WebGLRenderingContextBase.prototype.COLOR_ATTACHMENT0;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.STENCIL_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.DEPTH_STENCIL_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.NONE;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_COMPLETE;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_UNSUPPORTED;
/** @type {number} */
WebGLRenderingContextBase.prototype.FRAMEBUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.prototype.RENDERBUFFER_BINDING;
/** @type {number} */
WebGLRenderingContextBase.prototype.MAX_RENDERBUFFER_SIZE;
/** @type {number} */
WebGLRenderingContextBase.prototype.INVALID_FRAMEBUFFER_OPERATION;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNPACK_FLIP_Y_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNPACK_PREMULTIPLY_ALPHA_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.prototype.CONTEXT_LOST_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.prototype.UNPACK_COLORSPACE_CONVERSION_WEBGL;
/** @type {number} */
WebGLRenderingContextBase.prototype.BROWSER_DEFAULT_WEBGL;
/**
* @type {!HTMLCanvasElement}
*/
WebGLRenderingContextBase.prototype.canvas;
/**
* @type {number}
*/
WebGLRenderingContextBase.prototype.drawingBufferWidth;
/**
* @type {number}
*/
WebGLRenderingContextBase.prototype.drawingBufferHeight;
/**
* @return {!WebGLContextAttributes}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getContextAttributes = function() {};
/**
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isContextLost = function() {};
/**
* @return {!Array.<string>}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getSupportedExtensions = function() {};
/**
* Note that this has side effects by enabling the extension even if the
* result is not used.
* @param {string} name
* @return {Object}
*/
WebGLRenderingContextBase.prototype.getExtension = function(name) {};
/**
* @param {number} texture
*/
WebGLRenderingContextBase.prototype.activeTexture = function(texture) {};
/**
* @param {WebGLProgram} program
* @param {WebGLShader} shader
*/
WebGLRenderingContextBase.prototype.attachShader = function(program, shader) {};
/**
* @param {WebGLProgram} program
* @param {number} index
* @param {string} name
*/
WebGLRenderingContextBase.prototype.bindAttribLocation = function(
program, index, name) {};
/**
* @param {number} target
* @param {WebGLBuffer} buffer
*/
WebGLRenderingContextBase.prototype.bindBuffer = function(target, buffer) {};
/**
* @param {number} target
* @param {WebGLFramebuffer} buffer
*/
WebGLRenderingContextBase.prototype.bindFramebuffer = function(target, buffer) {};
/**
* @param {number} target
* @param {WebGLRenderbuffer} buffer
*/
WebGLRenderingContextBase.prototype.bindRenderbuffer = function(target, buffer) {};
/**
* @param {number} target
* @param {WebGLTexture} texture
*/
WebGLRenderingContextBase.prototype.bindTexture = function(target, texture) {};
/**
* @param {number} red
* @param {number} green
* @param {number} blue
* @param {number} alpha
*/
WebGLRenderingContextBase.prototype.blendColor = function(
red, blue, green, alpha) {};
/**
* @param {number} mode
*/
WebGLRenderingContextBase.prototype.blendEquation = function(mode) {};
/**
* @param {number} modeRGB
* @param {number} modeAlpha
*/
WebGLRenderingContextBase.prototype.blendEquationSeparate = function(
modeRGB, modeAlpha) {};
/**
* @param {number} sfactor
* @param {number} dfactor
*/
WebGLRenderingContextBase.prototype.blendFunc = function(sfactor, dfactor) {};
/**
* @param {number} srcRGB
* @param {number} dstRGB
* @param {number} srcAlpha
* @param {number} dstAlpha
*/
WebGLRenderingContextBase.prototype.blendFuncSeparate = function(
srcRGB, dstRGB, srcAlpha, dstAlpha) {};
/**
* @param {number} target
* @param {ArrayBufferView|ArrayBuffer|number} data
* @param {number} usage
*/
WebGLRenderingContextBase.prototype.bufferData = function(target, data, usage) {};
/**
* @param {number} target
* @param {number} offset
* @param {ArrayBufferView|ArrayBuffer} data
*/
WebGLRenderingContextBase.prototype.bufferSubData = function(
target, offset, data) {};
/**
* @param {number} target
* @return {number}
*/
WebGLRenderingContextBase.prototype.checkFramebufferStatus = function(target) {};
/**
* @param {number} mask
*/
WebGLRenderingContextBase.prototype.clear = function(mask) {};
/**
* @param {number} red
* @param {number} green
* @param {number} blue
* @param {number} alpha
*/
WebGLRenderingContextBase.prototype.clearColor = function(
red, green, blue, alpha) {};
/**
* @param {number} depth
*/
WebGLRenderingContextBase.prototype.clearDepth = function(depth) {};
/**
* @param {number} s
*/
WebGLRenderingContextBase.prototype.clearStencil = function(s) {};
/**
* @param {boolean} red
* @param {boolean} green
* @param {boolean} blue
* @param {boolean} alpha
*/
WebGLRenderingContextBase.prototype.colorMask = function(
red, green, blue, alpha) {};
/**
* @param {WebGLShader} shader
*/
WebGLRenderingContextBase.prototype.compileShader = function(shader) {};
/**
* @param {number} target
* @param {number} level
* @param {number} internalformat
* @param {number} width
* @param {number} height
* @param {number} border
* @param {ArrayBufferView} data
*/
WebGLRenderingContextBase.prototype.compressedTexImage2D = function(
target, level, internalformat, width, height, border, data) {};
/**
* @param {number} target
* @param {number} level
* @param {number} xoffset
* @param {number} yoffset
* @param {number} width
* @param {number} height
* @param {number} format
* @param {ArrayBufferView} data
*/
WebGLRenderingContextBase.prototype.compressedTexSubImage2D = function(
target, level, xoffset, yoffset, width, height, format, data) {};
/**
* @param {number} target
* @param {number} level
* @param {number} format
* @param {number} x
* @param {number} y
* @param {number} width
* @param {number} height
* @param {number} border
*/
WebGLRenderingContextBase.prototype.copyTexImage2D = function(
target, level, format, x, y, width, height, border) {};
/**
* @param {number} target
* @param {number} level
* @param {number} xoffset
* @param {number} yoffset
* @param {number} x
* @param {number} y
* @param {number} width
* @param {number} height
*/
WebGLRenderingContextBase.prototype.copyTexSubImage2D = function(
target, level, xoffset, yoffset, x, y, width, height) {};
/**
* @return {!WebGLBuffer}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.createBuffer = function() {};
/**
* @return {!WebGLFramebuffer}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.createFramebuffer = function() {};
/**
* @return {!WebGLProgram}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.createProgram = function() {};
/**
* @return {!WebGLRenderbuffer}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.createRenderbuffer = function() {};
/**
* @param {number} type
* @return {!WebGLShader}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.createShader = function(type) {};
/**
* @return {!WebGLTexture}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.createTexture = function() {};
/**
* @param {number} mode
*/
WebGLRenderingContextBase.prototype.cullFace = function(mode) {};
/**
* @param {WebGLBuffer} buffer
*/
WebGLRenderingContextBase.prototype.deleteBuffer = function(buffer) {};
/**
* @param {WebGLFramebuffer} buffer
*/
WebGLRenderingContextBase.prototype.deleteFramebuffer = function(buffer) {};
/**
* @param {WebGLProgram} program
*/
WebGLRenderingContextBase.prototype.deleteProgram = function(program) {};
/**
* @param {WebGLRenderbuffer} buffer
*/
WebGLRenderingContextBase.prototype.deleteRenderbuffer = function(buffer) {};
/**
* @param {WebGLShader} shader
*/
WebGLRenderingContextBase.prototype.deleteShader = function(shader) {};
/**
* @param {WebGLTexture} texture
*/
WebGLRenderingContextBase.prototype.deleteTexture = function(texture) {};
/**
* @param {number} func
*/
WebGLRenderingContextBase.prototype.depthFunc = function(func) {};
/**
* @param {boolean} flag
*/
WebGLRenderingContextBase.prototype.depthMask = function(flag) {};
/**
* @param {number} nearVal
* @param {number} farVal
*/
WebGLRenderingContextBase.prototype.depthRange = function(nearVal, farVal) {};
/**
* @param {WebGLProgram} program
* @param {WebGLShader} shader
*/
WebGLRenderingContextBase.prototype.detachShader = function(program, shader) {};
/**
* @param {number} flags
*/
WebGLRenderingContextBase.prototype.disable = function(flags) {};
/**
* @param {number} index
*/
WebGLRenderingContextBase.prototype.disableVertexAttribArray = function(
index) {};
/**
* @param {number} mode
* @param {number} first
* @param {number} count
*/
WebGLRenderingContextBase.prototype.drawArrays = function(mode, first, count) {};
/**
* @param {number} mode
* @param {number} count
* @param {number} type
* @param {number} offset
*/
WebGLRenderingContextBase.prototype.drawElements = function(
mode, count, type, offset) {};
/**
* @param {number} cap
*/
WebGLRenderingContextBase.prototype.enable = function(cap) {};
/**
* @param {number} index
*/
WebGLRenderingContextBase.prototype.enableVertexAttribArray = function(
index) {};
WebGLRenderingContextBase.prototype.finish = function() {};
WebGLRenderingContextBase.prototype.flush = function() {};
/**
* @param {number} target
* @param {number} attachment
* @param {number} renderbuffertarget
* @param {WebGLRenderbuffer} renderbuffer
*/
WebGLRenderingContextBase.prototype.framebufferRenderbuffer = function(
target, attachment, renderbuffertarget, renderbuffer) {};
/**
* @param {number} target
* @param {number} attachment
* @param {number} textarget
* @param {WebGLTexture} texture
* @param {number} level
*/
WebGLRenderingContextBase.prototype.framebufferTexture2D = function(
target, attachment, textarget, texture, level) {};
/**
* @param {number} mode
*/
WebGLRenderingContextBase.prototype.frontFace = function(mode) {};
/**
* @param {number} target
*/
WebGLRenderingContextBase.prototype.generateMipmap = function(target) {};
/**
* @param {WebGLProgram} program
* @param {number} index
* @return {WebGLActiveInfo}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getActiveAttrib = function(program, index) {};
/**
* @param {WebGLProgram} program
* @param {number} index
* @return {WebGLActiveInfo}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getActiveUniform = function(program, index) {};
/**
* @param {WebGLProgram} program
* @return {!Array.<WebGLShader>}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getAttachedShaders = function(program) {};
/**
* @param {WebGLProgram} program
* @param {string} name
* @return {number}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getAttribLocation = function(program, name) {};
/**
* @param {number} target
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getBufferParameter = function(target, pname) {};
/**
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getParameter = function(pname) {};
/**
* @return {number}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getError = function() {};
/**
* @param {number} target
* @param {number} attachment
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getFramebufferAttachmentParameter = function(
target, attachment, pname) {};
/**
* @param {WebGLProgram} program
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getProgramParameter = function(
program, pname) {};
/**
* @param {WebGLProgram} program
* @return {string}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getProgramInfoLog = function(program) {};
/**
* @param {number} target
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getRenderbufferParameter = function(
target, pname) {};
/**
* @param {WebGLShader} shader
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getShaderParameter = function(shader, pname) {};
/**
* @param {number} shadertype
* @param {number} precisiontype
* @return {WebGLShaderPrecisionFormat}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getShaderPrecisionFormat = function(shadertype,
precisiontype) {};
/**
* @param {WebGLShader} shader
* @return {string}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getShaderInfoLog = function(shader) {};
/**
* @param {WebGLShader} shader
* @return {string}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getShaderSource = function(shader) {};
/**
* @param {number} target
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getTexParameter = function(target, pname) {};
/**
* @param {WebGLProgram} program
* @param {WebGLUniformLocation} location
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getUniform = function(program, location) {};
/**
* @param {WebGLProgram} program
* @param {string} name
* @return {WebGLUniformLocation}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getUniformLocation = function(program, name) {};
/**
* @param {number} index
* @param {number} pname
* @return {*}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getVertexAttrib = function(index, pname) {};
/**
* @param {number} index
* @param {number} pname
* @return {number}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.getVertexAttribOffset = function(
index, pname) {};
/**
* @param {number} target
* @param {number} mode
*/
WebGLRenderingContextBase.prototype.hint = function(target, mode) {};
/**
* @param {WebGLObject} buffer
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isBuffer = function(buffer) {};
/**
* @param {number} cap
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isEnabled = function(cap) {};
/**
* @param {WebGLObject} framebuffer
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isFramebuffer = function(framebuffer) {};
/**
* @param {WebGLObject} program
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isProgram = function(program) {};
/**
* @param {WebGLObject} renderbuffer
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isRenderbuffer = function(renderbuffer) {};
/**
* @param {WebGLObject} shader
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isShader = function(shader) {};
/**
* @param {WebGLObject} texture
* @return {boolean}
* @nosideeffects
*/
WebGLRenderingContextBase.prototype.isTexture = function(texture) {};
/**
* @param {number} width
*/
WebGLRenderingContextBase.prototype.lineWidth = function(width) {};
/**
* @param {WebGLProgram} program
*/
WebGLRenderingContextBase.prototype.linkProgram = function(program) {};
/**
* @param {number} pname
* @param {number} param
*/
WebGLRenderingContextBase.prototype.pixelStorei = function(pname, param) {};
/**
* @param {number} factor
* @param {number} units
*/
WebGLRenderingContextBase.prototype.polygonOffset = function(factor, units) {};
/**
* @param {number} x
* @param {number} y
* @param {number} width
* @param {number} height
* @param {number} format
* @param {number} type
* @param {ArrayBufferView} pixels
*/
WebGLRenderingContextBase.prototype.readPixels = function(
x, y, width, height, format, type, pixels) {};
/**
* @param {number} target
* @param {number} internalformat
* @param {number} width
* @param {number} height
*/
WebGLRenderingContextBase.prototype.renderbufferStorage = function(
target, internalformat, width, height) {};
/**
* @param {number} coverage
* @param {boolean} invert
*/
WebGLRenderingContextBase.prototype.sampleCoverage = function(coverage, invert) {};
/**
* @param {number} x
* @param {number} y
* @param {number} width
* @param {number} height
*/
WebGLRenderingContextBase.prototype.scissor = function(x, y, width, height) {};
/**
* @param {WebGLShader} shader
* @param {string} source
*/
WebGLRenderingContextBase.prototype.shaderSource = function(shader, source) {};
/**
* @param {number} func
* @param {number} ref
* @param {number} mask
*/
WebGLRenderingContextBase.prototype.stencilFunc = function(func, ref, mask) {};
/**
* @param {number} face
* @param {number} func
* @param {number} ref
* @param {number} mask
*/
WebGLRenderingContextBase.prototype.stencilFuncSeparate = function(
face, func, ref, mask) {};
/**
* @param {number} mask
*/
WebGLRenderingContextBase.prototype.stencilMask = function(mask) {};
/**
* @param {number} face
* @param {number} mask
*/
WebGLRenderingContextBase.prototype.stencilMaskSeparate = function(face, mask) {};
/**
* @param {number} fail
* @param {number} zfail
* @param {number} zpass
*/
WebGLRenderingContextBase.prototype.stencilOp = function(fail, zfail, zpass) {};
/**
* @param {number} face
* @param {number} fail
* @param {number} zfail
* @param {number} zpass
*/
WebGLRenderingContextBase.prototype.stencilOpSeparate = function(
face, fail, zfail, zpass) {};
/**
* @param {number} target
* @param {number} level
* @param {number} internalformat
* @param {number} format or width
* @param {number} type or height
* @param {ImageData|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement|
* number} img or border
* @param {number=} opt_format
* @param {number=} opt_type
* @param {ArrayBufferView=} opt_pixels
*/
WebGLRenderingContextBase.prototype.texImage2D = function(
target, level, internalformat, format, type, img, opt_format, opt_type,
opt_pixels) {};
/**
* @param {number} target
* @param {number} pname
* @param {number} param
*/
WebGLRenderingContextBase.prototype.texParameterf = function(
target, pname, param) {};
/**
* @param {number} target
* @param {number} pname
* @param {number} param
*/
WebGLRenderingContextBase.prototype.texParameteri = function(
target, pname, param) {};
/**
* @param {number} target
* @param {number} level
* @param {number} xoffset
* @param {number} yoffset
* @param {number} format or width
* @param {number} type or height
* @param {ImageData|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement|
* number} data or format
* @param {number=} opt_type
* @param {ArrayBufferView=} opt_pixels
*/
WebGLRenderingContextBase.prototype.texSubImage2D = function(
target, level, xoffset, yoffset, format, type, data, opt_type,
opt_pixels) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value
*/
WebGLRenderingContextBase.prototype.uniform1f = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {Float32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform1fv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value
*/
WebGLRenderingContextBase.prototype.uniform1i = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {Int32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform1iv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value1
* @param {number} value2
*/
WebGLRenderingContextBase.prototype.uniform2f = function(
location, value1, value2) {};
/**
* @param {WebGLUniformLocation} location
* @param {Float32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform2fv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value1
* @param {number} value2
*/
WebGLRenderingContextBase.prototype.uniform2i = function(
location, value1, value2) {};
/**
* @param {WebGLUniformLocation} location
* @param {Int32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform2iv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value1
* @param {number} value2
* @param {number} value3
*/
WebGLRenderingContextBase.prototype.uniform3f = function(
location, value1, value2, value3) {};
/**
* @param {WebGLUniformLocation} location
* @param {Float32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform3fv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value1
* @param {number} value2
* @param {number} value3
*/
WebGLRenderingContextBase.prototype.uniform3i = function(
location, value1, value2, value3) {};
/**
* @param {WebGLUniformLocation} location
* @param {Int32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform3iv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value1
* @param {number} value2
* @param {number} value3
* @param {number} value4
*/
WebGLRenderingContextBase.prototype.uniform4f = function(
location, value1, value2, value3, value4) {};
/**
* @param {WebGLUniformLocation} location
* @param {Float32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform4fv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {number} value1
* @param {number} value2
* @param {number} value3
* @param {number} value4
*/
WebGLRenderingContextBase.prototype.uniform4i = function(
location, value1, value2, value3, value4) {};
/**
* @param {WebGLUniformLocation} location
* @param {Int32Array|Array.<number>} value
*/
WebGLRenderingContextBase.prototype.uniform4iv = function(location, value) {};
/**
* @param {WebGLUniformLocation} location
* @param {boolean} transpose
* @param {Float32Array|Array.<number>} data
*/
WebGLRenderingContextBase.prototype.uniformMatrix2fv = function(
location, transpose, data) {};
/**
* @param {WebGLUniformLocation} location
* @param {boolean} transpose
* @param {Float32Array|Array.<number>} data
*/
WebGLRenderingContextBase.prototype.uniformMatrix3fv = function(
location, transpose, data) {};
/**
* @param {WebGLUniformLocation} location
* @param {boolean} transpose
* @param {Float32Array|Array.<number>} data
*/
WebGLRenderingContextBase.prototype.uniformMatrix4fv = function(
location, transpose, data) {};
/**
* @param {WebGLProgram} program
*/
WebGLRenderingContextBase.prototype.useProgram = function(program) {};
/**
* @param {WebGLProgram} program
*/
WebGLRenderingContextBase.prototype.validateProgram = function(program) {};
/**
* @param {number} indx
* @param {number} x
*/
WebGLRenderingContextBase.prototype.vertexAttrib1f = function(indx, x) {};
/**
* @param {number} indx
--> --------------------
--> maximum size reached
--> --------------------