# class RenderingContext

#### package js.html.webgl

Available on HTML5

The WebGLRenderingContext interface provides the OpenGL ES 2.0 rendering context for the drawing surface of an HTML `canvas` element.

Documentation WebGLRenderingContext by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext

### Variables

###

`read onlycanvas:CanvasElement`

###

`read onlydrawingBufferHeight:Int`

###

`read onlydrawingBufferWidth:Int`

### Methods

###

`activeTexture (texture:Int):Void`

###

`attachShader (program:Program, shader:Shader):Void`

###

`bindAttribLocation (program:Program, index:Int, name:String):Void`

###

`bindBuffer (target:Int, buffer:Buffer):Void`

###

`bindFramebuffer (target:Int, framebuffer:Framebuffer):Void`

###

`bindRenderbuffer (target:Int, renderbuffer:Renderbuffer):Void`

###

`bindTexture (target:Int, texture:Texture):Void`

###

`blendColor (red:Float, green:Float, blue:Float, alpha:Float):Void`

###

`blendEquation (mode:Int):Void`

###

`blendEquationSeparate (modeRGB:Int, modeAlpha:Int):Void`

###

`blendFunc (sfactor:Int, dfactor:Int):Void`

###

`blendFuncSeparate (srcRGB:Int, dstRGB:Int, srcAlpha:Int, dstAlpha:Int):Void`

###

`bufferData (target:Int, data:Dynamic, usage:Int):Void`

`bufferData (target:Int, size:Int, usage:Int):Void`

`bufferData (target:Int, data:ArrayBufferView, usage:Int):Void`

`bufferData (target:Int, data:ArrayBuffer, usage:Int):Void`

###

`bufferSubData (target:Int, offset:Int, data:Dynamic):Void`

`bufferSubData (target:Int, offset:Int, data:ArrayBufferView):Void`

`bufferSubData (target:Int, offset:Int, data:ArrayBuffer):Void`

###

`checkFramebufferStatus (target:Int):Int`

###

`clear (mask:Int):Void`

###

`clearColor (red:Float, green:Float, blue:Float, alpha:Float):Void`

###

`clearDepth (depth:Float):Void`

###

`clearStencil (s:Int):Void`

###

`colorMask (red:Bool, green:Bool, blue:Bool, alpha:Bool):Void`

###

`compileShader (shader:Shader):Void`

###

`compressedTexImage2D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, data:ArrayBufferView):Void`

###

`compressedTexSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, data:ArrayBufferView):Void`

###

`copyTexImage2D (target:Int, level:Int, internalformat:Int, x:Int, y:Int, width:Int, height:Int, border:Int):Void`

###

`copyTexSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, x:Int, y:Int, width:Int, height:Int):Void`

###

`createBuffer ():Buffer`

###

`createFramebuffer ():Framebuffer`

###

`createProgram ():Program`

###

`createRenderbuffer ():Renderbuffer`

###

`createShader (type:Int):Shader`

###

`createTexture ():Texture`

###

`cullFace (mode:Int):Void`

###

`deleteBuffer (buffer:Buffer):Void`

###

`deleteFramebuffer (framebuffer:Framebuffer):Void`

###

`deleteProgram (program:Program):Void`

###

`deleteRenderbuffer (renderbuffer:Renderbuffer):Void`

###

`deleteShader (shader:Shader):Void`

###

`deleteTexture (texture:Texture):Void`

###

`depthFunc (func:Int):Void`

###

`depthMask (flag:Bool):Void`

###

`depthRange (zNear:Float, zFar:Float):Void`

###

`detachShader (program:Program, shader:Shader):Void`

###

`disable (cap:Int):Void`

###

`disableVertexAttribArray (index:Int):Void`

###

`drawArrays (mode:Int, first:Int, count:Int):Void`

###

`drawElements (mode:Int, count:Int, type:Int, offset:Int):Void`

###

`enable (cap:Int):Void`

###

`enableVertexAttribArray (index:Int):Void`

###

`finish ():Void`

###

`flush ():Void`

###

`framebufferRenderbuffer (target:Int, attachment:Int, renderbuffertarget:Int, renderbuffer:Renderbuffer):Void`

###

`framebufferTexture2D (target:Int, attachment:Int, textarget:Int, texture:Texture, level:Int):Void`

###

`frontFace (mode:Int):Void`

###

`generateMipmap (target:Int):Void`

###

`getActiveAttrib (program:Program, index:Int):ActiveInfo`

###

