Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
open class ContextInfo

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ALPHA: Int
Link copied to clipboard
Link copied to clipboard
val ALWAYS: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val BACK: Int
Link copied to clipboard
val BLEND: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val BOOL: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val BYTE: Int
Link copied to clipboard
val CCW: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val CW: Int
Link copied to clipboard
val DECR: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val DITHER: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val EQUAL: Int
Link copied to clipboard
Link copied to clipboard
open val extensions: Set<String>
Link copied to clipboard
open override var extra: ExtraType
Link copied to clipboard
Link copied to clipboard
val FIXED: Int
Link copied to clipboard
val FLOAT: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val FRONT: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val GEQUAL: Int
Link copied to clipboard
val GFALSE: Int
Link copied to clipboard
open val gles: Boolean
Link copied to clipboard
open override val graphicExtensions: Set<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val GTRUE: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val INCR: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val INT: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val INVERT: Int
Link copied to clipboard
open override val isFloatTextureSupported: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val KEEP: Int
Link copied to clipboard
val LEQUAL: Int
Link copied to clipboard
val LESS: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val LINEAR: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val LINES: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val NEVER: Int
Link copied to clipboard
val NICEST: Int
Link copied to clipboard
Link copied to clipboard
val NONE: Int
Link copied to clipboard
Link copied to clipboard
val ONE: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val POINTS: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val REPEAT: Int
Link copied to clipboard
Link copied to clipboard
val RGB: Int
Link copied to clipboard
val RGB565: Int
Link copied to clipboard
Link copied to clipboard
val RGBA: Int
Link copied to clipboard
val RGBA4: Int
Link copied to clipboard
open val root: KmlGl
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val SHORT: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val variant: GLVariant
Link copied to clipboard
val VENDOR: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ZERO: Int

Functions

