The OpenGLES3RenderContext allows access to OpenGL ES 3.0 features when OpenGL or OpenGL ES is the render context type of the Window, and the current context supports GLES3 features.

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

Platforms supporting an OpenGL ES 3.0 context are compatible with the Lime WebGLRenderContext as well as the WebGL2RenderContext if you would prefer to write WebGL-style code, or support web browsers with the same code. Be aware that not all browsers support WebGL 2, so only plain WebGL might be available.

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

var gles3:OpenGLES3RenderContext = window.context;
var gles3:OpenGLES3RenderContext = gl;
var gles3:OpenGLES3RenderContext = GL;

var gles2:OpenGLES2RenderContext = gles3;
var webgl2:WebGL2RenderContext = gles3;
var webgl:WebGLRenderContext = gles3;

Variables

read onlyACTIVE_ATTRIBUTES:Int

read onlyACTIVE_TEXTURE:Int

read onlyACTIVE_UNIFORMS:Int

read onlyALPHA:Int

read onlyALPHA_BITS:Int

read onlyALREADY_SIGNALED:Int

read onlyALWAYS:Int

read onlyANY_SAMPLES_PASSED:Int

read onlyARRAY_BUFFER:Int

read onlyATTACHED_SHADERS:Int

read onlyBACK:Int

read onlyBLEND:Int

read onlyBLEND_COLOR:Int

read onlyBLEND_DST_ALPHA:Int

read onlyBLEND_DST_RGB:Int

read onlyBLEND_EQUATION:Int

read onlyBLEND_EQUATION_RGB:Int

read onlyBLEND_SRC_ALPHA:Int

read onlyBLEND_SRC_RGB:Int

read onlyBLUE_BITS:Int

read onlyBOOL:Int

read onlyBOOL_VEC2:Int

read onlyBOOL_VEC3:Int

read onlyBOOL_VEC4:Int

read onlyBUFFER_SIZE:Int

read onlyBUFFER_USAGE:Int

read onlyBYTE:Int

read onlyCCW:Int

read onlyCLAMP_TO_EDGE:Int

read onlyCOLOR:Int

read onlyCOLOR_ATTACHMENT0:Int

read onlyCOLOR_ATTACHMENT1:Int

read onlyCOLOR_ATTACHMENT10:Int

read onlyCOLOR_ATTACHMENT11:Int

read onlyCOLOR_ATTACHMENT12:Int

read onlyCOLOR_ATTACHMENT13:Int

read onlyCOLOR_ATTACHMENT14:Int

read onlyCOLOR_ATTACHMENT15:Int

read onlyCOLOR_ATTACHMENT2:Int

read onlyCOLOR_ATTACHMENT3:Int

read onlyCOLOR_ATTACHMENT4:Int

read onlyCOLOR_ATTACHMENT5:Int

read onlyCOLOR_ATTACHMENT6:Int

read onlyCOLOR_ATTACHMENT7:Int

read onlyCOLOR_ATTACHMENT8:Int

read onlyCOLOR_ATTACHMENT9:Int

read onlyCOLOR_BUFFER_BIT:Int

read onlyCOLOR_CLEAR_VALUE:Int

read onlyCOLOR_WRITEMASK:Int

read onlyCOMPILE_STATUS:Int

read onlyCONDITION_SATISFIED:Int

read onlyCONSTANT_ALPHA:Int

read onlyCONSTANT_COLOR:Int

read onlyCONTEXT_LOST_WEBGL:Int

read onlyCOPY_READ_BUFFER:Int

read onlyCOPY_WRITE_BUFFER:Int

read onlyCULL_FACE:Int

read onlyCULL_FACE_MODE:Int

read onlyCURRENT_PROGRAM:Int

read onlyCURRENT_QUERY:Int

read onlyCW:Int

read onlyDECR:Int

read onlyDECR_WRAP:Int

read onlyDELETE_STATUS:Int

read onlyDEPTH:Int

read onlyDEPTH24_STENCIL8:Int

read onlyDEPTH32F_STENCIL8:Int

read onlyDEPTH_ATTACHMENT:Int

read onlyDEPTH_BITS:Int

read onlyDEPTH_BUFFER_BIT:Int

read onlyDEPTH_CLEAR_VALUE:Int

read onlyDEPTH_COMPONENT:Int

read onlyDEPTH_COMPONENT16:Int

read onlyDEPTH_COMPONENT24:Int

read onlyDEPTH_COMPONENT32F:Int