`getActiveUniform (program:Program, index:Int):ActiveInfo`

###

`getAttachedShaders (program:Program):Array<Shader>`

###

`getAttribLocation (program:Program, name:String):Int`

###

`getBufferParameter (target:Int, pname:Int):Dynamic`

###

`getContextAttributes ():ContextAttributes`

###

`getError ():Int`

###

`getExtension (name:String):Dynamic`

Throws:

`null` | DOMError

###

`getFramebufferAttachmentParameter (target:Int, attachment:Int, pname:Int):Dynamic`

Throws:

`null` | DOMError

###

`getParameter (pname:Int):Dynamic`

Throws:

`null` | DOMError

###

`getProgramInfoLog (program:Program):String`

###

`getProgramParameter (program:Program, pname:Int):Dynamic`

###

`getRenderbufferParameter (target:Int, pname:Int):Dynamic`

###

`getShaderInfoLog (shader:Shader):String`

###

`getShaderParameter (shader:Shader, pname:Int):Dynamic`

###

`getShaderPrecisionFormat (shadertype:Int, precisiontype:Int):ShaderPrecisionFormat`

###

`getShaderSource (shader:Shader):String`

###

`getSupportedExtensions ():Array<String>`

###

`getTexParameter (target:Int, pname:Int):Dynamic`

###

`getUniform (program:Program, location:UniformLocation):Dynamic`

###

`getUniformLocation (program:Program, name:String):UniformLocation`

###

`getVertexAttrib (index:Int, pname:Int):Dynamic`

Throws:

`null` | DOMError

###

`getVertexAttribOffset (index:Int, pname:Int):Int`

###

`hint (target:Int, mode:Int):Void`

###

`isBuffer (buffer:Buffer):Bool`

###

`isContextLost ():Bool`

###

`isEnabled (cap:Int):Bool`

###

`isFramebuffer (framebuffer:Framebuffer):Bool`

###

`isProgram (program:Program):Bool`

###

`isRenderbuffer (renderbuffer:Renderbuffer):Bool`

###

`isShader (shader:Shader):Bool`

###

`isTexture (texture:Texture):Bool`

###

`lineWidth (width:Float):Void`

###

`linkProgram (program:Program):Void`

###

`pixelStorei (pname:Int, param:Int):Void`

###

`polygonOffset (factor:Float, units:Float):Void`

###

`readPixels (x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):Void`

Throws:

`null` | DOMError

###

`renderbufferStorage (target:Int, internalformat:Int, width:Int, height:Int):Void`

###

`sampleCoverage (value:Float, invert:Bool):Void`

###

`scissor (x:Int, y:Int, width:Int, height:Int):Void`

###

`shaderSource (shader:Shader, source:String):Void`

###

`stencilFunc (func:Int, ref:Int, mask:Int):Void`

###

`stencilFuncSeparate (face:Int, func:Int, ref:Int, mask:Int):Void`

###

`stencilMask (mask:Int):Void`

###

`stencilMaskSeparate (face:Int, mask:Int):Void`

###

`stencilOp (fail:Int, zfail:Int, zpass:Int):Void`

###

`stencilOpSeparate (face:Int, fail:Int, zfail:Int, zpass:Int):Void`

###

`texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, video:VideoElement):Void`

`texImage2D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pixels:ArrayBufferView):Void`

`texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, pixels:ImageData):Void`

`texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, image:ImageElement):Void`

`texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, canvas:CanvasElement):Void`

Throws:

`null` | DOMError

###

`texParameterf (target:Int, pname:Int, param:Float):Void`

###

`texParameteri (target:Int, pname:Int, param:Int):Void`

###

`texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, video:VideoElement):Void`

`texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):Void`

`texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, pixels:ImageData):Void`

`texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, image:ImageElement):Void`

`texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, canvas:CanvasElement):Void`

Throws:

`null` | DOMError

###

`uniform1f (location:UniformLocation, x:Float):Void`

###

`uniform1fv (location:UniformLocation, v:Array<Float>):Void`

`uniform1fv (location:UniformLocation, v:Float32Array):Void`

###

`uniform1i (location:UniformLocation, x:Int):Void`

###

`uniform1iv (location:UniformLocation, v:Array<Int>):Void`

`uniform1iv (location:UniformLocation, v:Int32Array):Void`

###

`uniform2f (location:UniformLocation, x:Float, y:Float):Void`

###

`uniform2fv (location:UniformLocation, v:Array<Float>):Void`

`uniform2fv (location:UniformLocation, v:Float32Array):Void`

