The WebGL2RenderContext allows access to WebGL 2 features when OpenGL, OpenGL ES or WebGL is the render context type of the Window, and the current context supports WebGL 2 features.

Using a WebGL context on a desktop platform enables support for cross-platform code that should run on all platforms (when using hardware acceleration), though support for WebGL 2 features are more limited than WebGL, and require an OpenGL ES 3.0 compatible desktop or mobile context.

You can convert from lime.graphics.RenderContext, lime.graphics.OpenGLRenderContext, lime.graphics.OpenGLES3RenderContext or lime.graphics.opengl.GL, and can convert to lime.graphics.WebGLRenderContext directly if desired:

var webgl2:WebGL2RenderContext = window.context;
var webgl2:WebGL2RenderContext = gl;
var webgl2:WebGL2RenderContext = gles3;
var webgl2:WebGL2RenderContext = GL;

var webgl:WebGLRenderContext = webgl2;

Static variables

staticread onlyACTIVE_ATTRIBUTES:Int

staticread onlyACTIVE_TEXTURE:Int

staticread onlyACTIVE_UNIFORMS:Int

staticread onlyACTIVE_UNIFORM_BLOCKS:Int

staticread onlyALPHA:Int

staticread onlyALPHA_BITS:Int

staticread onlyALREADY_SIGNALED:Int

staticread onlyALWAYS:Int

staticread onlyANY_SAMPLES_PASSED:Int

staticread onlyARRAY_BUFFER:Int

staticread onlyARRAY_BUFFER_BINDING:Int

staticread onlyATTACHED_SHADERS:Int

staticread onlyBACK:Int

staticread onlyBLEND:Int

staticread onlyBLEND_COLOR:Int

staticread onlyBLEND_DST_ALPHA:Int

staticread onlyBLEND_DST_RGB:Int

staticread onlyBLEND_EQUATION:Int

staticread onlyBLEND_EQUATION_ALPHA:Int

staticread onlyBLEND_EQUATION_RGB:Int

staticread onlyBLEND_SRC_ALPHA:Int

staticread onlyBLEND_SRC_RGB:Int

staticread onlyBLUE_BITS:Int

staticread onlyBOOL:Int

staticread onlyBOOL_VEC2:Int

staticread onlyBOOL_VEC3:Int

staticread onlyBOOL_VEC4:Int

staticread onlyBROWSER_DEFAULT_WEBGL:Int

staticread onlyBUFFER_SIZE:Int

staticread onlyBUFFER_USAGE:Int

staticread onlyBYTE:Int

staticread onlyCCW:Int

staticread onlyCLAMP_TO_EDGE:Int

staticread onlyCOLOR:Int

staticread onlyCOLOR_ATTACHMENT0:Int

staticread onlyCOLOR_ATTACHMENT1:Int

staticread onlyCOLOR_ATTACHMENT10:Int

staticread onlyCOLOR_ATTACHMENT11:Int

staticread onlyCOLOR_ATTACHMENT12:Int

staticread onlyCOLOR_ATTACHMENT13:Int

staticread onlyCOLOR_ATTACHMENT14:Int

staticread onlyCOLOR_ATTACHMENT15:Int

staticread onlyCOLOR_ATTACHMENT2:Int

staticread onlyCOLOR_ATTACHMENT3:Int

staticread onlyCOLOR_ATTACHMENT4:Int

staticread onlyCOLOR_ATTACHMENT5:Int

staticread onlyCOLOR_ATTACHMENT6:Int

staticread onlyCOLOR_ATTACHMENT7:Int

staticread onlyCOLOR_ATTACHMENT8:Int

staticread onlyCOLOR_ATTACHMENT9:Int

staticread onlyCOLOR_BUFFER_BIT:Int

staticread onlyCOLOR_CLEAR_VALUE:Int

staticread onlyCOLOR_WRITEMASK:Int

staticread onlyCOMPILE_STATUS:Int

staticread onlyCONDITION_SATISFIED:Int

staticread onlyCONSTANT_ALPHA:Int

staticread onlyCONSTANT_COLOR:Int

staticread onlyCONTEXT_LOST_WEBGL:Int

staticread onlyCOPY_READ_BUFFER:Int

staticread onlyCOPY_WRITE_BUFFER:Int

staticread onlyCULL_FACE:Int

staticread onlyCULL_FACE_MODE:Int

staticread onlyCURRENT_PROGRAM:Int

staticread onlyCURRENT_QUERY:Int

staticread onlyCURRENT_VERTEX_ATTRIB:Int

staticread onlyCW:Int

staticread onlyDECR:Int

staticread onlyDECR_WRAP:Int

staticread onlyDELETE_STATUS:Int

staticread onlyDEPTH:Int

staticread onlyDEPTH24_STENCIL8:Int

staticread onlyDEPTH32F_STENCIL8:Int

staticread onlyDEPTH_ATTACHMENT:Int

staticread onlyDEPTH_BITS:Int

staticread onlyDEPTH_BUFFER_BIT:Int

staticread onlyDEPTH_CLEAR_VALUE:Int

staticread onlyDEPTH_COMPONENT:Int

staticread onlyDEPTH_COMPONENT16:Int

staticread onlyDEPTH_COMPONENT24:Int

staticread onlyDEPTH_COMPONENT32F:Int

staticread onlyDEPTH_FUNC:Int

staticread onlyDEPTH_RANGE:Int

staticread onlyDEPTH_STENCIL:Int

staticread onlyDEPTH_TEST:Int

staticread onlyDEPTH_WRITEMASK:Int

staticread onlyDITHER:Int

staticread onlyDONT_CARE:Int