read onlyDEPTH_FUNC:Int

read onlyDEPTH_RANGE:Int

read onlyDEPTH_STENCIL:Int

read onlyDEPTH_TEST:Int

read onlyDEPTH_WRITEMASK:Int

read onlyDITHER:Int

read onlyDONT_CARE:Int

read onlyDRAW_BUFFER0:Int

read onlyDRAW_BUFFER1:Int

read onlyDRAW_BUFFER10:Int

read onlyDRAW_BUFFER11:Int

read onlyDRAW_BUFFER12:Int

read onlyDRAW_BUFFER13:Int

read onlyDRAW_BUFFER14:Int

read onlyDRAW_BUFFER15:Int

read onlyDRAW_BUFFER2:Int

read onlyDRAW_BUFFER3:Int

read onlyDRAW_BUFFER4:Int

read onlyDRAW_BUFFER5:Int

read onlyDRAW_BUFFER6:Int

read onlyDRAW_BUFFER7:Int

read onlyDRAW_BUFFER8:Int

read onlyDRAW_BUFFER9:Int

read onlyDRAW_FRAMEBUFFER:Int

read onlyDST_ALPHA:Int

read onlyDST_COLOR:Int

read onlyDYNAMIC_COPY:Int

read onlyDYNAMIC_DRAW:Int

read onlyDYNAMIC_READ:Int

read onlyEQUAL:Int

read onlyEXTENSIONS:Int

read onlyFASTEST:Int

read onlyFLOAT:Int

read onlyFLOAT_MAT2:Int

read onlyFLOAT_MAT2x3:Int

read onlyFLOAT_MAT2x4:Int

read onlyFLOAT_MAT3:Int

read onlyFLOAT_MAT3x2:Int

read onlyFLOAT_MAT3x4:Int

read onlyFLOAT_MAT4:Int

read onlyFLOAT_MAT4x2:Int

read onlyFLOAT_MAT4x3:Int

read onlyFLOAT_VEC2:Int

read onlyFLOAT_VEC3:Int

read onlyFLOAT_VEC4:Int

read onlyFRAGMENT_SHADER:Int

read onlyFRAMEBUFFER:Int

read onlyFRAMEBUFFER_BINDING:Int

read onlyFRAMEBUFFER_DEFAULT:Int

read onlyFRONT:Int

read onlyFRONT_AND_BACK:Int

read onlyFRONT_FACE:Int

read onlyFUNC_ADD:Int

read onlyFUNC_SUBTRACT:Int

read onlyGEQUAL:Int

read onlyGREATER:Int

read onlyGREEN_BITS:Int

read onlyHALF_FLOAT:Int

read onlyHIGH_FLOAT:Int

read onlyHIGH_INT:Int

read onlyINCR:Int

read onlyINCR_WRAP:Int

read onlyINT:Int

read onlyINTERLEAVED_ATTRIBS:Int

read onlyINT_2_10_10_10_REV:Int

read onlyINT_SAMPLER_2D:Int

read onlyINT_SAMPLER_3D:Int

read onlyINT_SAMPLER_CUBE:Int

read onlyINT_VEC2:Int

read onlyINT_VEC3:Int

read onlyINT_VEC4:Int

read onlyINVALID_ENUM:Int

read onlyINVALID_INDEX:Int

read onlyINVALID_OPERATION:Int

read onlyINVALID_VALUE:Int

read onlyINVERT:Int

read onlyKEEP:Int

read onlyLEQUAL:Int

read onlyLESS:Int

read onlyLINEAR:Int

read onlyLINES:Int

read onlyLINE_LOOP:Int

read onlyLINE_STRIP:Int

read onlyLINE_WIDTH:Int

read onlyLINK_STATUS:Int

read onlyLOW_FLOAT:Int

read onlyLOW_INT:Int

read onlyLUMINANCE:Int

read onlyLUMINANCE_ALPHA:Int

read onlyMAX:Int

read onlyMAX_3D_TEXTURE_SIZE:Int

read onlyMAX_DRAW_BUFFERS:Int

read onlyMAX_ELEMENT_INDEX:Int

read onlyMAX_SAMPLES:Int

read onlyMAX_TEXTURE_SIZE:Int

read onlyMAX_VARYING_VECTORS:Int

read onlyMAX_VERTEX_ATTRIBS:Int

read onlyMAX_VIEWPORT_DIMS:Int

read onlyMEDIUM_FLOAT:Int