###

`uniform2i (location:UniformLocation, x:Int, y:Int):Void`

###

`uniform2iv (location:UniformLocation, v:Array<Int>):Void`

`uniform2iv (location:UniformLocation, v:Int32Array):Void`

###

`uniform3f (location:UniformLocation, x:Float, y:Float, z:Float):Void`

###

`uniform3fv (location:UniformLocation, v:Array<Float>):Void`

`uniform3fv (location:UniformLocation, v:Float32Array):Void`

###

`uniform3i (location:UniformLocation, x:Int, y:Int, z:Int):Void`

###

`uniform3iv (location:UniformLocation, v:Array<Int>):Void`

`uniform3iv (location:UniformLocation, v:Int32Array):Void`

###

`uniform4f (location:UniformLocation, x:Float, y:Float, z:Float, w:Float):Void`

###

`uniform4fv (location:UniformLocation, v:Array<Float>):Void`

`uniform4fv (location:UniformLocation, v:Float32Array):Void`

###

`uniform4i (location:UniformLocation, x:Int, y:Int, z:Int, w:Int):Void`

###

`uniform4iv (location:UniformLocation, v:Array<Int>):Void`

`uniform4iv (location:UniformLocation, v:Int32Array):Void`

###

`uniformMatrix2fv (location:UniformLocation, transpose:Bool, value:Array<Float>):Void`

`uniformMatrix2fv (location:UniformLocation, transpose:Bool, value:Float32Array):Void`

###

`uniformMatrix3fv (location:UniformLocation, transpose:Bool, value:Array<Float>):Void`

`uniformMatrix3fv (location:UniformLocation, transpose:Bool, value:Float32Array):Void`

###

`uniformMatrix4fv (location:UniformLocation, transpose:Bool, value:Array<Float>):Void`

`uniformMatrix4fv (location:UniformLocation, transpose:Bool, value:Float32Array):Void`

###

`useProgram (program:Program):Void`

###

`validateProgram (program:Program):Void`

###

`vertexAttrib1f (indx:Int, x:Float):Void`

###

`vertexAttrib1fv (indx:Int, values:Array<Float>):Void`

`vertexAttrib1fv (indx:Int, values:Float32Array):Void`

###

`vertexAttrib2f (indx:Int, x:Float, y:Float):Void`

###

`vertexAttrib2fv (indx:Int, values:Array<Float>):Void`

`vertexAttrib2fv (indx:Int, values:Float32Array):Void`

###

`vertexAttrib3f (indx:Int, x:Float, y:Float, z:Float):Void`

###

`vertexAttrib3fv (indx:Int, values:Array<Float>):Void`

`vertexAttrib3fv (indx:Int, values:Float32Array):Void`

###

`vertexAttrib4f (indx:Int, x:Float, y:Float, z:Float, w:Float):Void`

###

`vertexAttrib4fv (indx:Int, values:Array<Float>):Void`

`vertexAttrib4fv (indx:Int, values:Float32Array):Void`

###

`vertexAttribPointer (indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, offset:Int):Void`

###

`viewport (x:Int, y:Int, width:Int, height:Int):Void`

### Static variables

###

`staticinline read onlyACTIVE_ATTRIBUTES:Int = 35721`

###

`staticinline read onlyACTIVE_TEXTURE:Int = 34016`

###

`staticinline read onlyACTIVE_UNIFORMS:Int = 35718`

###

`staticinline read onlyALIASED_LINE_WIDTH_RANGE:Int = 33902`

###

`staticinline read onlyALIASED_POINT_SIZE_RANGE:Int = 33901`

###

`staticinline read onlyALPHA:Int = 6406`

###

`staticinline read onlyALPHA_BITS:Int = 3413`

###

`staticinline read onlyALWAYS:Int = 519`

###

`staticinline read onlyARRAY_BUFFER:Int = 34962`

###

`staticinline read onlyARRAY_BUFFER_BINDING:Int = 34964`

###

`staticinline read onlyATTACHED_SHADERS:Int = 35717`

###

`staticinline read onlyBACK:Int = 1029`

###

`staticinline read onlyBLEND:Int = 3042`

###

`staticinline read onlyBLEND_COLOR:Int = 32773`

###

`staticinline read onlyBLEND_DST_ALPHA:Int = 32970`

###

`staticinline read onlyBLEND_DST_RGB:Int = 32968`

###

`staticinline read onlyBLEND_EQUATION:Int = 32777`

###