staticread onlyDRAW_BUFFER0:Int

staticread onlyDRAW_BUFFER1:Int

staticread onlyDRAW_BUFFER10:Int

staticread onlyDRAW_BUFFER11:Int

staticread onlyDRAW_BUFFER12:Int

staticread onlyDRAW_BUFFER13:Int

staticread onlyDRAW_BUFFER14:Int

staticread onlyDRAW_BUFFER15:Int

staticread onlyDRAW_BUFFER2:Int

staticread onlyDRAW_BUFFER3:Int

staticread onlyDRAW_BUFFER4:Int

staticread onlyDRAW_BUFFER5:Int

staticread onlyDRAW_BUFFER6:Int

staticread onlyDRAW_BUFFER7:Int

staticread onlyDRAW_BUFFER8:Int

staticread onlyDRAW_BUFFER9:Int

staticread onlyDRAW_FRAMEBUFFER:Int

staticread onlyDST_ALPHA:Int

staticread onlyDST_COLOR:Int

staticread onlyDYNAMIC_COPY:Int

staticread onlyDYNAMIC_DRAW:Int

staticread onlyDYNAMIC_READ:Int

staticread onlyELEMENT_ARRAY_BUFFER:Int

staticread onlyEQUAL:Int

staticread onlyFASTEST:Int

staticread onlyFLOAT:Int

staticread onlyFLOAT_MAT2:Int

staticread onlyFLOAT_MAT2x3:Int

staticread onlyFLOAT_MAT2x4:Int

staticread onlyFLOAT_MAT3:Int

staticread onlyFLOAT_MAT3x2:Int

staticread onlyFLOAT_MAT3x4:Int

staticread onlyFLOAT_MAT4:Int

staticread onlyFLOAT_MAT4x2:Int

staticread onlyFLOAT_MAT4x3:Int

staticread onlyFLOAT_VEC2:Int

staticread onlyFLOAT_VEC3:Int

staticread onlyFLOAT_VEC4:Int

staticread onlyFRAGMENT_SHADER:Int

staticread onlyFRAMEBUFFER:Int

staticread onlyFRAMEBUFFER_BINDING:Int

staticread onlyFRAMEBUFFER_COMPLETE:Int

staticread onlyFRAMEBUFFER_DEFAULT:Int

staticread onlyFRONT:Int

staticread onlyFRONT_AND_BACK:Int

staticread onlyFRONT_FACE:Int

staticread onlyFUNC_ADD:Int

staticread onlyFUNC_REVERSE_SUBTRACT:Int

staticread onlyFUNC_SUBTRACT:Int

staticread onlyGENERATE_MIPMAP_HINT:Int

staticread onlyGEQUAL:Int

staticread onlyGREATER:Int

staticread onlyGREEN_BITS:Int

staticread onlyHALF_FLOAT:Int

staticread onlyHIGH_FLOAT:Int

staticread onlyHIGH_INT:Int

staticread onlyINCR:Int

staticread onlyINCR_WRAP:Int

staticread onlyINT:Int

staticread onlyINTERLEAVED_ATTRIBS:Int

staticread onlyINT_2_10_10_10_REV:Int

staticread onlyINT_SAMPLER_2D:Int

staticread onlyINT_SAMPLER_2D_ARRAY:Int

staticread onlyINT_SAMPLER_3D:Int

staticread onlyINT_SAMPLER_CUBE:Int

staticread onlyINT_VEC2:Int

staticread onlyINT_VEC3:Int

staticread onlyINT_VEC4:Int

staticread onlyINVALID_ENUM:Int

staticread onlyINVALID_INDEX:Int

staticread onlyINVALID_OPERATION:Int

staticread onlyINVALID_VALUE:Int

staticread onlyINVERT:Int

staticread onlyKEEP:Int

staticread onlyLEQUAL:Int

staticread onlyLESS:Int

staticread onlyLINEAR:Int

staticread onlyLINEAR_MIPMAP_LINEAR:Int

staticread onlyLINEAR_MIPMAP_NEAREST:Int

staticread onlyLINES:Int

staticread onlyLINE_LOOP:Int

staticread onlyLINE_STRIP:Int

staticread onlyLINE_WIDTH:Int

staticread onlyLINK_STATUS:Int

staticread onlyLOW_FLOAT:Int

staticread onlyLOW_INT:Int

staticread onlyLUMINANCE:Int

staticread onlyLUMINANCE_ALPHA:Int

staticread onlyMAX:Int

staticread onlyMAX_3D_TEXTURE_SIZE:Int

staticread onlyMAX_COLOR_ATTACHMENTS:Int

staticread onlyMAX_DRAW_BUFFERS:Int

staticread onlyMAX_ELEMENTS_INDICES:Int

staticread onlyMAX_ELEMENTS_VERTICES:Int

staticread onlyMAX_ELEMENT_INDEX:Int

staticread onlyMAX_RENDERBUFFER_SIZE:Int

staticread onlyMAX_SAMPLES:Int

staticread onlyMAX_TEXTURE_LOD_BIAS:Int

staticread onlyMAX_TEXTURE_SIZE:Int

staticread onlyMAX_VARYING_VECTORS:Int

staticread onlyMAX_VERTEX_ATTRIBS:Int

staticread onlyMAX_VIEWPORT_DIMS:Int

staticread onlyMEDIUM_FLOAT:Int

staticread onlyMEDIUM_INT:Int

staticread onlyMIN:Int

staticread onlyMIRRORED_REPEAT:Int

staticread onlyNEAREST:Int

staticread onlyNEAREST_MIPMAP_LINEAR:Int

