class GL
package lime.graphics.opengl
Available on Android, HTML5, Linux, Mac, Windows, iOS
Static variables
Static methods
staticinlinebindBufferRange(target:Int, index:Int, buffer:GLBuffer, offset:DataPointer, size:Int):Void
staticinlineblitFramebuffer(srcX0:Int, srcY0:Int, srcX1:Int, srcY1:Int, dstX0:Int, dstY0:Int, dstX1:Int, dstY1:Int, mask:Int, filter:Int):Void
staticinlinebufferData(target:Int, size:Int, srcData:DataPointer, usage:Int):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinebufferDataWEBGL(target:Int, srcData:Dynamic, usage:Int, ?srcOffset:Int, ?length:Int):Void
Available on HTML5
staticinlinebufferSubData(target:Int, dstByteOffset:Int, size:Int, srcData:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinebufferSubDataWEBGL(target:Int, dstByteOffset:Int, srcData:Dynamic, ?srcOffset:Int, ?length:Int):Void
Available on HTML5
staticinlineclearBufferfv(buffer:Int, drawbuffer:Int, value:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineclearBufferfvWEBGL(buffer:Int, drawbuffer:Int, values:Dynamic, ?srcOffset:Int):Void
Available on HTML5
staticinlineclearBufferiv(buffer:Int, drawbuffer:Int, value:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineclearBufferivWEBGL(buffer:Int, drawbuffer:Int, values:Dynamic, ?srcOffset:Int):Void
Available on HTML5
staticinlineclearBufferuiv(buffer:Int, drawbuffer:Int, value:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineclearBufferuivWEBGL(buffer:Int, drawbuffer:Int, values:Dynamic, ?srcOffset:Int):Void
Available on HTML5
staticinlinecompressedTexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, imageSize:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinecompressedTexImage2DWEBGL(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, srcData:Dynamic, ?srcOffset:Int, ?srcLengthOverride:Int):Void
Available on HTML5
staticinlinecompressedTexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, imageSize:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinecompressedTexImage3DWEBGL(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, srcData:Dynamic, ?srcOffset:Int, ?srcLengthOverride:Int):Void
Available on HTML5
staticinlinecompressedTexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, imageSize:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinecompressedTexSubImage2DWEBGL(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, srcData:Dynamic, ?srcOffset:Int, ?srcLengthOverride:Int):Void
Available on HTML5
staticinlinecompressedTexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, imageSize:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinecompressedTexSubImage3DWEBGL(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, srcData:Dynamic, ?srcOffset:Int, ?srcLengthOverride:Int):Void
Available on HTML5
staticinlinecopyBufferSubData(readTarget:Int, writeTarget:Int, readOffset:DataPointer, writeOffset:DataPointer, size:Int):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinecopyTexImage2D(target:Int, level:Int, internalformat:Int, x:Int, y:Int, width:Int, height:Int, border:Int):Void
staticinlinecopyTexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, x:Int, y:Int, width:Int, height:Int):Void
staticinlinecopyTexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, x:Int, y:Int, width:Int, height:Int):Void
staticinlinedrawElementsInstanced(mode:Int, count:Int, type:Int, offset:DataPointer, instanceCount:Int):Void
staticinlinedrawRangeElements(mode:Int, start:Int, end:Int, count:Int, type:Int, offset:DataPointer):Void
staticinlineframebufferRenderbuffer(target:Int, attachment:Int, renderbuffertarget:Int, renderbuffer:GLRenderbuffer):Void
staticinlineframebufferTexture2D(target:Int, attachment:Int, textarget:Int, texture:GLTexture, level:Int):Void
staticinlineframebufferTextureLayer(target:Int, attachment:Int, texture:GLTexture, level:Int, layer:Int):Void
staticinlinegetActiveUniformBlockParameter(program:GLProgram, uniformBlockIndex:Int, pname:Int):Dynamic
staticinlinegetActiveUniformBlocki(program:GLProgram, uniformBlockIndex:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetActiveUniformBlockiv(program:GLProgram, uniformBlockIndex:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetActiveUniformsiv(program:GLProgram, uniformIndices:Array<Int>, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetBooleanv(pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetBufferParameteri(target:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetBufferParameteri64v(target:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetBufferParameteriv(target:Int, pname:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetBufferPointerv(target:Int, pname:Int):DataPointer
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetBufferSubData(target:Int, offset:DataPointer, size:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetBufferSubDataWEBGL(target:Int, srcByteOffset:DataPointer, dstData:Dynamic, ?srcOffset:Dynamic, ?length:Int):Void
Available on HTML5
staticinlinegetFloatv(pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetFramebufferAttachmentParameteri(target:Int, attachment:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetFramebufferAttachmentParameteriv(target:Int, attachment:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetInteger64i_v(pname:Int, index:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetInteger64v(pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetIntegeri_v(pname:Int, index:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetIntegerv(pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetInternalformati(target:Int, internalformat:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetInternalformativ(target:Int, internalformat:Int, pname:Int, bufSize:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetProgramBinary(program:GLProgram, binaryFormat:Int):Bytes
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetProgrami(program:GLProgram, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetProgramiv(program:GLProgram, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetQueryObjectui(query:GLQuery, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetQueryObjectuiv(query:GLQuery, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetQueryiv(target:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetRenderbufferParameteri(target:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetRenderbufferParameteriv(target:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetSamplerParameterf(sampler:GLSampler, pname:Int):Float
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetSamplerParameterfv(sampler:GLSampler, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetSamplerParameteri(sampler:GLSampler, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetSamplerParameteriv(sampler:GLSampler, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetShaderi(shader:GLShader, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetShaderiv(shader:GLShader, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetSyncParameteri(sync:GLSync, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetSyncParameteriv(sync:GLSync, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetTexParameterf(target:Int, pname:Int):Float
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetTexParameterfv(target:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetTexParameteri(target:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetTexParameteriv(target:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetUniformf(program:GLProgram, location:GLUniformLocation):Float
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetUniformfv(program:GLProgram, location:GLUniformLocation, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetUniformi(program:GLProgram, location:GLUniformLocation):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetUniformiv(program:GLProgram, location:GLUniformLocation, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetUniformui(program:GLProgram, location:GLUniformLocation):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetUniformuiv(program:GLProgram, location:GLUniformLocation, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribIi(index:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribIiv(index:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribIui(index:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribIuiv(index:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribPointerv(index:Int, pname:Int):DataPointer
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribf(index:Int, pname:Int):Float
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribfv(index:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribi(index:Int, pname:Int):Int
Available on Android, Linux, Mac, Windows, iOS
staticinlinegetVertexAttribiv(index:Int, pname:Int, params:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineinvalidateSubFramebuffer(target:Int, attachments:Array<Int>, x:Int, y:Int, width:Int, height:Int):Void
staticinlinemapBufferRange(target:Int, offset:DataPointer, length:Int, access:Int):DataPointer
Available on Android, Linux, Mac, Windows, iOS
staticinlineprogramBinary(program:GLProgram, binaryFormat:Int, binary:DataPointer, length:Int):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineprogramParameteri(program:GLProgram, pname:Int, value:Int):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinereadPixels(x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, pixels:BytePointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinereadPixelsWEBGL(x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, pixels:Dynamic, ?dstOffset:Int):Void
Available on HTML5
staticinlinerenderbufferStorageMultisample(target:Int, samples:Int, internalformat:Int, width:Int, height:Int):Void
staticinlineshaderBinary(shaders:Array<GLShader>, binaryformat:Int, binary:DataPointer, length:Int):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinetexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinetexImage2DWEBGL(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Dynamic, ?format:Int, ?type:Int, ?srcData:Dynamic, ?srcOffset:Int):Void
Available on HTML5
staticinlinetexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinetexImage3DWEBGL(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, srcData:Dynamic, ?srcOffset:Int):Void
Available on HTML5
staticinlinetexStorage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int):Void
staticinlinetexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinetexSubImage2DWEBGL(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Dynamic, ?type:Int, ?srcData:Dynamic, ?srcOffset:Int):Void
Available on HTML5
staticinlinetexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, data:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlinetexSubImage3DWEBGL(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:Dynamic, ?srcOffset:Int):Void
Available on HTML5
staticinlinetransformFeedbackVaryings(program:GLProgram, varyings:Array<String>, bufferMode:Int):Void
staticinlineuniform1fv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform1fvWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform1iv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform1ivWEBGL(location:GLUniformLocation, ?data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform1uiv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform1uivWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform2fv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform2fvWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform2iv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform2ivWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform2uiv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform2uivWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform3fv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform3fvWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform3iv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform3ivWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform3uiv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform3uivWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform4fv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform4fvWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform4iv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform4ivWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniform4uiv(location:GLUniformLocation, count:Int, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniform4uivWEBGL(location:GLUniformLocation, data:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformBlockBinding(program:GLProgram, uniformBlockIndex:Int, uniformBlockBinding:Int):Void
staticinlineuniformMatrix2fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix2fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix2x3fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix2x3fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix2x4fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix2x4fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix3fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix3fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix3x2fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix3x2fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix3x4fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix3x4fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix4fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix4fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix4x2fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix4x2fvWEBGL(location:GLUniformLocation, transpose:Bool, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5
staticinlineuniformMatrix4x3fv(location:GLUniformLocation, count:Int, transpose:Bool, v:DataPointer):Void
Available on Android, Linux, Mac, Windows, iOS
staticinlineuniformMatrix4x3fvWEBGL(location:GLUniformLocation, transpose:Dynamic, v:Dynamic, ?srcOffset:Int, ?srcLength:Int):Void
Available on HTML5