`staticinline read onlyBLEND_EQUATION_ALPHA:Int = 34877`

###

`staticinline read onlyBLEND_EQUATION_RGB:Int = 32777`

###

`staticinline read onlyBLEND_SRC_ALPHA:Int = 32971`

###

`staticinline read onlyBLEND_SRC_RGB:Int = 32969`

###

`staticinline read onlyBLUE_BITS:Int = 3412`

###

`staticinline read onlyBOOL:Int = 35670`

###

`staticinline read onlyBOOL_VEC2:Int = 35671`

###

`staticinline read onlyBOOL_VEC3:Int = 35672`

###

`staticinline read onlyBOOL_VEC4:Int = 35673`

###

`staticinline read onlyBROWSER_DEFAULT_WEBGL:Int = 37444`

###

`staticinline read onlyBUFFER_SIZE:Int = 34660`

###

`staticinline read onlyBUFFER_USAGE:Int = 34661`

###

`staticinline read onlyBYTE:Int = 5120`

###

`staticinline read onlyCCW:Int = 2305`

###

`staticinline read onlyCLAMP_TO_EDGE:Int = 33071`

###

`staticinline read onlyCOLOR_ATTACHMENT0:Int = 36064`

###

`staticinline read onlyCOLOR_BUFFER_BIT:Int = 16384`

###

`staticinline read onlyCOLOR_CLEAR_VALUE:Int = 3106`

###

`staticinline read onlyCOLOR_WRITEMASK:Int = 3107`

###

`staticinline read onlyCOMPILE_STATUS:Int = 35713`

###

`staticinline read onlyCOMPRESSED_TEXTURE_FORMATS:Int = 34467`

###

`staticinline read onlyCONSTANT_ALPHA:Int = 32771`

###

`staticinline read onlyCONSTANT_COLOR:Int = 32769`

###

`staticinline read onlyCONTEXT_LOST_WEBGL:Int = 37442`

###

`staticinline read onlyCULL_FACE:Int = 2884`

###

`staticinline read onlyCULL_FACE_MODE:Int = 2885`

###

`staticinline read onlyCURRENT_PROGRAM:Int = 35725`

###

`staticinline read onlyCURRENT_VERTEX_ATTRIB:Int = 34342`

###

`staticinline read onlyCW:Int = 2304`

###

`staticinline read onlyDECR:Int = 7683`

###

`staticinline read onlyDECR_WRAP:Int = 34056`

###

`staticinline read onlyDELETE_STATUS:Int = 35712`

###

`staticinline read onlyDEPTH_ATTACHMENT:Int = 36096`

###

`staticinline read onlyDEPTH_BITS:Int = 3414`

###

`staticinline read onlyDEPTH_BUFFER_BIT:Int = 256`

###

`staticinline read onlyDEPTH_CLEAR_VALUE:Int = 2931`

###

`staticinline read onlyDEPTH_COMPONENT:Int = 6402`

###

`staticinline read onlyDEPTH_COMPONENT16:Int = 33189`

###

`staticinline read onlyDEPTH_FUNC:Int = 2932`

###

`staticinline read onlyDEPTH_RANGE:Int = 2928`

###

`staticinline read onlyDEPTH_STENCIL:Int = 34041`

###

`staticinline read onlyDEPTH_STENCIL_ATTACHMENT:Int = 33306`

###

`staticinline read onlyDEPTH_TEST:Int = 2929`

###

`staticinline read onlyDEPTH_WRITEMASK:Int = 2930`

###

`staticinline read onlyDITHER:Int = 3024`

###

`staticinline read onlyDONT_CARE:Int = 4352`

###

`staticinline read onlyDST_ALPHA:Int = 772`

###

`staticinline read onlyDST_COLOR:Int = 774`

###

`staticinline read onlyDYNAMIC_DRAW:Int = 35048`

###

`staticinline read onlyELEMENT_ARRAY_BUFFER:Int = 34963`

###

`staticinline read onlyELEMENT_ARRAY_BUFFER_BINDING:Int = 34965`

###

`staticinline read onlyEQUAL:Int = 514`

###

`staticinline read onlyFASTEST:Int = 4353`

###

`staticinline read onlyFLOAT:Int = 5126`

###

`staticinline read onlyFLOAT_MAT2:Int = 35674`

###

`staticinline read onlyFLOAT_MAT3:Int = 35675`

###

`staticinline read onlyFLOAT_MAT4:Int = 35676`

###

`staticinline read onlyFLOAT_VEC2:Int = 35664`