staticread onlyNEVER:Int

staticread onlyNICEST:Int

staticread onlyNONE:Int

staticread onlyNOTEQUAL:Int

staticread onlyNO_ERROR:Int

staticread onlyOBJECT_TYPE:Int

staticread onlyONE:Int

staticread onlyONE_MINUS_DST_ALPHA:Int

staticread onlyONE_MINUS_DST_COLOR:Int

staticread onlyONE_MINUS_SRC_ALPHA:Int

staticread onlyONE_MINUS_SRC_COLOR:Int

staticread onlyOUT_OF_MEMORY:Int

staticread onlyPACK_ALIGNMENT:Int

staticread onlyPACK_ROW_LENGTH:Int

staticread onlyPACK_SKIP_PIXELS:Int

staticread onlyPACK_SKIP_ROWS:Int

staticread onlyPIXEL_PACK_BUFFER:Int

staticread onlyPIXEL_UNPACK_BUFFER:Int

staticread onlyPOINTS:Int

staticread onlyPOLYGON_OFFSET_FACTOR:Int

staticread onlyPOLYGON_OFFSET_FILL:Int

staticread onlyPOLYGON_OFFSET_UNITS:Int

staticread onlyQUERY_RESULT:Int

staticread onlyR11F_G11F_B10F:Int

staticread onlyR16F:Int

staticread onlyR16I:Int

staticread onlyR16UI:Int

staticread onlyR32F:Int

staticread onlyR32I:Int

staticread onlyR32UI:Int

staticread onlyR8:Int

staticread onlyR8I:Int

staticread onlyR8UI:Int

staticread onlyR8_SNORM:Int

staticread onlyRASTERIZER_DISCARD:Int

staticread onlyREAD_BUFFER:Int

staticread onlyREAD_FRAMEBUFFER:Int

staticread onlyRED:Int

staticread onlyRED_BITS:Int

staticread onlyRED_INTEGER:Int

staticread onlyRENDERBUFFER:Int

staticread onlyRENDERBUFFER_BINDING:Int

staticread onlyRENDERBUFFER_HEIGHT:Int

staticread onlyRENDERBUFFER_RED_SIZE:Int

staticread onlyRENDERBUFFER_SAMPLES:Int

staticread onlyRENDERBUFFER_WIDTH:Int

staticread onlyRENDERER:Int

staticread onlyREPEAT:Int

staticread onlyREPLACE:Int

staticread onlyRG:Int

staticread onlyRG16F:Int

staticread onlyRG16I:Int

staticread onlyRG16UI:Int

staticread onlyRG32F:Int

staticread onlyRG32I:Int

staticread onlyRG32UI:Int

staticread onlyRG8:Int

staticread onlyRG8I:Int

staticread onlyRG8UI:Int

staticread onlyRG8_SNORM:Int

staticread onlyRGB:Int

staticread onlyRGB10_A2:Int

staticread onlyRGB10_A2UI:Int

staticread onlyRGB16F:Int

staticread onlyRGB16I:Int

staticread onlyRGB16UI:Int

staticread onlyRGB32F:Int

staticread onlyRGB32I:Int

staticread onlyRGB32UI:Int

staticread onlyRGB565:Int

staticread onlyRGB5_A1:Int

staticread onlyRGB8:Int

staticread onlyRGB8I:Int

staticread onlyRGB8UI:Int

staticread onlyRGB8_SNORM:Int

staticread onlyRGB9_E5:Int

staticread onlyRGBA:Int

staticread onlyRGBA16F:Int

staticread onlyRGBA16I:Int

staticread onlyRGBA16UI:Int

staticread onlyRGBA32F:Int

staticread onlyRGBA32I:Int

staticread onlyRGBA32UI:Int

staticread onlyRGBA4:Int

staticread onlyRGBA8:Int

staticread onlyRGBA8I:Int

staticread onlyRGBA8UI:Int

staticread onlyRGBA8_SNORM:Int

staticread onlyRGBA_INTEGER:Int

staticread onlyRGB_INTEGER:Int

staticread onlyRG_INTEGER:Int

staticread onlySAMPLER_2D:Int

staticread onlySAMPLER_2D_ARRAY:Int

staticread onlySAMPLER_2D_SHADOW:Int

staticread onlySAMPLER_3D:Int

staticread onlySAMPLER_BINDING:Int

staticread onlySAMPLER_CUBE:Int

staticread onlySAMPLER_CUBE_SHADOW:Int

staticread onlySAMPLES:Int

staticread onlySAMPLE_BUFFERS:Int

staticread onlySAMPLE_COVERAGE:Int

staticread onlySAMPLE_COVERAGE_VALUE:Int

staticread onlySCISSOR_BOX:Int

staticread onlySCISSOR_TEST:Int

staticread onlySEPARATE_ATTRIBS:Int

staticread onlySHADER_TYPE:Int

staticread onlySHORT:Int

staticread onlySIGNALED:Int

staticread onlySIGNED_NORMALIZED:Int

staticread onlySRC_ALPHA:Int

staticread onlySRC_ALPHA_SATURATE:Int

staticread onlySRC_COLOR:Int

staticread onlySRGB:Int

staticread onlySRGB8:Int

staticread onlySRGB8_ALPHA8:Int

staticread onlySTATIC_COPY:Int

staticread onlySTATIC_DRAW:Int

staticread onlySTATIC_READ:Int

staticread onlySTENCIL:Int

staticread onlySTENCIL_ATTACHMENT:Int

staticread onlySTENCIL_BACK_FAIL:Int

staticread onlySTENCIL_BACK_FUNC:Int