read onlyMEDIUM_INT:Int

read onlyMIN:Int

read onlyMIRRORED_REPEAT:Int

read onlyNEAREST:Int

read onlyNEVER:Int

read onlyNICEST:Int

read onlyNONE:Int

read onlyNOTEQUAL:Int

read onlyNO_ERROR:Int

read onlyOBJECT_TYPE:Int

read onlyONE:Int

read onlyONE_MINUS_DST_ALPHA:Int

read onlyONE_MINUS_DST_COLOR:Int

read onlyONE_MINUS_SRC_ALPHA:Int

read onlyONE_MINUS_SRC_COLOR:Int

read onlyOUT_OF_MEMORY:Int

read onlyPACK_ALIGNMENT:Int

read onlyPACK_ROW_LENGTH:Int

read onlyPACK_SKIP_PIXELS:Int

read onlyPACK_SKIP_ROWS:Int

read onlyPIXEL_PACK_BUFFER:Int

read onlyPIXEL_UNPACK_BUFFER:Int

read onlyPOINTS:Int

read onlyPOINT_SPRITE:Int

read onlyPOLYGON_OFFSET_FILL:Int

read onlyQUERY_RESULT:Int

read onlyR11F_G11F_B10F:Int

read onlyR16F:Int

read onlyR16I:Int

read onlyR16UI:Int

read onlyR32F:Int

read onlyR32I:Int

read onlyR32UI:Int

read onlyR8:Int

read onlyR8I:Int

read onlyR8UI:Int

read onlyR8_SNORM:Int

read onlyRASTERIZER_DISCARD:Int

read onlyREAD_BUFFER:Int

read onlyREAD_FRAMEBUFFER:Int

read onlyRED:Int

read onlyRED_BITS:Int

read onlyRED_INTEGER:Int

read onlyRENDERBUFFER:Int

read onlyRENDERBUFFER_HEIGHT:Int

read onlyRENDERBUFFER_WIDTH:Int

read onlyRENDERER:Int

read onlyREPEAT:Int

read onlyREPLACE:Int

read onlyRG:Int

read onlyRG16F:Int

read onlyRG16I:Int

read onlyRG16UI:Int

read onlyRG32F:Int

read onlyRG32I:Int

read onlyRG32UI:Int

read onlyRG8:Int

read onlyRG8I:Int

read onlyRG8UI:Int

read onlyRG8_SNORM:Int

read onlyRGB:Int

read onlyRGB10_A2:Int

read onlyRGB10_A2UI:Int

read onlyRGB16F:Int

read onlyRGB16I:Int

read onlyRGB16UI:Int

read onlyRGB32F:Int

read onlyRGB32I:Int

read onlyRGB32UI:Int

read onlyRGB565:Int

read onlyRGB5_A1:Int

read onlyRGB8:Int

read onlyRGB8I:Int

read onlyRGB8UI:Int

read onlyRGB8_SNORM:Int

read onlyRGB9_E5:Int

read onlyRGBA:Int

read onlyRGBA16F:Int

read onlyRGBA16I:Int

read onlyRGBA16UI:Int

read onlyRGBA32F:Int

read onlyRGBA32I:Int

read onlyRGBA32UI:Int

read onlyRGBA4:Int

read onlyRGBA8:Int

read onlyRGBA8I:Int

read onlyRGBA8UI:Int

read onlyRGBA8_SNORM:Int

read onlyRGBA_INTEGER:Int

read onlyRGB_INTEGER:Int

read onlyRG_INTEGER:Int

read onlySAMPLER_2D:Int

read onlySAMPLER_2D_ARRAY:Int

read onlySAMPLER_2D_SHADOW:Int

read onlySAMPLER_3D:Int

read onlySAMPLER_BINDING:Int

read onlySAMPLER_CUBE:Int

read onlySAMPLER_CUBE_SHADOW:Int

read onlySAMPLES:Int

read onlySAMPLE_BUFFERS:Int

read onlySAMPLE_COVERAGE:Int

read onlySCISSOR_BOX:Int

read onlySCISSOR_TEST:Int

read onlySEPARATE_ATTRIBS:Int

read onlySHADER_TYPE:Int

read onlySHORT:Int

read onlySIGNALED:Int

read onlySIGNED_NORMALIZED:Int

read onlySRC_ALPHA:Int

read onlySRC_ALPHA_SATURATE:Int

read onlySRC_COLOR:Int