###

`staticinline read onlyFLOAT_VEC3:Int = 35665`

###

`staticinline read onlyFLOAT_VEC4:Int = 35666`

###

`staticinline read onlyFRAGMENT_SHADER:Int = 35632`

###

`staticinline read onlyFRAMEBUFFER:Int = 36160`

###

`staticinline read onlyFRAMEBUFFER_ATTACHMENT_OBJECT_NAME:Int = 36049`

###

`staticinline read onlyFRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:Int = 36048`

###

`staticinline read onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:Int = 36051`

###

`staticinline read onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:Int = 36050`

###

`staticinline read onlyFRAMEBUFFER_BINDING:Int = 36006`

###

`staticinline read onlyFRAMEBUFFER_COMPLETE:Int = 36053`

###

`staticinline read onlyFRAMEBUFFER_INCOMPLETE_ATTACHMENT:Int = 36054`

###

`staticinline read onlyFRAMEBUFFER_INCOMPLETE_DIMENSIONS:Int = 36057`

###

`staticinline read onlyFRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:Int = 36055`

###

`staticinline read onlyFRAMEBUFFER_UNSUPPORTED:Int = 36061`

###

`staticinline read onlyFRONT:Int = 1028`

###

`staticinline read onlyFRONT_AND_BACK:Int = 1032`

###

`staticinline read onlyFRONT_FACE:Int = 2886`

###

`staticinline read onlyFUNC_ADD:Int = 32774`

###

`staticinline read onlyFUNC_REVERSE_SUBTRACT:Int = 32779`

###

`staticinline read onlyFUNC_SUBTRACT:Int = 32778`

###

`staticinline read onlyGENERATE_MIPMAP_HINT:Int = 33170`

###

`staticinline read onlyGEQUAL:Int = 518`

###

`staticinline read onlyGREATER:Int = 516`

###

`staticinline read onlyGREEN_BITS:Int = 3411`

###

`staticinline read onlyHIGH_FLOAT:Int = 36338`

###

`staticinline read onlyHIGH_INT:Int = 36341`

###

`staticinline read onlyIMPLEMENTATION_COLOR_READ_FORMAT:Int = 35739`

###

`staticinline read onlyIMPLEMENTATION_COLOR_READ_TYPE:Int = 35738`

###

`staticinline read onlyINCR:Int = 7682`

###

`staticinline read onlyINCR_WRAP:Int = 34055`

###

`staticinline read onlyINT:Int = 5124`

###

`staticinline read onlyINT_VEC2:Int = 35667`

###

`staticinline read onlyINT_VEC3:Int = 35668`

###

`staticinline read onlyINT_VEC4:Int = 35669`

###

`staticinline read onlyINVALID_ENUM:Int = 1280`

###

`staticinline read onlyINVALID_FRAMEBUFFER_OPERATION:Int = 1286`

###

`staticinline read onlyINVALID_OPERATION:Int = 1282`

###

`staticinline read onlyINVALID_VALUE:Int = 1281`

###

`staticinline read onlyINVERT:Int = 5386`

###

`staticinline read onlyKEEP:Int = 7680`

###

`staticinline read onlyLEQUAL:Int = 515`

###

`staticinline read onlyLESS:Int = 513`

###

`staticinline read onlyLINEAR:Int = 9729`

###

`staticinline read onlyLINEAR_MIPMAP_LINEAR:Int = 9987`

###

`staticinline read onlyLINEAR_MIPMAP_NEAREST:Int = 9985`

###

`staticinline read onlyLINES:Int = 1`

###

`staticinline read onlyLINE_LOOP:Int = 2`

###

`staticinline read onlyLINE_STRIP:Int = 3`

###

`staticinline read onlyLINE_WIDTH:Int = 2849`

###

`staticinline read onlyLINK_STATUS:Int = 35714`

###

`staticinline read onlyLOW_FLOAT:Int = 36336`

###

`staticinline read onlyLOW_INT:Int = 36339`

###

`staticinline read onlyLUMINANCE:Int = 6409`

###

`staticinline read onlyLUMINANCE_ALPHA:Int = 6410`

###

`staticinline read onlyMAX_COMBINED_TEXTURE_IMAGE_UNITS:Int = 35661`

###

`staticinline read onlyMAX_CUBE_MAP_TEXTURE_SIZE:Int = 34076`

###

`staticinline read onlyMAX_FRAGMENT_UNIFORM_VECTORS:Int = 36349`

###

`staticinline read onlyMAX_RENDERBUFFER_SIZE:Int = 34024`