staticread onlySTENCIL_BACK_REF:Int

staticread onlySTENCIL_BITS:Int

staticread onlySTENCIL_BUFFER_BIT:Int

staticread onlySTENCIL_CLEAR_VALUE:Int

staticread onlySTENCIL_FAIL:Int

staticread onlySTENCIL_FUNC:Int

staticread onlySTENCIL_INDEX:Int

staticread onlySTENCIL_INDEX8:Int

staticread onlySTENCIL_REF:Int

staticread onlySTENCIL_TEST:Int

staticread onlySTENCIL_VALUE_MASK:Int

staticread onlySTENCIL_WRITEMASK:Int

staticread onlySTREAM_COPY:Int

staticread onlySTREAM_DRAW:Int

staticread onlySTREAM_READ:Int

staticread onlySUBPIXEL_BITS:Int

staticread onlySYNC_CONDITION:Int

staticread onlySYNC_FENCE:Int

staticread onlySYNC_FLAGS:Int

staticread onlySYNC_STATUS:Int

staticread onlyTEXTURE:Int

staticread onlyTEXTURE0:Int

staticread onlyTEXTURE1:Int

staticread onlyTEXTURE10:Int

staticread onlyTEXTURE11:Int

staticread onlyTEXTURE12:Int

staticread onlyTEXTURE13:Int

staticread onlyTEXTURE14:Int

staticread onlyTEXTURE15:Int

staticread onlyTEXTURE16:Int

staticread onlyTEXTURE17:Int

staticread onlyTEXTURE18:Int

staticread onlyTEXTURE19:Int

staticread onlyTEXTURE2:Int

staticread onlyTEXTURE20:Int

staticread onlyTEXTURE21:Int

staticread onlyTEXTURE22:Int

staticread onlyTEXTURE23:Int

staticread onlyTEXTURE24:Int

staticread onlyTEXTURE25:Int

staticread onlyTEXTURE26:Int

staticread onlyTEXTURE27:Int

staticread onlyTEXTURE28:Int

staticread onlyTEXTURE29:Int

staticread onlyTEXTURE3:Int

staticread onlyTEXTURE30:Int

staticread onlyTEXTURE31:Int

staticread onlyTEXTURE4:Int

staticread onlyTEXTURE5:Int

staticread onlyTEXTURE6:Int

staticread onlyTEXTURE7:Int

staticread onlyTEXTURE8:Int

staticread onlyTEXTURE9:Int

staticread onlyTEXTURE_2D:Int

staticread onlyTEXTURE_2D_ARRAY:Int

staticread onlyTEXTURE_3D:Int

staticread onlyTEXTURE_BASE_LEVEL:Int

staticread onlyTEXTURE_BINDING_2D:Int

staticread onlyTEXTURE_BINDING_3D:Int

staticread onlyTEXTURE_COMPARE_FUNC:Int

staticread onlyTEXTURE_COMPARE_MODE:Int

staticread onlyTEXTURE_CUBE_MAP:Int

staticread onlyTEXTURE_MAG_FILTER:Int

staticread onlyTEXTURE_MAX_LEVEL:Int

staticread onlyTEXTURE_MAX_LOD:Int

staticread onlyTEXTURE_MIN_FILTER:Int

staticread onlyTEXTURE_MIN_LOD:Int

staticread onlyTEXTURE_WRAP_R:Int

staticread onlyTEXTURE_WRAP_S:Int

staticread onlyTEXTURE_WRAP_T:Int

staticread onlyTIMEOUT_EXPIRED:Int

staticread onlyTIMEOUT_IGNORED:Int

staticread onlyTRANSFORM_FEEDBACK:Int

staticread onlyTRIANGLES:Int

staticread onlyTRIANGLE_FAN:Int

staticread onlyTRIANGLE_STRIP:Int

staticread onlyUNIFORM_ARRAY_STRIDE:Int

staticread onlyUNIFORM_BLOCK_BINDING:Int

staticread onlyUNIFORM_BLOCK_INDEX:Int

staticread onlyUNIFORM_BUFFER:Int

staticread onlyUNIFORM_BUFFER_SIZE:Int

staticread onlyUNIFORM_BUFFER_START:Int

staticread onlyUNIFORM_IS_ROW_MAJOR:Int

staticread onlyUNIFORM_MATRIX_STRIDE:Int

staticread onlyUNIFORM_OFFSET:Int

staticread onlyUNIFORM_SIZE:Int

staticread onlyUNIFORM_TYPE:Int

staticread onlyUNPACK_ALIGNMENT:Int

staticread onlyUNPACK_FLIP_Y_WEBGL:Int

staticread onlyUNPACK_IMAGE_HEIGHT:Int

staticread onlyUNPACK_ROW_LENGTH:Int

staticread onlyUNPACK_SKIP_IMAGES:Int

staticread onlyUNPACK_SKIP_PIXELS:Int

staticread onlyUNPACK_SKIP_ROWS:Int

staticread onlyUNSIGNALED:Int

staticread onlyUNSIGNED_BYTE:Int

staticread onlyUNSIGNED_INT:Int

staticread onlyUNSIGNED_INT_24_8:Int

staticread onlyUNSIGNED_INT_VEC2:Int

staticread onlyUNSIGNED_INT_VEC3:Int

staticread onlyUNSIGNED_INT_VEC4:Int

staticread onlyUNSIGNED_NORMALIZED:Int

staticread onlyUNSIGNED_SHORT:Int

staticread onlyUNSIGNED_SHORT_5_6_5:Int

staticread onlyVALIDATE_STATUS:Int

staticread onlyVENDOR:Int