read onlySRGB:Int

read onlySRGB8:Int

read onlySRGB8_ALPHA8:Int

read onlySTATIC_COPY:Int

read onlySTATIC_DRAW:Int

read onlySTATIC_READ:Int

read onlySTENCIL:Int

read onlySTENCIL_ATTACHMENT:Int

read onlySTENCIL_BACK_FAIL:Int

read onlySTENCIL_BACK_FUNC:Int

read onlySTENCIL_BACK_REF:Int

read onlySTENCIL_BITS:Int

read onlySTENCIL_BUFFER_BIT:Int

read onlySTENCIL_CLEAR_VALUE:Int

read onlySTENCIL_FAIL:Int

read onlySTENCIL_FUNC:Int

read onlySTENCIL_INDEX:Int

read onlySTENCIL_INDEX8:Int

read onlySTENCIL_REF:Int

read onlySTENCIL_TEST:Int

read onlySTENCIL_VALUE_MASK:Int

read onlySTENCIL_WRITEMASK:Int

read onlySTREAM_COPY:Int

read onlySTREAM_DRAW:Int

read onlySTREAM_READ:Int

read onlySUBPIXEL_BITS:Int

read onlySYNC_CONDITION:Int

read onlySYNC_FENCE:Int

read onlySYNC_FLAGS:Int

read onlySYNC_STATUS:Int

read onlyTEXTURE:Int

read onlyTEXTURE0:Int

read onlyTEXTURE1:Int

read onlyTEXTURE10:Int

read onlyTEXTURE11:Int

read onlyTEXTURE12:Int

read onlyTEXTURE13:Int

read onlyTEXTURE14:Int

read onlyTEXTURE15:Int

read onlyTEXTURE16:Int

read onlyTEXTURE17:Int

read onlyTEXTURE18:Int

read onlyTEXTURE19:Int

read onlyTEXTURE2:Int

read onlyTEXTURE20:Int

read onlyTEXTURE21:Int

read onlyTEXTURE22:Int

read onlyTEXTURE23:Int

read onlyTEXTURE24:Int

read onlyTEXTURE25:Int

read onlyTEXTURE26:Int

read onlyTEXTURE27:Int

read onlyTEXTURE28:Int

read onlyTEXTURE29:Int

read onlyTEXTURE3:Int

read onlyTEXTURE30:Int

read onlyTEXTURE31:Int

read onlyTEXTURE4:Int

read onlyTEXTURE5:Int

read onlyTEXTURE6:Int

read onlyTEXTURE7:Int

read onlyTEXTURE8:Int

read onlyTEXTURE9:Int

read onlyTEXTURE_2D:Int

read onlyTEXTURE_2D_ARRAY:Int

read onlyTEXTURE_3D:Int

read onlyTEXTURE_BASE_LEVEL:Int

read onlyTEXTURE_BINDING_2D:Int

read onlyTEXTURE_BINDING_3D:Int

read onlyTEXTURE_CUBE_MAP:Int

read onlyTEXTURE_MAG_FILTER:Int

read onlyTEXTURE_MAX_LEVEL:Int

read onlyTEXTURE_MAX_LOD:Int

read onlyTEXTURE_MIN_FILTER:Int

read onlyTEXTURE_MIN_LOD:Int

read onlyTEXTURE_WRAP_R:Int

read onlyTEXTURE_WRAP_S:Int

read onlyTEXTURE_WRAP_T:Int

read onlyTIMEOUT_EXPIRED:Int

read onlyTIMEOUT_IGNORED:Int

read onlyTRANSFORM_FEEDBACK:Int

read onlyTRIANGLES:Int

read onlyTRIANGLE_FAN:Int

read onlyTRIANGLE_STRIP:Int

read onlyUNIFORM_BLOCK_INDEX:Int

read onlyUNIFORM_BUFFER:Int

read onlyUNIFORM_BUFFER_SIZE:Int

read onlyUNIFORM_OFFSET:Int

read onlyUNIFORM_SIZE:Int

read onlyUNIFORM_TYPE:Int

read onlyUNPACK_ALIGNMENT:Int

read onlyUNPACK_FLIP_Y_WEBGL:Int

read onlyUNPACK_IMAGE_HEIGHT:Int

read onlyUNPACK_ROW_LENGTH:Int

read onlyUNPACK_SKIP_IMAGES:Int

read onlyUNPACK_SKIP_PIXELS:Int

read onlyUNPACK_SKIP_ROWS:Int