Link copied to clipboard
open fun activeTexture(texture: Int)
Link copied to clipboard
open fun attachShader(program: Int, shader: Int)
Link copied to clipboard
open fun beforeDoRender(contextVersion: Int)
Link copied to clipboard
open fun bindAttribLocation(program: Int, index: Int, name: String)
Link copied to clipboard
open fun bindBuffer(target: Int, buffer: Int)
Link copied to clipboard
open fun bindBufferRange(target: Int, index: Int, buffer: Int, offset: Int, size: Int)
Link copied to clipboard
open fun bindFramebuffer(target: Int, framebuffer: Int)
Link copied to clipboard
open fun bindRenderbuffer(target: Int, renderbuffer: Int)
Link copied to clipboard
open fun bindTexture(target: Int, texture: Int)
Link copied to clipboard
open fun bindVertexArray(array: Int)
Link copied to clipboard
open fun blendColor(red: Float, green: Float, blue: Float, alpha: Float)
Link copied to clipboard
open fun blendEquation(mode: Int)
Link copied to clipboard
open fun blendEquationSeparate(modeRGB: Int, modeAlpha: Int)
Link copied to clipboard
open fun blendFunc(sfactor: Int, dfactor: Int)
Link copied to clipboard
open fun blendFuncSeparate(sfactorRGB: Int, dfactorRGB: Int, sfactorAlpha: Int, dfactorAlpha: Int)
Link copied to clipboard
open fun bufferData(target: Int, size: Int, data: Buffer, usage: Int)
Link copied to clipboard
open fun bufferSubData(target: Int, offset: Int, size: Int, data: Buffer)
Link copied to clipboard
fun KmlGl.cachedIf(cached: Boolean): KmlGl
Link copied to clipboard
fun KmlGl.checked(throwException: Boolean = false, printStackTrace: Boolean = false): CheckErrorsKmlGlProxy
Link copied to clipboard
fun KmlGl.checkedIf(checked: Boolean, throwException: Boolean = false, printStackTrace: Boolean = false): KmlGl
Link copied to clipboard
fun KmlGl.checkError(message: String)
Link copied to clipboard
open fun checkFramebufferStatus(target: Int): Int
Link copied to clipboard
open fun clear(mask: Int)
Link copied to clipboard
open fun clearColor(red: Float, green: Float, blue: Float, alpha: Float)
Link copied to clipboard
open fun clearDepthf(d: Float)
Link copied to clipboard
open fun clearStencil(s: Int)
Link copied to clipboard
open fun colorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean)
Link copied to clipboard
open fun compileShader(shader: Int)
Link copied to clipboard
Link copied to clipboard
open fun compressedTexImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, imageSize: Int, data: Buffer)
Link copied to clipboard
open fun compressedTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, imageSize: Int, data: Buffer)
Link copied to clipboard
open fun copyTexImage2D(target: Int, level: Int, internalformat: Int, x: Int, y: Int, width: Int, height: Int, border: Int)
Link copied to clipboard
open fun copyTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun createProgram(): Int
Link copied to clipboard
open fun createShader(type: Int): Int
Link copied to clipboard
open fun cullFace(mode: Int)
Link copied to clipboard
Link copied to clipboard
open fun deleteBuffers(n: Int, items: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun deleteFramebuffers(n: Int, items: Buffer)
Link copied to clipboard
open fun deleteProgram(program: Int)
Link copied to clipboard
Link copied to clipboard
open fun deleteRenderbuffers(n: Int, items: Buffer)
Link copied to clipboard
open fun deleteShader(shader: Int)
Link copied to clipboard
Link copied to clipboard
open fun deleteTextures(n: Int, items: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun deleteVertexArrays(n: Int, arrays: Buffer)
Link copied to clipboard
open fun depthFunc(func: Int)
Link copied to clipboard
open fun depthMask(flag: Boolean)
Link copied to clipboard
open fun depthRangef(n: Float, f: Float)
Link copied to clipboard
open fun detachShader(program: Int, shader: Int)
Link copied to clipboard
open fun disable(cap: Int)
Link copied to clipboard
open fun disableVertexAttribArray(index: Int)
Link copied to clipboard
open fun drawArrays(mode: Int, first: Int, count: Int)
Link copied to clipboard
open fun drawArraysInstanced(mode: Int, first: Int, count: Int, instancecount: Int)
Link copied to clipboard
open fun drawElements(mode: Int, count: Int, type: Int, indices: Int)
Link copied to clipboard
open fun drawElementsInstanced(mode: Int, count: Int, type: Int, indices: Int, instancecount: Int)
Link copied to clipboard
open fun enable(cap: Int)
Link copied to clipboard
fun enableDisable(cap: Int, enable: Boolean): Boolean
inline fun enableDisable(cap: Int, enable: Boolean, block: () -> Unit)
Link copied to clipboard
Link copied to clipboard
open fun enableVertexAttribArray(index: Int)
Link copied to clipboard
open fun endFrame()
Link copied to clipboard
open fun finish()
Link copied to clipboard
open fun flush()
Link copied to clipboard
open fun framebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: Int)
Link copied to clipboard
open fun framebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: Int, level: Int)
Link copied to clipboard
open fun frontFace(mode: Int)
Link copied to clipboard
Link copied to clipboard
open fun genBuffers(n: Int, buffers: Buffer)
Link copied to clipboard
open fun generateMipmap(target: Int)
Link copied to clipboard
Link copied to clipboard
open fun genFramebuffers(n: Int, framebuffers: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun genRenderbuffers(n: Int, renderbuffers: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun genTextures(n: Int, textures: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun genVertexArrays(n: Int, arrays: Buffer)
Link copied to clipboard
open fun getActiveAttrib(program: Int, index: Int, bufSize: Int, length: Buffer, size: Buffer, type: Buffer, name: Buffer)
Link copied to clipboard
open fun getActiveUniform(program: Int, index: Int, bufSize: Int, length: Buffer, size: Buffer, type: Buffer, name: Buffer)
Link copied to clipboard
open fun getAttachedShaders(program: Int, maxCount: Int, count: Buffer, shaders: Buffer)
Link copied to clipboard
open fun getAttribLocation(program: Int, name: String): Int
Link copied to clipboard
open fun getBooleanv(pname: Int, data: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun getBufferParameteriv(target: Int, pname: Int, params: Buffer)
Link copied to clipboard
open fun getError(): Int
Link copied to clipboard
fun KmlGl.getErrorString(error: Int = getError()): String
Link copied to clipboard
open fun getFloatv(pname: Int, data: Buffer)
Link copied to clipboard
fun KmlGl.getFloatv(pname: Int): Float
Link copied to clipboard
open fun getFramebufferAttachmentParameteriv(target: Int, attachment: Int, pname: Int, params: Buffer)
Link copied to clipboard
fun KmlGl.getInteger(pname: Int): Int
Link copied to clipboard
open fun getIntegerv(pname: Int, data: Buffer)
Link copied to clipboard
fun KmlGl.getIntegerv(pname: Int): Int
Link copied to clipboard
open fun getProgramInfoLog(program: Int, bufSize: Int, length: Buffer, infoLog: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun getProgramiv(program: Int, pname: Int, params: Buffer)
Link copied to clipboard
fun KmlGl.getProgramiv(program: Int, type: Int): Int
Link copied to clipboard
Link copied to clipboard
open fun getRenderbufferParameteriv(target: Int, pname: Int, params: Buffer)
Link copied to clipboard
open fun getShaderInfoLog(shader: Int, bufSize: Int, length: Buffer, infoLog: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun getShaderiv(shader: Int, pname: Int, params: Buffer)
Link copied to clipboard
fun KmlGl.getShaderiv(shader: Int, type: Int): Int
Link copied to clipboard
open fun getShaderPrecisionFormat(shadertype: Int, precisiontype: Int, range: Buffer, precision: Buffer)
Link copied to clipboard
open fun getShaderSource(shader: Int, bufSize: Int, length: Buffer, source: Buffer)
Link copied to clipboard
open fun getString(name: Int): String
Link copied to clipboard
open fun getStringi(name: Int, index: Int): String?
Link copied to clipboard
open fun getTexParameterfv(target: Int, pname: Int, params: Buffer)
Link copied to clipboard
open fun getTexParameteriv(target: Int, pname: Int, params: Buffer)
Link copied to clipboard
open fun getUniformBlockIndex(program: Int, name: String): Int
Link copied to clipboard
open fun getUniformfv(program: Int, location: Int, params: Buffer)
Link copied to clipboard
open fun getUniformiv(program: Int, location: Int, params: Buffer)
Link copied to clipboard
open fun getUniformLocation(program: Int, name: String): Int
Link copied to clipboard
open fun getVertexAttribfv(index: Int, pname: Int, params: Buffer)
Link copied to clipboard
open fun getVertexAttribiv(index: Int, pname: Int, params: Buffer)
Link copied to clipboard
fun KmlGl.getVertexAttribiv(index: Int, pname: Int): Int
Link copied to clipboard
open fun getVertexAttribPointerv(index: Int, pname: Int, pointer: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun hint(target: Int, mode: Int)
Link copied to clipboard
open fun init()
Link copied to clipboard
open fun isBuffer(buffer: Int): Boolean
Link copied to clipboard
open fun isEnabled(cap: Int): Boolean
Link copied to clipboard
open fun isFramebuffer(framebuffer: Int): Boolean
Link copied to clipboard
open fun isProgram(program: Int): Boolean
Link copied to clipboard
open fun isRenderbuffer(renderbuffer: Int): Boolean
Link copied to clipboard
open fun isShader(shader: Int): Boolean
Link copied to clipboard
open fun isTexture(texture: Int): Boolean
Link copied to clipboard
open fun lineWidth(width: Float)
Link copied to clipboard
open fun linkProgram(program: Int)
Link copied to clipboard
Link copied to clipboard
fun KmlGl.logIf(log: Boolean = false, logBefore: Boolean = false, logAfter: Boolean = true): KmlGl
Link copied to clipboard
open fun pixelStorei(pname: Int, param: Int)
Link copied to clipboard
open fun polygonOffset(factor: Float, units: Float)
Link copied to clipboard
open fun readPixels(x: Int, y: Int, width: Int, height: Int, format: Int, type: Int, pixels: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun renderbufferStorage(target: Int, internalformat: Int, width: Int, height: Int)
Link copied to clipboard
open fun renderbufferStorageMultisample(target: Int, samples: Int, internalformat: Int, width: Int, height: Int)
Link copied to clipboard
open fun sampleCoverage(value: Float, invert: Boolean)
Link copied to clipboard
open fun scissor(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
open fun shaderBinary(count: Int, shaders: Buffer, binaryformat: Int, binary: Buffer, length: Int)
Link copied to clipboard
open fun shaderSource(shader: Int, string: String)
Link copied to clipboard
open fun startFrame()
Link copied to clipboard
open fun stencilFunc(func: Int, ref: Int, mask: Int)
Link copied to clipboard
open fun stencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int)
Link copied to clipboard
open fun stencilMask(mask: Int)
Link copied to clipboard
open fun stencilMaskSeparate(face: Int, mask: Int)
Link copied to clipboard
open fun stencilOp(fail: Int, zfail: Int, zpass: Int)
Link copied to clipboard
open fun stencilOpSeparate(face: Int, sfail: Int, dpfail: Int, dppass: Int)
Link copied to clipboard
open fun texImage2D(target: Int, level: Int, internalformat: Int, format: Int, type: Int, data: NativeImage)
open fun texImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, format: Int, type: Int, pixels: Buffer?)
Link copied to clipboard
open fun texImage2DMultisample(target: Int, samples: Int, internalformat: Int, width: Int, height: Int, fixedsamplelocations: Boolean)
Link copied to clipboard
open fun texParameterf(target: Int, pname: Int, param: Float)
Link copied to clipboard
open fun texParameterfv(target: Int, pname: Int, params: Buffer)
Link copied to clipboard
open fun texParameteri(target: Int, pname: Int, param: Int)
Link copied to clipboard
open fun texParameteriv(target: Int, pname: Int, params: Buffer)
Link copied to clipboard
open fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, type: Int, pixels: Buffer)
Link copied to clipboard
open fun uniform1f(location: Int, v0: Float)
Link copied to clipboard
open fun uniform1fv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniform1i(location: Int, v0: Int)
Link copied to clipboard
open fun uniform1iv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniform2f(location: Int, v0: Float, v1: Float)
Link copied to clipboard
open fun uniform2fv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniform2i(location: Int, v0: Int, v1: Int)
Link copied to clipboard
open fun uniform2iv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniform3f(location: Int, v0: Float, v1: Float, v2: Float)
Link copied to clipboard
open fun uniform3fv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniform3i(location: Int, v0: Int, v1: Int, v2: Int)
Link copied to clipboard
open fun uniform3iv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniform4f(location: Int, v0: Float, v1: Float, v2: Float, v3: Float)
Link copied to clipboard
open fun uniform4fv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniform4i(location: Int, v0: Int, v1: Int, v2: Int, v3: Int)
Link copied to clipboard
open fun uniform4iv(location: Int, count: Int, value: Buffer)
Link copied to clipboard
open fun uniformBlockBinding(program: Int, uniformBlockIndex: Int, uniformBlockBinding: Int)
Link copied to clipboard
open fun uniformMatrix2fv(location: Int, count: Int, transpose: Boolean, value: Buffer)
Link copied to clipboard
open fun uniformMatrix3fv(location: Int, count: Int, transpose: Boolean, value: Buffer)
Link copied to clipboard
open fun uniformMatrix4fv(location: Int, count: Int, transpose: Boolean, value: Buffer)
Link copied to clipboard
open fun useProgram(program: Int)
Link copied to clipboard
open fun validateProgram(program: Int)
Link copied to clipboard
open fun vertexAttrib1f(index: Int, x: Float)
Link copied to clipboard
open fun vertexAttrib1fv(index: Int, v: Buffer)
Link copied to clipboard
open fun vertexAttrib2f(index: Int, x: Float, y: Float)
Link copied to clipboard
open fun vertexAttrib2fv(index: Int, v: Buffer)
Link copied to clipboard
open fun vertexAttrib3f(index: Int, x: Float, y: Float, z: Float)
Link copied to clipboard
open fun vertexAttrib3fv(index: Int, v: Buffer)
Link copied to clipboard
open fun vertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)
Link copied to clipboard
open fun vertexAttrib4fv(index: Int, v: Buffer)
Link copied to clipboard
open fun vertexAttribDivisor(index: Int, divisor: Int)
Link copied to clipboard
open fun vertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, pointer: Long)
Link copied to clipboard
open fun viewport(x: Int, y: Int, width: Int, height: Int)