###

`staticinline read onlyMAX_TEXTURE_IMAGE_UNITS:Int = 34930`

###

`staticinline read onlyMAX_TEXTURE_SIZE:Int = 3379`

###

`staticinline read onlyMAX_VARYING_VECTORS:Int = 36348`

###

`staticinline read onlyMAX_VERTEX_ATTRIBS:Int = 34921`

###

`staticinline read onlyMAX_VERTEX_TEXTURE_IMAGE_UNITS:Int = 35660`

###

`staticinline read onlyMAX_VERTEX_UNIFORM_VECTORS:Int = 36347`

###

`staticinline read onlyMAX_VIEWPORT_DIMS:Int = 3386`

###

`staticinline read onlyMEDIUM_FLOAT:Int = 36337`

###

`staticinline read onlyMEDIUM_INT:Int = 36340`

###

`staticinline read onlyMIRRORED_REPEAT:Int = 33648`

###

`staticinline read onlyNEAREST:Int = 9728`

###

`staticinline read onlyNEAREST_MIPMAP_LINEAR:Int = 9986`

###

`staticinline read onlyNEAREST_MIPMAP_NEAREST:Int = 9984`

###

`staticinline read onlyNEVER:Int = 512`

###

`staticinline read onlyNICEST:Int = 4354`

###

`staticinline read onlyNONE:Int = 0`

###

`staticinline read onlyNOTEQUAL:Int = 517`

###

`staticinline read onlyNO_ERROR:Int = 0`

###

`staticinline read onlyONE:Int = 1`

###

`staticinline read onlyONE_MINUS_CONSTANT_ALPHA:Int = 32772`

###

`staticinline read onlyONE_MINUS_CONSTANT_COLOR:Int = 32770`

###

`staticinline read onlyONE_MINUS_DST_ALPHA:Int = 773`

###

`staticinline read onlyONE_MINUS_DST_COLOR:Int = 775`

###

`staticinline read onlyONE_MINUS_SRC_ALPHA:Int = 771`

###

`staticinline read onlyONE_MINUS_SRC_COLOR:Int = 769`

###

`staticinline read onlyOUT_OF_MEMORY:Int = 1285`

###

`staticinline read onlyPACK_ALIGNMENT:Int = 3333`

###

`staticinline read onlyPOINTS:Int = 0`

###

`staticinline read onlyPOLYGON_OFFSET_FACTOR:Int = 32824`

###

`staticinline read onlyPOLYGON_OFFSET_FILL:Int = 32823`

###

`staticinline read onlyPOLYGON_OFFSET_UNITS:Int = 10752`

###

`staticinline read onlyRED_BITS:Int = 3410`

###

`staticinline read onlyRENDERBUFFER:Int = 36161`

###

`staticinline read onlyRENDERBUFFER_ALPHA_SIZE:Int = 36179`

###

`staticinline read onlyRENDERBUFFER_BINDING:Int = 36007`

###

`staticinline read onlyRENDERBUFFER_BLUE_SIZE:Int = 36178`

###

`staticinline read onlyRENDERBUFFER_DEPTH_SIZE:Int = 36180`

###

`staticinline read onlyRENDERBUFFER_GREEN_SIZE:Int = 36177`

###

`staticinline read onlyRENDERBUFFER_HEIGHT:Int = 36163`

###

`staticinline read onlyRENDERBUFFER_INTERNAL_FORMAT:Int = 36164`

###

`staticinline read onlyRENDERBUFFER_RED_SIZE:Int = 36176`

###

`staticinline read onlyRENDERBUFFER_STENCIL_SIZE:Int = 36181`

###

`staticinline read onlyRENDERBUFFER_WIDTH:Int = 36162`

###

`staticinline read onlyRENDERER:Int = 7937`

###

`staticinline read onlyREPEAT:Int = 10497`

###

`staticinline read onlyREPLACE:Int = 7681`

###

`staticinline read onlyRGB:Int = 6407`

###

`staticinline read onlyRGB565:Int = 36194`

###

`staticinline read onlyRGB5_A1:Int = 32855`

###

`staticinline read onlyRGBA:Int = 6408`

###

`staticinline read onlyRGBA4:Int = 32854`

###

`staticinline read onlySAMPLER_2D:Int = 35678`

###

`staticinline read onlySAMPLER_CUBE:Int = 35680`

###

`staticinline read onlySAMPLES:Int = 32937`

###