staticread onlyVERSION:Int

staticread onlyVERTEX_ARRAY_BINDING:Int

staticread onlyVERTEX_SHADER:Int

staticread onlyVIEWPORT:Int

staticread onlyWAIT_FAILED:Int

staticread onlyZERO:Int

Static methods

staticinlineactiveTexture(this:Dynamic, texture:Int):Void

staticinlineattachShader(this:Dynamic, program:GLProgram, shader:GLShader):Void

staticinlinebeginQuery(this:Dynamic, target:Int, query:GLQuery):Void

staticinlinebeginTransformFeedback(this:Dynamic, primitiveNode:Int):Void

staticinlinebindAttribLocation(this:Dynamic, program:GLProgram, index:Int, name:String):Void

staticinlinebindBuffer(this:Dynamic, target:Int, buffer:GLBuffer):Void

staticinlinebindBufferBase(this:Dynamic, target:Int, index:Int, buffer:GLBuffer):Void

staticinlinebindBufferRange(this:Dynamic, target:Int, index:Int, buffer:GLBuffer, offset:DataPointer, size:Int):Void

staticinlinebindFramebuffer(this:Dynamic, target:Int, framebuffer:GLFramebuffer):Void

staticinlinebindRenderbuffer(this:Dynamic, target:Int, renderbuffer:GLRenderbuffer):Void

staticinlinebindSampler(this:Dynamic, unit:Int, sampler:GLSampler):Void

staticinlinebindTexture(this:Dynamic, target:Int, texture:GLTexture):Void

staticinlinebindTransformFeedback(this:Dynamic, target:Int, transformFeedback:GLTransformFeedback):Void

staticinlinebindVertexArray(this:Dynamic, vertexArray:GLVertexArrayObject):Void

staticinlineblendColor(this:Dynamic, red:Float, green:Float, blue:Float, alpha:Float):Void

staticinlineblendEquation(this:Dynamic, mode:Int):Void

staticinlineblendEquationSeparate(this:Dynamic, modeRGB:Int, modeAlpha:Int):Void

staticinlineblendFunc(this:Dynamic, sfactor:Int, dfactor:Int):Void

staticinlineblendFuncSeparate(this:Dynamic, srcRGB:Int, dstRGB:Int, srcAlpha:Int, dstAlpha:Int):Void

staticinlineblitFramebuffer(this:Dynamic, srcX0:Int, srcY0:Int, srcX1:Int, srcY1:Int, dstX0:Int, dstY0:Int, dstX1:Int, dstY1:Int, mask:Int, filter:Int):Void

@:value({ length : 0, srcOffset : 0 })staticbufferData(this:Dynamic, target:Int, srcData:ArrayBufferView, usage:Int, srcOffset:Int = 0, length:Int = 0):Void

@:value({ srcOffset : 0 })staticinlinebufferSubData(this:Dynamic, target:Int, offset:Int, srcData:ArrayBufferView, srcOffset:Int = 0, ?length:Int):Void

staticinlinecheckFramebufferStatus(this:Dynamic, target:Int):Int

staticinlineclear(this:Dynamic, mask:Int):Void

staticinlineclearBufferfi(this:Dynamic, buffer:Int, drawbuffer:Int, depth:Float, stencil:Int):Void

@:value({ srcOffset : 0 })staticclearBufferfv(this:Dynamic, buffer:Int, drawbuffer:Int, values:ArrayBufferView, srcOffset:Int = 0):Void

staticclearBufferiv(this:Dynamic, buffer:Int, drawbuffer:Int, values:ArrayBufferView, ?srcOffset:Int):Void

staticclearBufferuiv(this:Dynamic, buffer:Int, drawbuffer:Int, values:ArrayBufferView, ?srcOffset:Int):Void

staticinlineclearColor(this:Dynamic, red:Float, green:Float, blue:Float, alpha:Float):Void

staticinlineclearDepth(this:Dynamic, depth:Float):Void

staticinlineclearStencil(this:Dynamic, s:Int):Void

staticinlineclientWaitSync(this:Dynamic, sync:GLSync, flags:Int, timeout:Int64):Int

staticinlinecolorMask(this:Dynamic, red:Bool, green:Bool, blue:Bool, alpha:Bool):Void

staticinlinecompileShader(this:Dynamic, shader:GLShader):Void

@:value({ srcOffset : 0 })staticcompressedTexImage2D(this:Dynamic, target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, srcData:ArrayBufferView, srcOffset:Int = 0, ?srcLengthOverride:Int):Void

@:value({ srcOffset : 0 })staticcompressedTexImage3D(this:Dynamic, target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, srcData:ArrayBufferView, srcOffset:Int = 0, ?srcLengthOverride:Int):Void

@:value({ srcOffset : 0 })staticinlinecompressedTexSubImage2D(this:Dynamic, target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, srcData:ArrayBufferView, srcOffset:Int = 0, ?srcLengthOverride:Int):Void

@:value({ srcOffset : 0 })staticinlinecompressedTexSubImage3D(this:Dynamic, target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, srcData:ArrayBufferView, srcOffset:Int = 0, ?srcLengthOverride:Int):Void

staticinlinecopyBufferSubData(this:Dynamic, readTarget:Int, writeTarget:Int, readOffset:DataPointer, writeOffset:DataPointer, size:Int):Void

staticinlinecopyTexImage2D(this:Dynamic, target:Int, level:Int, internalformat:Int, x:Int, y:Int, width:Int, height:Int, border:Int):Void

staticinlinecopyTexSubImage2D(this:Dynamic, target:Int, level:Int, xoffset:Int, yoffset:Int, x:Int, y:Int, width:Int, height:Int):Void

