WebGLRenderingContextBase

external interface WebGLRenderingContextBase(source)

Since Kotlin

1.1

Inheritors

external interface WebGLRenderingContextBase : JsAny(source)

Since Kotlin

1.8

Inheritors

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1
object Companion
Since Kotlin 1.8

Properties

Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract val drawingBufferHeight: Int
Since Kotlin 1.1
abstract val drawingBufferHeight: Int
Since Kotlin 1.8
Link copied to clipboard
abstract val drawingBufferWidth: Int
Since Kotlin 1.1
abstract val drawingBufferWidth: Int
Since Kotlin 1.8

Functions

Link copied to clipboard
abstract fun activeTexture(texture: Int)
Since Kotlin 1.1
abstract fun activeTexture(texture: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun attachShader(program: WebGLProgram?, shader: WebGLShader?)
Since Kotlin 1.1
abstract fun attachShader(program: WebGLProgram?, shader: WebGLShader?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun bindAttribLocation(program: WebGLProgram?, index: Int, name: String)
Since Kotlin 1.1
abstract fun bindAttribLocation(program: WebGLProgram?, index: Int, name: String)
Since Kotlin 1.8
Link copied to clipboard
abstract fun bindBuffer(target: Int, buffer: WebGLBuffer?)
Since Kotlin 1.1
abstract fun bindBuffer(target: Int, buffer: WebGLBuffer?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun bindFramebuffer(target: Int, framebuffer: WebGLFramebuffer?)
Since Kotlin 1.1
abstract fun bindFramebuffer(target: Int, framebuffer: WebGLFramebuffer?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun bindRenderbuffer(target: Int, renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.1
abstract fun bindRenderbuffer(target: Int, renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun bindTexture(target: Int, texture: WebGLTexture?)
Since Kotlin 1.1
abstract fun bindTexture(target: Int, texture: WebGLTexture?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun blendColor(red: Float, green: Float, blue: Float, alpha: Float)
Since Kotlin 1.1
abstract fun blendColor(red: Float, green: Float, blue: Float, alpha: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun blendEquation(mode: Int)
Since Kotlin 1.1
abstract fun blendEquation(mode: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun blendEquationSeparate(modeRGB: Int, modeAlpha: Int)
Since Kotlin 1.1
abstract fun blendEquationSeparate(modeRGB: Int, modeAlpha: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun blendFunc(sfactor: Int, dfactor: Int)
Since Kotlin 1.1
abstract fun blendFunc(sfactor: Int, dfactor: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun blendFuncSeparate(srcRGB: Int, dstRGB: Int, srcAlpha: Int, dstAlpha: Int)
Since Kotlin 1.1
abstract fun blendFuncSeparate(srcRGB: Int, dstRGB: Int, srcAlpha: Int, dstAlpha: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun bufferData(target: Int, size: Int, usage: Int)
abstract fun bufferData(target: Int, data: BufferDataSource?, usage: Int)
Since Kotlin 1.1
abstract fun bufferData(target: Int, size: Int, usage: Int)
abstract fun bufferData(target: Int, data: BufferDataSource?, usage: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun bufferSubData(target: Int, offset: Int, data: BufferDataSource?)
Since Kotlin 1.1
abstract fun bufferSubData(target: Int, offset: Int, data: BufferDataSource?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun checkFramebufferStatus(target: Int): Int
Since Kotlin 1.1
abstract fun checkFramebufferStatus(target: Int): Int
Since Kotlin 1.8
Link copied to clipboard
abstract fun clear(mask: Int)
Since Kotlin 1.1
abstract fun clear(mask: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun clearColor(red: Float, green: Float, blue: Float, alpha: Float)
Since Kotlin 1.1
abstract fun clearColor(red: Float, green: Float, blue: Float, alpha: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun clearDepth(depth: Float)
Since Kotlin 1.1
abstract fun clearDepth(depth: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun clearStencil(s: Int)
Since Kotlin 1.1
abstract fun clearStencil(s: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun colorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean)
Since Kotlin 1.1
abstract fun colorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean)
Since Kotlin 1.8
Link copied to clipboard
abstract fun compileShader(shader: WebGLShader?)
Since Kotlin 1.1
abstract fun compileShader(shader: WebGLShader?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun compressedTexImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, data: ArrayBufferView)
Since Kotlin 1.1
abstract fun compressedTexImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, data: ArrayBufferView)
Since Kotlin 1.8
Link copied to clipboard
abstract fun compressedTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, data: ArrayBufferView)
Since Kotlin 1.1
abstract fun compressedTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, data: ArrayBufferView)
Since Kotlin 1.8
Link copied to clipboard
abstract fun copyTexImage2D(target: Int, level: Int, internalformat: Int, x: Int, y: Int, width: Int, height: Int, border: Int)
Since Kotlin 1.1
abstract fun copyTexImage2D(target: Int, level: Int, internalformat: Int, x: Int, y: Int, width: Int, height: Int, border: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun copyTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.1
abstract fun copyTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun createBuffer(): WebGLBuffer?
Since Kotlin 1.1
abstract fun createBuffer(): WebGLBuffer?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun createProgram(): WebGLProgram?
Since Kotlin 1.1
abstract fun createProgram(): WebGLProgram?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun createShader(type: Int): WebGLShader?
Since Kotlin 1.1
abstract fun createShader(type: Int): WebGLShader?
Since Kotlin 1.8
Link copied to clipboard
abstract fun createTexture(): WebGLTexture?
Since Kotlin 1.1
abstract fun createTexture(): WebGLTexture?
Since Kotlin 1.8
Link copied to clipboard
abstract fun cullFace(mode: Int)
Since Kotlin 1.1
abstract fun cullFace(mode: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun deleteBuffer(buffer: WebGLBuffer?)
Since Kotlin 1.1
abstract fun deleteBuffer(buffer: WebGLBuffer?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun deleteFramebuffer(framebuffer: WebGLFramebuffer?)
Since Kotlin 1.1
abstract fun deleteFramebuffer(framebuffer: WebGLFramebuffer?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun deleteProgram(program: WebGLProgram?)
Since Kotlin 1.1
abstract fun deleteProgram(program: WebGLProgram?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun deleteRenderbuffer(renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.1
abstract fun deleteRenderbuffer(renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun deleteShader(shader: WebGLShader?)
Since Kotlin 1.1
abstract fun deleteShader(shader: WebGLShader?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun deleteTexture(texture: WebGLTexture?)
Since Kotlin 1.1
abstract fun deleteTexture(texture: WebGLTexture?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun depthFunc(func: Int)
Since Kotlin 1.1
abstract fun depthFunc(func: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun depthMask(flag: Boolean)
Since Kotlin 1.1
abstract fun depthMask(flag: Boolean)
Since Kotlin 1.8
Link copied to clipboard
abstract fun depthRange(zNear: Float, zFar: Float)
Since Kotlin 1.1
abstract fun depthRange(zNear: Float, zFar: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun detachShader(program: WebGLProgram?, shader: WebGLShader?)
Since Kotlin 1.1
abstract fun detachShader(program: WebGLProgram?, shader: WebGLShader?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun disable(cap: Int)
Since Kotlin 1.1
abstract fun disable(cap: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun disableVertexAttribArray(index: Int)
Since Kotlin 1.1
abstract fun disableVertexAttribArray(index: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun drawArrays(mode: Int, first: Int, count: Int)
Since Kotlin 1.1
abstract fun drawArrays(mode: Int, first: Int, count: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun drawElements(mode: Int, count: Int, type: Int, offset: Int)
Since Kotlin 1.1
abstract fun drawElements(mode: Int, count: Int, type: Int, offset: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun enable(cap: Int)
Since Kotlin 1.1
abstract fun enable(cap: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun enableVertexAttribArray(index: Int)
Since Kotlin 1.1
abstract fun enableVertexAttribArray(index: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun finish()
Since Kotlin 1.1
abstract fun finish()
Since Kotlin 1.8
Link copied to clipboard
abstract fun flush()
Since Kotlin 1.1
abstract fun flush()
Since Kotlin 1.8
Link copied to clipboard
abstract fun framebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.1
abstract fun framebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun framebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: WebGLTexture?, level: Int)
Since Kotlin 1.1
abstract fun framebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: WebGLTexture?, level: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun frontFace(mode: Int)
Since Kotlin 1.1
abstract fun frontFace(mode: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun generateMipmap(target: Int)
Since Kotlin 1.1
abstract fun generateMipmap(target: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun getActiveAttrib(program: WebGLProgram?, index: Int): WebGLActiveInfo?
Since Kotlin 1.1
abstract fun getActiveAttrib(program: WebGLProgram?, index: Int): WebGLActiveInfo?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getActiveUniform(program: WebGLProgram?, index: Int): WebGLActiveInfo?
Since Kotlin 1.1
abstract fun getActiveUniform(program: WebGLProgram?, index: Int): WebGLActiveInfo?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun getAttribLocation(program: WebGLProgram?, name: String): Int
Since Kotlin 1.1
abstract fun getAttribLocation(program: WebGLProgram?, name: String): Int
Since Kotlin 1.8
Link copied to clipboard
abstract fun getBufferParameter(target: Int, pname: Int): Any?
Since Kotlin 1.1
abstract fun getBufferParameter(target: Int, pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun getError(): Int
Since Kotlin 1.1
abstract fun getError(): Int
Since Kotlin 1.8
Link copied to clipboard
abstract fun getExtension(name: String): dynamic
Since Kotlin 1.1
abstract fun getExtension(name: String): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getFramebufferAttachmentParameter(target: Int, attachment: Int, pname: Int): Any?
Since Kotlin 1.1
abstract fun getFramebufferAttachmentParameter(target: Int, attachment: Int, pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getParameter(pname: Int): Any?
Since Kotlin 1.1
abstract fun getParameter(pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getProgramInfoLog(program: WebGLProgram?): String?
Since Kotlin 1.1
abstract fun getProgramInfoLog(program: WebGLProgram?): String?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getProgramParameter(program: WebGLProgram?, pname: Int): Any?
Since Kotlin 1.1
abstract fun getProgramParameter(program: WebGLProgram?, pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getRenderbufferParameter(target: Int, pname: Int): Any?
Since Kotlin 1.1
abstract fun getRenderbufferParameter(target: Int, pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getShaderInfoLog(shader: WebGLShader?): String?
Since Kotlin 1.1
abstract fun getShaderInfoLog(shader: WebGLShader?): String?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getShaderParameter(shader: WebGLShader?, pname: Int): Any?
Since Kotlin 1.1
abstract fun getShaderParameter(shader: WebGLShader?, pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getShaderPrecisionFormat(shadertype: Int, precisiontype: Int): WebGLShaderPrecisionFormat?
Since Kotlin 1.1
abstract fun getShaderPrecisionFormat(shadertype: Int, precisiontype: Int): WebGLShaderPrecisionFormat?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getShaderSource(shader: WebGLShader?): String?
Since Kotlin 1.1
abstract fun getShaderSource(shader: WebGLShader?): String?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun getTexParameter(target: Int, pname: Int): Any?
Since Kotlin 1.1
abstract fun getTexParameter(target: Int, pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getUniform(program: WebGLProgram?, location: WebGLUniformLocation?): Any?
Since Kotlin 1.1
abstract fun getUniform(program: WebGLProgram?, location: WebGLUniformLocation?): JsAny?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun getVertexAttrib(index: Int, pname: Int): Any?
Since Kotlin 1.1
abstract fun getVertexAttrib(index: Int, pname: Int): JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract fun getVertexAttribOffset(index: Int, pname: Int): Int
Since Kotlin 1.1
abstract fun getVertexAttribOffset(index: Int, pname: Int): Int
Since Kotlin 1.8
Link copied to clipboard
abstract fun hint(target: Int, mode: Int)
Since Kotlin 1.1
abstract fun hint(target: Int, mode: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun isBuffer(buffer: WebGLBuffer?): Boolean
Since Kotlin 1.1
abstract fun isBuffer(buffer: WebGLBuffer?): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun isContextLost(): Boolean
Since Kotlin 1.1
abstract fun isContextLost(): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun isEnabled(cap: Int): Boolean
Since Kotlin 1.1
abstract fun isEnabled(cap: Int): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun isFramebuffer(framebuffer: WebGLFramebuffer?): Boolean
Since Kotlin 1.1
abstract fun isFramebuffer(framebuffer: WebGLFramebuffer?): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun isProgram(program: WebGLProgram?): Boolean
Since Kotlin 1.1
abstract fun isProgram(program: WebGLProgram?): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun isRenderbuffer(renderbuffer: WebGLRenderbuffer?): Boolean
Since Kotlin 1.1
abstract fun isRenderbuffer(renderbuffer: WebGLRenderbuffer?): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun isShader(shader: WebGLShader?): Boolean
Since Kotlin 1.1
abstract fun isShader(shader: WebGLShader?): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun isTexture(texture: WebGLTexture?): Boolean
Since Kotlin 1.1
abstract fun isTexture(texture: WebGLTexture?): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun lineWidth(width: Float)
Since Kotlin 1.1
abstract fun lineWidth(width: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun linkProgram(program: WebGLProgram?)
Since Kotlin 1.1
abstract fun linkProgram(program: WebGLProgram?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun pixelStorei(pname: Int, param: Int)
Since Kotlin 1.1
abstract fun pixelStorei(pname: Int, param: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun polygonOffset(factor: Float, units: Float)
Since Kotlin 1.1
abstract fun polygonOffset(factor: Float, units: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun readPixels(x: Int, y: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?)
Since Kotlin 1.1
abstract fun readPixels(x: Int, y: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun renderbufferStorage(target: Int, internalformat: Int, width: Int, height: Int)
Since Kotlin 1.1
abstract fun renderbufferStorage(target: Int, internalformat: Int, width: Int, height: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun sampleCoverage(value: Float, invert: Boolean)
Since Kotlin 1.1
abstract fun sampleCoverage(value: Float, invert: Boolean)
Since Kotlin 1.8
Link copied to clipboard
abstract fun scissor(x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.1
abstract fun scissor(x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun shaderSource(shader: WebGLShader?, source: String)
Since Kotlin 1.1
abstract fun shaderSource(shader: WebGLShader?, source: String)
Since Kotlin 1.8
Link copied to clipboard
abstract fun stencilFunc(func: Int, ref: Int, mask: Int)
Since Kotlin 1.1
abstract fun stencilFunc(func: Int, ref: Int, mask: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun stencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int)
Since Kotlin 1.1
abstract fun stencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun stencilMask(mask: Int)
Since Kotlin 1.1
abstract fun stencilMask(mask: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun stencilMaskSeparate(face: Int, mask: Int)
Since Kotlin 1.1
abstract fun stencilMaskSeparate(face: Int, mask: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun stencilOp(fail: Int, zfail: Int, zpass: Int)
Since Kotlin 1.1
abstract fun stencilOp(fail: Int, zfail: Int, zpass: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun stencilOpSeparate(face: Int, fail: Int, zfail: Int, zpass: Int)
Since Kotlin 1.1
abstract fun stencilOpSeparate(face: Int, fail: Int, zfail: Int, zpass: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun texImage2D(target: Int, level: Int, internalformat: Int, format: Int, type: Int, source: TexImageSource?)
abstract fun texImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, format: Int, type: Int, pixels: ArrayBufferView?)
Since Kotlin 1.1
abstract fun texImage2D(target: Int, level: Int, internalformat: Int, format: Int, type: Int, source: TexImageSource?)
abstract fun texImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, format: Int, type: Int, pixels: ArrayBufferView?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun texParameterf(target: Int, pname: Int, param: Float)
Since Kotlin 1.1
abstract fun texParameterf(target: Int, pname: Int, param: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun texParameteri(target: Int, pname: Int, param: Int)
Since Kotlin 1.1
abstract fun texParameteri(target: Int, pname: Int, param: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, format: Int, type: Int, source: TexImageSource?)
abstract fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?)
Since Kotlin 1.1
abstract fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, format: Int, type: Int, source: TexImageSource?)
abstract fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?)
Since Kotlin 1.8
Link copied to clipboard

For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.

Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform1f(location: WebGLUniformLocation?, x: Float)
Since Kotlin 1.1
abstract fun uniform1f(location: WebGLUniformLocation?, x: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform1fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform1fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
abstract fun uniform1fv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform1fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform1i(location: WebGLUniformLocation?, x: Int)
Since Kotlin 1.1
abstract fun uniform1i(location: WebGLUniformLocation?, x: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform1iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform1iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
abstract fun uniform1iv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform1iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform2f(location: WebGLUniformLocation?, x: Float, y: Float)
Since Kotlin 1.1
abstract fun uniform2f(location: WebGLUniformLocation?, x: Float, y: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform2fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform2fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
abstract fun uniform2fv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform2fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform2i(location: WebGLUniformLocation?, x: Int, y: Int)
Since Kotlin 1.1
abstract fun uniform2i(location: WebGLUniformLocation?, x: Int, y: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform2iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform2iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
abstract fun uniform2iv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform2iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform3f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float)
Since Kotlin 1.1
abstract fun uniform3f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform3fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform3fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
abstract fun uniform3fv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform3fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform3i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int)
Since Kotlin 1.1
abstract fun uniform3i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform3iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform3iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
abstract fun uniform3iv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform3iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform4f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float, w: Float)
Since Kotlin 1.1
abstract fun uniform4f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float, w: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform4fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform4fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
abstract fun uniform4fv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform4fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform4i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int, w: Int)
Since Kotlin 1.1
abstract fun uniform4i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int, w: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniform4iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform4iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
abstract fun uniform4iv(location: WebGLUniformLocation?, v: JsArray<JsNumber>)
abstract fun uniform4iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array<Float>)
abstract fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array)
Since Kotlin 1.1
abstract fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: JsArray<JsNumber>)
abstract fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array<Float>)
abstract fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array)
Since Kotlin 1.1
abstract fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: JsArray<JsNumber>)
abstract fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array<Float>)
abstract fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array)
Since Kotlin 1.1
abstract fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: JsArray<JsNumber>)
abstract fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
fun <T : JsAny> JsAny.unsafeCast(): T

Cast JsAny to other Js type without runtime check

Since Kotlin 1.8
Link copied to clipboard
abstract fun useProgram(program: WebGLProgram?)
Since Kotlin 1.1
abstract fun useProgram(program: WebGLProgram?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun validateProgram(program: WebGLProgram?)
Since Kotlin 1.1
abstract fun validateProgram(program: WebGLProgram?)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib1f(index: Int, x: Float)
Since Kotlin 1.1
abstract fun vertexAttrib1f(index: Int, x: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib1fv(index: Int, values: dynamic)
Since Kotlin 1.1
abstract fun vertexAttrib1fv(index: Int, values: JsArray<JsNumber>)
abstract fun vertexAttrib1fv(index: Int, values: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib2f(index: Int, x: Float, y: Float)
Since Kotlin 1.1
abstract fun vertexAttrib2f(index: Int, x: Float, y: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib2fv(index: Int, values: dynamic)
Since Kotlin 1.1
abstract fun vertexAttrib2fv(index: Int, values: JsArray<JsNumber>)
abstract fun vertexAttrib2fv(index: Int, values: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib3f(index: Int, x: Float, y: Float, z: Float)
Since Kotlin 1.1
abstract fun vertexAttrib3f(index: Int, x: Float, y: Float, z: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib3fv(index: Int, values: dynamic)
Since Kotlin 1.1
abstract fun vertexAttrib3fv(index: Int, values: JsArray<JsNumber>)
abstract fun vertexAttrib3fv(index: Int, values: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)
Since Kotlin 1.1
abstract fun vertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttrib4fv(index: Int, values: dynamic)
Since Kotlin 1.1
abstract fun vertexAttrib4fv(index: Int, values: JsArray<JsNumber>)
abstract fun vertexAttrib4fv(index: Int, values: Float32Array)
Since Kotlin 1.8
Link copied to clipboard
abstract fun vertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, offset: Int)
Since Kotlin 1.1
abstract fun vertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, offset: Int)
Since Kotlin 1.8
Link copied to clipboard
abstract fun viewport(x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.1
abstract fun viewport(x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.8