`staticinline read onlySAMPLE_ALPHA_TO_COVERAGE:Int = 32926`

###

`staticinline read onlySAMPLE_BUFFERS:Int = 32936`

###

`staticinline read onlySAMPLE_COVERAGE:Int = 32928`

###

`staticinline read onlySAMPLE_COVERAGE_INVERT:Int = 32939`

###

`staticinline read onlySAMPLE_COVERAGE_VALUE:Int = 32938`

###

`staticinline read onlySCISSOR_BOX:Int = 3088`

###

`staticinline read onlySCISSOR_TEST:Int = 3089`

###

`staticinline read onlySHADER_TYPE:Int = 35663`

###

`staticinline read onlySHADING_LANGUAGE_VERSION:Int = 35724`

###

`staticinline read onlySHORT:Int = 5122`

###

`staticinline read onlySRC_ALPHA:Int = 770`

###

`staticinline read onlySRC_ALPHA_SATURATE:Int = 776`

###

`staticinline read onlySRC_COLOR:Int = 768`

###

`staticinline read onlySTATIC_DRAW:Int = 35044`

###

`staticinline read onlySTENCIL_ATTACHMENT:Int = 36128`

###

`staticinline read onlySTENCIL_BACK_FAIL:Int = 34817`

###

`staticinline read onlySTENCIL_BACK_FUNC:Int = 34816`

###

`staticinline read onlySTENCIL_BACK_PASS_DEPTH_FAIL:Int = 34818`

###

`staticinline read onlySTENCIL_BACK_PASS_DEPTH_PASS:Int = 34819`

###

`staticinline read onlySTENCIL_BACK_REF:Int = 36003`

###

`staticinline read onlySTENCIL_BACK_VALUE_MASK:Int = 36004`

###

`staticinline read onlySTENCIL_BACK_WRITEMASK:Int = 36005`

###

`staticinline read onlySTENCIL_BITS:Int = 3415`

###

`staticinline read onlySTENCIL_BUFFER_BIT:Int = 1024`

###

`staticinline read onlySTENCIL_CLEAR_VALUE:Int = 2961`

###

`staticinline read onlySTENCIL_FAIL:Int = 2964`

###

`staticinline read onlySTENCIL_FUNC:Int = 2962`

###

`staticinline read onlySTENCIL_INDEX:Int = 6401`

###

`staticinline read onlySTENCIL_INDEX8:Int = 36168`

###

`staticinline read onlySTENCIL_PASS_DEPTH_FAIL:Int = 2965`

###

`staticinline read onlySTENCIL_PASS_DEPTH_PASS:Int = 2966`

###

`staticinline read onlySTENCIL_REF:Int = 2967`

###

`staticinline read onlySTENCIL_TEST:Int = 2960`

###

`staticinline read onlySTENCIL_VALUE_MASK:Int = 2963`

###

`staticinline read onlySTENCIL_WRITEMASK:Int = 2968`

###

`staticinline read onlySTREAM_DRAW:Int = 35040`

###

`staticinline read onlySUBPIXEL_BITS:Int = 3408`

###

`staticinline read onlyTEXTURE:Int = 5890`

###

`staticinline read onlyTEXTURE0:Int = 33984`

###

`staticinline read onlyTEXTURE1:Int = 33985`

###

`staticinline read onlyTEXTURE10:Int = 33994`

###

`staticinline read onlyTEXTURE11:Int = 33995`

###

`staticinline read onlyTEXTURE12:Int = 33996`

###

`staticinline read onlyTEXTURE13:Int = 33997`

###

`staticinline read onlyTEXTURE14:Int = 33998`

###

`staticinline read onlyTEXTURE15:Int = 33999`

###

`staticinline read onlyTEXTURE16:Int = 34000`

###

`staticinline read onlyTEXTURE17:Int = 34001`

###

`staticinline read onlyTEXTURE18:Int = 34002`

###

`staticinline read onlyTEXTURE19:Int = 34003`

###

`staticinline read onlyTEXTURE2:Int = 33986`

###

`staticinline read onlyTEXTURE20:Int = 34004`

###

`staticinline read onlyTEXTURE21:Int = 34005`

###

`staticinline read onlyTEXTURE22:Int = 34006`

###

`staticinline read onlyTEXTURE23:Int = 34007`

###

`staticinline read onlyTEXTURE24:Int = 34008`

###

`staticinline read onlyTEXTURE25:Int = 34009`

###

`staticinline read onlyTEXTURE26:Int = 34010`

###

`staticinline read onlyTEXTURE27:Int = 34011`