staticinlinecopyTexSubImage3D(this:Dynamic, target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, x:Int, y:Int, width:Int, height:Int):Void

staticinlinecreateBuffer(this:Dynamic):GLBuffer

staticinlinecreateProgram(this:Dynamic):GLProgram

staticinlinecreateQuery(this:Dynamic):GLQuery

staticinlinecreateSampler(this:Dynamic):GLSampler

staticinlinecreateShader(this:Dynamic, type:Int):GLShader

staticinlinecreateTexture(this:Dynamic):GLTexture

staticinlinecullFace(this:Dynamic, mode:Int):Void

staticinlinedeleteBuffer(this:Dynamic, buffer:GLBuffer):Void

staticinlinedeleteFramebuffer(this:Dynamic, framebuffer:GLFramebuffer):Void

staticinlinedeleteProgram(this:Dynamic, program:GLProgram):Void

staticinlinedeleteQuery(this:Dynamic, query:GLQuery):Void

staticinlinedeleteRenderbuffer(this:Dynamic, renderbuffer:GLRenderbuffer):Void

staticinlinedeleteSampler(this:Dynamic, sampler:GLSampler):Void

staticinlinedeleteShader(this:Dynamic, shader:GLShader):Void

staticinlinedeleteSync(this:Dynamic, sync:GLSync):Void

staticinlinedeleteTexture(this:Dynamic, texture:GLTexture):Void

staticinlinedeleteTransformFeedback(this:Dynamic, transformFeedback:GLTransformFeedback):Void

staticinlinedeleteVertexArray(this:Dynamic, vertexArray:GLVertexArrayObject):Void

staticinlinedepthFunc(this:Dynamic, func:Int):Void

staticinlinedepthMask(this:Dynamic, flag:Bool):Void

staticinlinedepthRange(this:Dynamic, zNear:Float, zFar:Float):Void

staticinlinedetachShader(this:Dynamic, program:GLProgram, shader:GLShader):Void

staticinlinedisable(this:Dynamic, cap:Int):Void

staticinlinedisableVertexAttribArray(this:Dynamic, index:Int):Void

staticinlinedrawArrays(this:Dynamic, mode:Int, first:Int, count:Int):Void

staticinlinedrawArraysInstanced(this:Dynamic, mode:Int, first:Int, count:Int, instanceCount:Int):Void

staticinlinedrawBuffers(this:Dynamic, buffers:Array<Int>):Void

staticinlinedrawElements(this:Dynamic, mode:Int, count:Int, type:Int, offset:DataPointer):Void

staticinlinedrawElementsInstanced(this:Dynamic, mode:Int, count:Int, type:Int, offset:DataPointer, instanceCount:Int):Void

staticinlinedrawRangeElements(this:Dynamic, mode:Int, start:Int, end:Int, count:Int, type:Int, offset:DataPointer):Void

staticinlineenable(this:Dynamic, cap:Int):Void

staticinlineenableVertexAttribArray(this:Dynamic, index:Int):Void

staticinlineendQuery(this:Dynamic, target:Int):Void

staticinlinefenceSync(this:Dynamic, condition:Int, flags:Int):GLSync

staticinlinefinish(this:Dynamic):Void

staticinlineflush(this:Dynamic):Void

staticinlineframebufferRenderbuffer(this:Dynamic, target:Int, attachment:Int, renderbuffertarget:Int, renderbuffer:GLRenderbuffer):Void

staticinlineframebufferTexture2D(this:Dynamic, target:Int, attachment:Int, textarget:Int, texture:GLTexture, level:Int):Void

staticinlineframebufferTextureLayer(this:Dynamic, target:Int, attachment:Int, texture:GLTexture, level:Int, layer:Int):Void

staticinlinefrontFace(this:Dynamic, mode:Int):Void

staticinlinegenerateMipmap(this:Dynamic, target:Int):Void

staticinlinegetActiveAttrib(this:Dynamic, program:GLProgram, index:Int):GLActiveInfo

staticinlinegetActiveUniform(this:Dynamic, program:GLProgram, index:Int):GLActiveInfo

staticinlinegetActiveUniformBlockName(this:Dynamic, program:GLProgram, uniformBlockIndex:Int):String

staticinlinegetActiveUniformBlockParameter(this:Dynamic, program:GLProgram, uniformBlockIndex:Int, pname:Int):Dynamic

staticinlinegetActiveUniforms(this:Dynamic, program:GLProgram, uniformIndices:Array<Int>, pname:Int):Dynamic

staticinlinegetAttachedShaders(this:Dynamic, program:GLProgram):Array<GLShader>

staticinlinegetAttribLocation(this:Dynamic, program:GLProgram, name:String):Int

staticinlinegetBufferParameter(this:Dynamic, target:Int, pname:Int):Dynamic

@:value({ srcOffset : 0 })staticinlinegetBufferSubData(this:Dynamic, target:Int, srcByteOffset:DataPointer, dstData:ArrayBuffer, srcOffset:Int = 0, ?length:Int):Void

staticinlinegetError(this:Dynamic):Int

staticinlinegetExtension(this:Dynamic, name:String):Dynamic

staticinlinegetFragDataLocation(this:Dynamic, program:GLProgram, name:String):Int

staticinlinegetFramebufferAttachmentParameter(this:Dynamic, target:Int, attachment:Int, pname:Int):Dynamic

staticinlinegetIndexedParameter(this:Dynamic, target:Int, index:Int):Dynamic

staticinlinegetInternalformatParameter(this:Dynamic, target:Int, internalformat:Int, pname:Int):Dynamic