read onlyUNSIGNALED:Int

read onlyUNSIGNED_BYTE:Int

read onlyUNSIGNED_INT:Int

read onlyUNSIGNED_INT_24_8:Int

read onlyUNSIGNED_INT_VEC2:Int

read onlyUNSIGNED_INT_VEC3:Int

read onlyUNSIGNED_INT_VEC4:Int

read onlyUNSIGNED_NORMALIZED:Int

read onlyUNSIGNED_SHORT:Int

read onlyVALIDATE_STATUS:Int

read onlyVENDOR:Int

read onlyVERSION:Int

read onlyVERTEX_SHADER:Int

read onlyVIEWPORT:Int

read onlyWAIT_FAILED:Int

read onlyZERO:Int

read onlyversion:Float

Methods

inline activeTexture (texture:Int):Void

inline attachShader (program:GLProgram, shader:GLShader):Void

inline beginQuery (target:Int, query:GLQuery):Void

inline beginTransformFeedback (primitiveNode:Int):Void

inline bindAttribLocation (program:GLProgram, index:Int, name:String):Void

inline bindBuffer (target:Int, buffer:GLBuffer):Void

inline bindBufferBase (target:Int, index:Int, buffer:GLBuffer):Void

inline bindBufferRange (target:Int, index:Int, buffer:GLBuffer, offset:DataPointer, size:Int):Void

inline bindFramebuffer (target:Int, framebuffer:GLFramebuffer):Void

inline bindRenderbuffer (target:Int, renderbuffer:GLRenderbuffer):Void

inline bindSampler (unit:Int, sampler:GLSampler):Void

inline bindTexture (target:Int, texture:GLTexture):Void

inline bindTransformFeedback (target:Int, transformFeedback:GLTransformFeedback):Void

inline bindVertexArray (vertexArray:GLVertexArrayObject):Void

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

inline blendEquation (mode:Int):Void

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

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

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

inline blitFramebuffer (srcX0:Int, srcY0:Int, srcX1:Int, srcY1:Int, dstX0:Int, dstY0:Int, dstX1:Int, dstY1:Int, mask:Int, filter:Int):Void

inline bufferData (target:Int, size:Int, data:DataPointer, usage:Int):Void

inline bufferSubData (target:Int, offset:Int, size:Int, data:DataPointer):Void

inline checkFramebufferStatus (target:Int):Int

inline clear (mask:Int):Void

inline clearBufferfi (buffer:Int, drawbuffer:Int, depth:Float, stencil:Int):Void

inline clearBufferfv (buffer:Int, drawbuffer:Int, value:DataPointer):Void

inline clearBufferiv (buffer:Int, drawbuffer:Int, value:DataPointer):Void

inline clearBufferuiv (buffer:Int, drawbuffer:Int, value:DataPointer):Void

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

inline clearDepthf (depth:Float):Void

inline clearStencil (s:Int):Void

inline clientWaitSync (sync:GLSync, flags:Int, timeout:Int64):Int

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

inline compileShader (shader:GLShader):Void

inline compressedTexImage2D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, imageSize:Int, data:DataPointer):Void

inline compressedTexImage3D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, imageSize:Int, data:DataPointer):Void

inline compressedTexSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, imageSize:Int, data:DataPointer):Void

inline compressedTexSubImage3D (target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, imageSize:Int, data:DataPointer):Void

inline copyBufferSubData (readTarget:Int, writeTarget:Int, readOffset:DataPointer, writeOffset:DataPointer, size:Int):Void

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

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

inline copyTexSubImage3D (target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, x:Int, y:Int, width:Int, height:Int):Void

inline createShader (type:Int):GLShader

inline cullFace (mode:Int):Void

inline deleteBuffer (buffer:GLBuffer):Void

inline deleteFramebuffer (framebuffer:GLFramebuffer):Void

inline deleteProgram (program:GLProgram):Void

inline deleteQuery (query:GLQuery):Void

inline deleteRenderbuffer (renderbuffer:GLRenderbuffer):Void

inline deleteSampler (sampler:GLSampler):Void

inline deleteShader (shader:GLShader):Void

inline deleteSync (sync:GLSync):Void

inline deleteTexture (texture:GLTexture):Void

inline deleteTransformFeedback (transformFeedback:GLTransformFeedback):Void

inline deleteVertexArray (vertexArray:GLVertexArrayObject):Void

inline depthFunc (func:Int):Void