###

`staticinline read onlyTEXTURE28:Int = 34012`

###

`staticinline read onlyTEXTURE29:Int = 34013`

###

`staticinline read onlyTEXTURE3:Int = 33987`

###

`staticinline read onlyTEXTURE30:Int = 34014`

###

`staticinline read onlyTEXTURE31:Int = 34015`

###

`staticinline read onlyTEXTURE4:Int = 33988`

###

`staticinline read onlyTEXTURE5:Int = 33989`

###

`staticinline read onlyTEXTURE6:Int = 33990`

###

`staticinline read onlyTEXTURE7:Int = 33991`

###

`staticinline read onlyTEXTURE8:Int = 33992`

###

`staticinline read onlyTEXTURE9:Int = 33993`

###

`staticinline read onlyTEXTURE_2D:Int = 3553`

###

`staticinline read onlyTEXTURE_BINDING_2D:Int = 32873`

###

`staticinline read onlyTEXTURE_BINDING_CUBE_MAP:Int = 34068`

###

`staticinline read onlyTEXTURE_CUBE_MAP:Int = 34067`

###

`staticinline read onlyTEXTURE_CUBE_MAP_NEGATIVE_X:Int = 34070`

###

`staticinline read onlyTEXTURE_CUBE_MAP_NEGATIVE_Y:Int = 34072`

###

`staticinline read onlyTEXTURE_CUBE_MAP_NEGATIVE_Z:Int = 34074`

###

`staticinline read onlyTEXTURE_CUBE_MAP_POSITIVE_X:Int = 34069`

###

`staticinline read onlyTEXTURE_CUBE_MAP_POSITIVE_Y:Int = 34071`

###

`staticinline read onlyTEXTURE_CUBE_MAP_POSITIVE_Z:Int = 34073`

###

`staticinline read onlyTEXTURE_MAG_FILTER:Int = 10240`

###

`staticinline read onlyTEXTURE_MIN_FILTER:Int = 10241`

###

`staticinline read onlyTEXTURE_WRAP_S:Int = 10242`

###

`staticinline read onlyTEXTURE_WRAP_T:Int = 10243`

###

`staticinline read onlyTRIANGLES:Int = 4`

###

`staticinline read onlyTRIANGLE_FAN:Int = 6`

###

`staticinline read onlyTRIANGLE_STRIP:Int = 5`

###

`staticinline read onlyUNPACK_ALIGNMENT:Int = 3317`

###

`staticinline read onlyUNPACK_COLORSPACE_CONVERSION_WEBGL:Int = 37443`

###

`staticinline read onlyUNPACK_FLIP_Y_WEBGL:Int = 37440`

###

`staticinline read onlyUNPACK_PREMULTIPLY_ALPHA_WEBGL:Int = 37441`

###

`staticinline read onlyUNSIGNED_BYTE:Int = 5121`

###

`staticinline read onlyUNSIGNED_INT:Int = 5125`

###

`staticinline read onlyUNSIGNED_SHORT:Int = 5123`

###

`staticinline read onlyUNSIGNED_SHORT_4_4_4_4:Int = 32819`

###

`staticinline read onlyUNSIGNED_SHORT_5_5_5_1:Int = 32820`

###

`staticinline read onlyUNSIGNED_SHORT_5_6_5:Int = 33635`

###

`staticinline read onlyVALIDATE_STATUS:Int = 35715`

###

`staticinline read onlyVENDOR:Int = 7936`

###

`staticinline read onlyVERSION:Int = 7938`

###

`staticinline read onlyVERTEX_ATTRIB_ARRAY_BUFFER_BINDING:Int = 34975`

###

`staticinline read onlyVERTEX_ATTRIB_ARRAY_ENABLED:Int = 34338`

###

`staticinline read onlyVERTEX_ATTRIB_ARRAY_NORMALIZED:Int = 34922`

###

`staticinline read onlyVERTEX_ATTRIB_ARRAY_POINTER:Int = 34373`

###

`staticinline read onlyVERTEX_ATTRIB_ARRAY_SIZE:Int = 34339`

###

`staticinline read onlyVERTEX_ATTRIB_ARRAY_STRIDE:Int = 34340`

###

`staticinline read onlyVERTEX_ATTRIB_ARRAY_TYPE:Int = 34341`

###

`staticinline read onlyVERTEX_SHADER:Int = 35633`

###

`staticinline read onlyVIEWPORT:Int = 2978`

###

`staticinline read onlyZERO:Int = 0`