staticinlinegetParameter(this:Dynamic, pname:Int):Dynamic

staticinlinegetProgramInfoLog(this:Dynamic, program:GLProgram):String

staticinlinegetProgramParameter(this:Dynamic, program:GLProgram, pname:Int):Dynamic

staticinlinegetQuery(this:Dynamic, target:Int, pname:Int):GLQuery

staticinlinegetQueryParameter(this:Dynamic, query:GLQuery, pname:Int):Dynamic

staticinlinegetRenderbufferParameter(this:Dynamic, target:Int, pname:Int):Dynamic

staticinlinegetSamplerParameter(this:Dynamic, sampler:GLSampler, pname:Int):Dynamic

staticinlinegetShaderInfoLog(this:Dynamic, shader:GLShader):String

staticinlinegetShaderParameter(this:Dynamic, shader:GLShader, pname:Int):Dynamic

staticinlinegetShaderPrecisionFormat(this:Dynamic, shadertype:Int, precisiontype:Int):GLShaderPrecisionFormat

staticinlinegetShaderSource(this:Dynamic, shader:GLShader):String

staticinlinegetSyncParameter(this:Dynamic, sync:GLSync, pname:Int):Dynamic

staticinlinegetTexParameter(this:Dynamic, target:Int, pname:Int):Dynamic

staticinlinegetUniform(this:Dynamic, program:GLProgram, location:GLUniformLocation):Dynamic

staticinlinegetUniformBlockIndex(this:Dynamic, program:GLProgram, uniformBlockName:String):Int

staticinlinegetUniformIndices(this:Dynamic, program:GLProgram, uniformNames:Array<String>):Array<Int>

staticinlinegetVertexAttrib(this:Dynamic, index:Int, pname:Int):Dynamic

staticinlinegetVertexAttribOffset(this:Dynamic, index:Int, pname:Int):DataPointer

staticinlinehint(this:Dynamic, target:Int, mode:Int):Void

staticinlineinvalidateFramebuffer(this:Dynamic, target:Int, attachments:Array<Int>):Void

staticinlineinvalidateSubFramebuffer(this:Dynamic, target:Int, attachments:Array<Int>, x:Int, y:Int, width:Int, height:Int):Void

staticinlineisBuffer(this:Dynamic, buffer:GLBuffer):Bool

staticinlineisContextLost(this:Dynamic):Bool

staticinlineisEnabled(this:Dynamic, cap:Int):Bool

staticinlineisFramebuffer(this:Dynamic, framebuffer:GLFramebuffer):Bool

staticinlineisProgram(this:Dynamic, program:GLProgram):Bool

staticinlineisQuery(this:Dynamic, query:GLQuery):Bool

staticinlineisRenderbuffer(this:Dynamic, renderbuffer:GLRenderbuffer):Bool

staticinlineisSampler(this:Dynamic, sampler:GLSampler):Bool

staticinlineisShader(this:Dynamic, shader:GLShader):Bool

staticinlineisSync(this:Dynamic, sync:GLSync):Bool

staticinlineisTexture(this:Dynamic, texture:GLTexture):Bool

staticinlineisTransformFeedback(this:Dynamic, transformFeedback:GLTransformFeedback):Bool

staticinlineisVertexArray(this:Dynamic, vertexArray:GLVertexArrayObject):Bool

staticinlinelineWidth(this:Dynamic, width:Float):Void

staticinlinelinkProgram(this:Dynamic, program:GLProgram):Void

staticinlinepixelStorei(this:Dynamic, pname:Int, param:Int):Void

staticinlinepolygonOffset(this:Dynamic, factor:Float, units:Float):Void

staticinlinereadBuffer(this:Dynamic, src:Int):Void

@:value({ dstOffset : 0 })staticinlinereadPixels(this:Dynamic, x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView, dstOffset:Int = 0):Void

staticinlinerenderbufferStorage(this:Dynamic, target:Int, internalformat:Int, width:Int, height:Int):Void

staticinlinerenderbufferStorageMultisample(this:Dynamic, target:Int, samples:Int, internalformat:Int, width:Int, height:Int):Void

staticinlinesampleCoverage(this:Dynamic, value:Float, invert:Bool):Void

staticinlinesamplerParameterf(this:Dynamic, sampler:GLSampler, pname:Int, param:Float):Void

staticinlinesamplerParameteri(this:Dynamic, sampler:GLSampler, pname:Int, param:Int):Void

staticinlinescissor(this:Dynamic, x:Int, y:Int, width:Int, height:Int):Void

staticinlineshaderSource(this:Dynamic, shader:GLShader, source:String):Void

staticinlinestencilFunc(this:Dynamic, func:Int, ref:Int, mask:Int):Void

staticinlinestencilFuncSeparate(this:Dynamic, face:Int, func:Int, ref:Int, mask:Int):Void

staticinlinestencilMask(this:Dynamic, mask:Int):Void

staticinlinestencilMaskSeparate(this:Dynamic, face:Int, mask:Int):Void

staticinlinestencilOp(this:Dynamic, fail:Int, zfail:Int, zpass:Int):Void

staticinlinestencilOpSeparate(this:Dynamic, face:Int, fail:Int, zfail:Int, zpass:Int):Void

@:value({ srcOffset : 0 })staticinlinetexImage2D(this:Dynamic, target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int = 0):Void

@:value({ srcOffset : 0 })staticinlinetexImage3D(this:Dynamic, target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int = 0):Void

staticinlinetexParameterf(this:Dynamic, target:Int, pname:Int, param:Float):Void

staticinlinetexParameteri(this:Dynamic, target:Int, pname:Int, param:Int):Void