inline depthMask (flag:Bool):Void

inline depthRangef (zNear:Float, zFar:Float):Void

inline detachShader (program:GLProgram, shader:GLShader):Void

inline disable (cap:Int):Void

inline disableVertexAttribArray (index:Int):Void

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

inline drawArraysInstanced (mode:Int, first:Int, count:Int, instanceCount:Int):Void

inline drawBuffers (buffers:Array<Int>):Void

inline drawElements (mode:Int, count:Int, type:Int, offset:DataPointer):Void

inline drawElementsInstanced (mode:Int, count:Int, type:Int, offset:DataPointer, instanceCount:Int):Void

inline drawRangeElements (mode:Int, start:Int, end:Int, count:Int, type:Int, offset:DataPointer):Void

inline enable (cap:Int):Void

inline enableVertexAttribArray (index:Int):Void

inline endQuery (target:Int):Void

inline endTransformFeedback ():Void

inline fenceSync (condition:Int, flags:Int):GLSync

inline finish ():Void

inline flush ():Void

inline framebufferRenderbuffer (target:Int, attachment:Int, renderbuffertarget:Int, renderbuffer:GLRenderbuffer):Void

inline framebufferTexture2D (target:Int, attachment:Int, textarget:Int, texture:GLTexture, level:Int):Void

inline framebufferTextureLayer (target:Int, attachment:Int, texture:GLTexture, level:Int, layer:Int):Void

inline frontFace (mode:Int):Void

genBuffers (n:Int, ?buffers:Array<GLBuffer>):Array<GLBuffer>

genFramebuffers (n:Int, ?framebuffers:Array<GLFramebuffer>):Array<GLFramebuffer>

genQueries (n:Int, ?queries:Array<GLQuery>):Array<GLQuery>

genRenderbuffers (n:Int, ?renderbuffers:Array<GLRenderbuffer>):Array<GLRenderbuffer>

genSamplers (n:Int, ?samplers:Array<GLSampler>):Array<GLSampler>

genTextures (n:Int, ?textures:Array<GLTexture>):Array<GLTexture>

genTransformFeedbacks (n:Int, ?transformFeedbacks:Array<GLTransformFeedback>):Array<GLTransformFeedback>

inline generateMipmap (target:Int):Void

inline getActiveAttrib (program:GLProgram, index:Int):GLActiveInfo

inline getActiveUniform (program:GLProgram, index:Int):GLActiveInfo

inline getActiveUniformBlockName (program:GLProgram, uniformBlockIndex:Int):String

inline getActiveUniformBlocki (program:GLProgram, uniformBlockIndex:Int, pname:Int):Int

inline getActiveUniformBlockiv (program:GLProgram, uniformBlockIndex:Int, pname:Int, params:DataPointer):Void

inline getActiveUniformsiv (program:GLProgram, uniformIndices:Array<Int>, pname:Int, params:DataPointer):Void

inline getAttachedShaders (program:GLProgram):Array<GLShader>

inline getAttribLocation (program:GLProgram, name:String):Int

inline getBoolean (pname:Int):Bool

inline getBooleanv (pname:Int, params:DataPointer):Void

inline getBufferParameteri (target:Int, pname:Int):Int

inline getBufferParameteri64v (target:Int, pname:Int, params:DataPointer):Void

inline getBufferParameteriv (target:Int, pname:Int, params:DataPointer):Void

inline getBufferPointerv (target:Int, pname:Int):DataPointer

inline getError ():Int

inline getExtension (name:String):Dynamic

inline getFloat (pname:Int):Float

inline getFloatv (pname:Int, params:DataPointer):Void

inline getFragDataLocation (program:GLProgram, name:String):Int

inline getFramebufferAttachmentParameteri (target:Int, attachment:Int, pname:Int):Int

inline getFramebufferAttachmentParameteriv (target:Int, attachment:Int, pname:Int, params:DataPointer):Void

inline getInteger (pname:Int):Int

inline getInteger64 (pname:Int):Int64

inline getInteger64i (pname:Int):Int64

inline getInteger64i_v (pname:Int, index:Int, params:DataPointer):Void

inline getInteger64v (pname:Int, params:DataPointer):Void

inline getIntegeri_v (pname:Int, index:Int, params:DataPointer):Void

inline getIntegerv (pname:Int, params:DataPointer):Void

inline getInternalformati (target:Int, internalformat:Int, pname:Int):Int

inline getInternalformativ (target:Int, internalformat:Int, pname:Int, bufSize:Int, params:DataPointer):Void

inline getProgramBinary (program:GLProgram, binaryFormat:Int):Bytes

inline getProgramInfoLog (program:GLProgram):String

inline getProgrami (program:GLProgram, pname:Int):Int

inline getProgramiv (program:GLProgram, pname:Int, params:DataPointer):Void

inline getQueryObjectui (query:GLQuery, pname:Int):Int

inline getQueryObjectuiv (query:GLQuery, pname:Int, params:DataPointer):Void

inline getQueryi (target:Int, pname:Int):Int

inline getQueryiv (target:Int, pname:Int, params:DataPointer):Void

inline getRenderbufferParameteri (target:Int, pname:Int):Int

inline getRenderbufferParameteriv (target:Int, pname:Int, params:DataPointer):Void

inline getSamplerParameterf (sampler:GLSampler, pname:Int):Float

inline getSamplerParameterfv (sampler:GLSampler, pname:Int, params:DataPointer):Void

inline getSamplerParameteri (sampler:GLSampler, pname:Int):Int

inline getSamplerParameteriv (sampler:GLSampler, pname:Int, params:DataPointer):Void

inline getShaderInfoLog (shader:GLShader):String

inline getShaderPrecisionFormat (shadertype:Int, precisiontype:Int):GLShaderPrecisionFormat

inline getShaderSource (shader:GLShader):String

inline getShaderi (shader:GLShader, pname:Int):Int

inline getShaderiv (shader:GLShader, pname:Int, params:DataPointer):Void

inline getString (name:Int):String

inline getStringi (name:Int, index:Int):String

inline getSyncParameteri (sync:GLSync, pname:Int):Int

inline getSyncParameteriv (sync:GLSync, pname:Int, params:DataPointer):Void

inline getTexParameterf (target:Int, pname:Int):Float

inline getTexParameterfv (target:Int, pname:Int, params:DataPointer):Void

inline getTexParameteri (target:Int, pname:Int):Int

inline getTexParameteriv (target:Int, pname:Int, params:DataPointer):Void

inline getUniformBlockIndex (program:GLProgram, uniformBlockName:String):Int

inline getUniformIndices (program:GLProgram, uniformNames:Array<String>):Array<Int>

inline getUniformLocation (program:GLProgram, name:String):GLUniformLocation

inline getUniformf (program:GLProgram, location:GLUniformLocation):Float

inline getUniformfv (program:GLProgram, location:GLUniformLocation, params:DataPointer):Void

inline getUniformi (program:GLProgram, location:GLUniformLocation):Int

inline getUniformiv (program:GLProgram, location:GLUniformLocation, params:DataPointer):Void

inline getUniformui (program:GLProgram, location:GLUniformLocation):Int

inline getUniformuiv (program:GLProgram, location:GLUniformLocation, params:DataPointer):Void

inline getVertexAttribIi (index:Int, pname:Int):Int

inline getVertexAttribIiv (index:Int, pname:Int, params:DataPointer):Void

inline getVertexAttribIui (index:Int, pname:Int):Int

inline getVertexAttribIuiv (index:Int, pname:Int, params:DataPointer):Void

inline getVertexAttribPointerv (index:Int, pname:Int):DataPointer

inline getVertexAttribf (index:Int, pname:Int):Float

inline getVertexAttribfv (index:Int, pname:Int, params:DataPointer):Void

inline getVertexAttribi (index:Int, pname:Int):Int

inline getVertexAttribiv (index:Int, pname:Int, params:DataPointer):Void

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

inline invalidateFramebuffer (target:Int, attachments:Array<Int>):Void

inline invalidateSubFramebuffer (target:Int, attachments:Array<Int>, x:Int, y:Int, width:Int, height:Int):Void

inline isBuffer (buffer:GLBuffer):Bool

inline isEnabled (cap:Int):Bool

inline isFramebuffer (framebuffer:GLFramebuffer):Bool

inline isProgram (program:GLProgram):Bool

inline isQuery (query:GLQuery):Bool

inline isRenderbuffer (renderbuffer:GLRenderbuffer):Bool

inline isSampler (sampler:GLSampler):Bool

inline isShader (shader:GLShader):Bool

inline isTexture (texture:GLTexture):Bool

inline isTransformFeedback (transformFeedback:GLTransformFeedback):Bool

inline isVertexArray (vertexArray:GLVertexArrayObject):Bool