staticinlinetexStorage2D(this:Dynamic, target:Int, level:Int, internalformat:Int, width:Int, height:Int):Void

staticinlinetexStorage3D(this:Dynamic, target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int):Void

@:value({ srcOffset : 0 })staticinlinetexSubImage2D(this:Dynamic, target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int = 0):Void

@:value({ srcOffset : 0 })staticinlinetexSubImage3D(this:Dynamic, target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int = 0):Void

staticinlinetransformFeedbackVaryings(this:Dynamic, program:GLProgram, varyings:Array<String>, bufferMode:Int):Void

staticinlineuniform1f(this:Dynamic, location:GLUniformLocation, v0:Float):Void

staticinlineuniform1fv(this:Dynamic, location:GLUniformLocation, v:Float32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform1i(this:Dynamic, location:GLUniformLocation, v0:Int):Void

staticinlineuniform1iv(this:Dynamic, location:GLUniformLocation, v:Int32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform1ui(this:Dynamic, location:GLUniformLocation, v0:Int):Void

staticinlineuniform1uiv(this:Dynamic, location:GLUniformLocation, v:UInt32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform2f(this:Dynamic, location:GLUniformLocation, v0:Float, v1:Float):Void

staticinlineuniform2fv(this:Dynamic, location:GLUniformLocation, v:Float32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform2i(this:Dynamic, location:GLUniformLocation, v0:Int, v1:Int):Void

staticinlineuniform2iv(this:Dynamic, location:GLUniformLocation, v:Int32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform2ui(this:Dynamic, location:GLUniformLocation, v0:Int, v1:Int):Void

staticinlineuniform2uiv(this:Dynamic, location:GLUniformLocation, v:UInt32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform3f(this:Dynamic, location:GLUniformLocation, v0:Float, v1:Float, v2:Float):Void

staticinlineuniform3fv(this:Dynamic, location:GLUniformLocation, v:Float32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform3i(this:Dynamic, location:GLUniformLocation, v0:Int, v1:Int, v2:Int):Void

staticinlineuniform3iv(this:Dynamic, location:GLUniformLocation, v:Int32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform3ui(this:Dynamic, location:GLUniformLocation, v0:Int, v1:Int, v2:Int):Void

staticinlineuniform3uiv(this:Dynamic, location:GLUniformLocation, v:UInt32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform4f(this:Dynamic, location:GLUniformLocation, v0:Float, v1:Float, v2:Float, v3:Float):Void

staticinlineuniform4fv(this:Dynamic, location:GLUniformLocation, v:Float32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform4i(this:Dynamic, location:GLUniformLocation, v0:Int, v1:Int, v2:Int, v3:Int):Void

staticinlineuniform4iv(this:Dynamic, location:GLUniformLocation, v:Int32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniform4ui(this:Dynamic, location:GLUniformLocation, v0:Int, v1:Int, v2:Int, v3:Int):Void

staticinlineuniform4uiv(this:Dynamic, location:GLUniformLocation, v:UInt32Array, ?srcOffset:Int, ?srcLength:Int):Void

staticinlineuniformBlockBinding(this:Dynamic, program:GLProgram, uniformBlockIndex:Int, uniformBlockBinding:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix2fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix2x3fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix2x4fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix3fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix3x2fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix3x4fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix4fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix4x2fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

@:value({ srcOffset : 0 })staticuniformMatrix4x3fv(this:Dynamic, location:GLUniformLocation, transpose:Bool, v:Float32Array, srcOffset:Int = 0, ?srcLength:Int):Void

staticinlineuseProgram(this:Dynamic, program:GLProgram):Void

staticinlinevalidateProgram(this:Dynamic, program:GLProgram):Void

staticinlinevertexAttrib1f(this:Dynamic, indx:Int, x:Float):Void

staticinlinevertexAttrib1fv(this:Dynamic, indx:Int, values:Float32Array):Void

staticinlinevertexAttrib2f(this:Dynamic, indx:Int, x:Float, y:Float):Void

staticinlinevertexAttrib2fv(this:Dynamic, indx:Int, values:Float32Array):Void

staticinlinevertexAttrib3f(this:Dynamic, indx:Int, x:Float, y:Float, z:Float):Void

staticinlinevertexAttrib3fv(this:Dynamic, indx:Int, values:Float32Array):Void

staticinlinevertexAttrib4f(this:Dynamic, indx:Int, x:Float, y:Float, z:Float, w:Float):Void

staticinlinevertexAttrib4fv(this:Dynamic, indx:Int, values:Float32Array):Void

staticinlinevertexAttribDivisor(this:Dynamic, index:Int, divisor:Int):Void

staticinlinevertexAttribI4i(this:Dynamic, indx:Int, x:Int, y:Int, z:Int, w:Int):Void

staticinlinevertexAttribI4iv(this:Dynamic, indx:Int, values:Float32Array):Void

staticinlinevertexAttribI4ui(this:Dynamic, indx:Int, x:Int, y:Int, z:Int, w:Int):Void

staticinlinevertexAttribI4uiv(this:Dynamic, indx:Int, values:Float32Array):Void

staticinlinevertexAttribIPointer(this:Dynamic, index:Int, size:Int, type:Int, stride:Int, offset:DataPointer):Void

staticinlinevertexAttribPointer(this:Dynamic, indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, offset:DataPointer):Void

staticinlineviewport(this:Dynamic, x:Int, y:Int, width:Int, height:Int):Void

staticinlinewaitSync(this:Dynamic, sync:GLSync, flags:Int, timeout:Int64):Void