inline lineWidth (width:Float):Void

inline linkProgram (program:GLProgram):Void

inline mapBufferRange (target:Int, offset:DataPointer, length:Int, access:Int):DataPointer

inline pauseTransformFeedback ():Void

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

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

inline programBinary (program:GLProgram, binaryFormat:Int, binary:DataPointer, length:Int):Void

inline programParameteri (program:GLProgram, pname:Int, value:Int):Void

inline readBuffer (src:Int):Void

inline readPixels (x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, data:DataPointer):Void

inline releaseShaderCompiler ():Void

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

inline renderbufferStorageMultisample (target:Int, samples:Int, internalformat:Int, width:Int, height:Int):Void

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

inline samplerParameterf (sampler:GLSampler, pname:Int, param:Float):Void

inline samplerParameteri (sampler:GLSampler, pname:Int, param:Int):Void

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

inline shaderBinary (shaders:Array<GLShader>, binaryformat:Int, binary:DataPointer, length:Int):Void

inline shaderSource (shader:GLShader, source:String):Void

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

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

inline stencilMask (mask:Int):Void

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

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

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

inline texImage2D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, data:DataPointer):Void

inline texImage3D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, data:DataPointer):Void

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

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

inline texStorage2D (target:Int, level:Int, internalformat:Int, width:Int, height:Int):Void

inline texStorage3D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int):Void

inline texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, data:DataPointer):Void

inline texSubImage3D (target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, data:DataPointer):Void

inline transformFeedbackVaryings (program:GLProgram, varyings:Array<String>, bufferMode:Int):Void

inline uniform1f (location:GLUniformLocation, v0:Float):Void

inline uniform1fv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform1i (location:GLUniformLocation, v0:Int):Void

inline uniform1iv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform1ui (location:GLUniformLocation, v0:Int):Void

inline uniform1uiv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform2f (location:GLUniformLocation, v0:Float, v1:Float):Void

inline uniform2fv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform2i (location:GLUniformLocation, v0:Int, v1:Int):Void

inline uniform2iv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform2ui (location:GLUniformLocation, v0:Int, v1:Int):Void

inline uniform2uiv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform3f (location:GLUniformLocation, v0:Float, v1:Float, v2:Float):Void

inline uniform3fv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform3i (location:GLUniformLocation, v0:Int, v1:Int, v2:Int):Void

inline uniform3iv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform3ui (location:GLUniformLocation, v0:Int, v1:Int, v2:Int):Void

inline uniform3uiv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform4f (location:GLUniformLocation, v0:Float, v1:Float, v2:Float, v3:Float):Void

inline uniform4fv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform4i (location:GLUniformLocation, v0:Int, v1:Int, v2:Int, v3:Int):Void

inline uniform4iv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniform4ui (location:GLUniformLocation, v0:Int, v1:Int, v2:Int, v3:Int):Void

inline uniform4uiv (location:GLUniformLocation, count:Int, v:DataPointer):Void

inline uniformBlockBinding (program:GLProgram, uniformBlockIndex:Int, uniformBlockBinding:Int):Void

inline uniformMatrix2fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix2x3fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix2x4fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix3fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix3x2fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix3x4fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix4fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix4x2fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline uniformMatrix4x3fv (location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void

inline unmapBuffer (target:Int):Bool

inline useProgram (program:GLProgram):Void

inline validateProgram (program:GLProgram):Void

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

inline vertexAttrib1fv (indx:Int, values:DataPointer):Void

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

inline vertexAttrib2fv (indx:Int, values:DataPointer):Void

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

inline vertexAttrib3fv (indx:Int, values:DataPointer):Void

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

inline vertexAttrib4fv (indx:Int, values:DataPointer):Void

inline vertexAttribDivisor (index:Int, divisor:Int):Void

inline vertexAttribI4i (indx:Int, x:Int, y:Int, z:Int, w:Int):Void

inline vertexAttribI4iv (indx:Int, values:DataPointer):Void

inline vertexAttribI4ui (indx:Int, x:Int, y:Int, z:Int, w:Int):Void

inline vertexAttribI4uiv (indx:Int, values:DataPointer):Void

inline vertexAttribIPointer (indx:Int, size:Int, type:Int, stride:Int, pointer:DataPointer):Void

inline vertexAttribPointer (indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, pointer:DataPointer):Void

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

inline waitSync (sync:GLSync, flags:Int, timeout:Int64):Void