WebGLRenderingContextBase

external interface WebGLRenderingContextBase(source)

Since Kotlin

1.1

Inheritors

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1

Properties

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

Functions

Link copied to clipboard
abstract fun activeTexture(texture: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun attachShader(program: WebGLProgram?, shader: WebGLShader?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun bindAttribLocation(program: WebGLProgram?, index: Int, name: String)
Since Kotlin 1.1
Link copied to clipboard
abstract fun bindBuffer(target: Int, buffer: WebGLBuffer?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun bindFramebuffer(target: Int, framebuffer: WebGLFramebuffer?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun bindRenderbuffer(target: Int, renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun bindTexture(target: Int, texture: WebGLTexture?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun blendColor(red: Float, green: Float, blue: Float, alpha: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun blendEquation(mode: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun blendEquationSeparate(modeRGB: Int, modeAlpha: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun blendFunc(sfactor: Int, dfactor: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun blendFuncSeparate(srcRGB: Int, dstRGB: Int, srcAlpha: Int, dstAlpha: Int)
Since Kotlin 1.1
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
Link copied to clipboard
abstract fun bufferSubData(target: Int, offset: Int, data: BufferDataSource?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun checkFramebufferStatus(target: Int): Int
Since Kotlin 1.1
Link copied to clipboard
abstract fun clear(mask: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun clearColor(red: Float, green: Float, blue: Float, alpha: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun clearDepth(depth: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun clearStencil(s: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun colorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean)
Since Kotlin 1.1
Link copied to clipboard
abstract fun compileShader(shader: WebGLShader?)
Since Kotlin 1.1
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
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
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
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
Link copied to clipboard
abstract fun createBuffer(): WebGLBuffer?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun createProgram(): WebGLProgram?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun createShader(type: Int): WebGLShader?
Since Kotlin 1.1
Link copied to clipboard
abstract fun createTexture(): WebGLTexture?
Since Kotlin 1.1
Link copied to clipboard
abstract fun cullFace(mode: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun deleteBuffer(buffer: WebGLBuffer?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun deleteFramebuffer(framebuffer: WebGLFramebuffer?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun deleteProgram(program: WebGLProgram?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun deleteRenderbuffer(renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun deleteShader(shader: WebGLShader?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun deleteTexture(texture: WebGLTexture?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun depthFunc(func: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun depthMask(flag: Boolean)
Since Kotlin 1.1
Link copied to clipboard
abstract fun depthRange(zNear: Float, zFar: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun detachShader(program: WebGLProgram?, shader: WebGLShader?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun disable(cap: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun disableVertexAttribArray(index: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun drawArrays(mode: Int, first: Int, count: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun drawElements(mode: Int, count: Int, type: Int, offset: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun enable(cap: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun enableVertexAttribArray(index: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun finish()
Since Kotlin 1.1
Link copied to clipboard
abstract fun flush()
Since Kotlin 1.1
Link copied to clipboard
abstract fun framebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: WebGLRenderbuffer?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun framebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: WebGLTexture?, level: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun frontFace(mode: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun generateMipmap(target: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun getActiveAttrib(program: WebGLProgram?, index: Int): WebGLActiveInfo?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getActiveUniform(program: WebGLProgram?, index: Int): WebGLActiveInfo?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun getAttribLocation(program: WebGLProgram?, name: String): Int
Since Kotlin 1.1
Link copied to clipboard
abstract fun getBufferParameter(target: Int, pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun getError(): Int
Since Kotlin 1.1
Link copied to clipboard
abstract fun getExtension(name: String): dynamic
Since Kotlin 1.1
Link copied to clipboard
abstract fun getFramebufferAttachmentParameter(target: Int, attachment: Int, pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getParameter(pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getProgramInfoLog(program: WebGLProgram?): String?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getProgramParameter(program: WebGLProgram?, pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getRenderbufferParameter(target: Int, pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getShaderInfoLog(shader: WebGLShader?): String?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getShaderParameter(shader: WebGLShader?, pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getShaderPrecisionFormat(shadertype: Int, precisiontype: Int): WebGLShaderPrecisionFormat?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getShaderSource(shader: WebGLShader?): String?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun getTexParameter(target: Int, pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getUniform(program: WebGLProgram?, location: WebGLUniformLocation?): Any?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun getVertexAttrib(index: Int, pname: Int): Any?
Since Kotlin 1.1
Link copied to clipboard
abstract fun getVertexAttribOffset(index: Int, pname: Int): Int
Since Kotlin 1.1
Link copied to clipboard
abstract fun hint(target: Int, mode: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun isBuffer(buffer: WebGLBuffer?): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun isContextLost(): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun isEnabled(cap: Int): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun isFramebuffer(framebuffer: WebGLFramebuffer?): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun isProgram(program: WebGLProgram?): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun isRenderbuffer(renderbuffer: WebGLRenderbuffer?): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun isShader(shader: WebGLShader?): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun isTexture(texture: WebGLTexture?): Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract fun lineWidth(width: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun linkProgram(program: WebGLProgram?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun pixelStorei(pname: Int, param: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun polygonOffset(factor: Float, units: Float)
Since Kotlin 1.1
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
Link copied to clipboard
abstract fun renderbufferStorage(target: Int, internalformat: Int, width: Int, height: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun sampleCoverage(value: Float, invert: Boolean)
Since Kotlin 1.1
Link copied to clipboard
abstract fun scissor(x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun shaderSource(shader: WebGLShader?, source: String)
Since Kotlin 1.1
Link copied to clipboard
abstract fun stencilFunc(func: Int, ref: Int, mask: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun stencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun stencilMask(mask: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun stencilMaskSeparate(face: Int, mask: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun stencilOp(fail: Int, zfail: Int, zpass: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun stencilOpSeparate(face: Int, fail: Int, zfail: Int, zpass: Int)
Since Kotlin 1.1
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
Link copied to clipboard
abstract fun texParameterf(target: Int, pname: Int, param: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun texParameteri(target: Int, pname: Int, param: Int)
Since Kotlin 1.1
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
Link copied to clipboard
abstract fun uniform1f(location: WebGLUniformLocation?, x: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform1fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform1fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform1i(location: WebGLUniformLocation?, x: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform1iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform1iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform2f(location: WebGLUniformLocation?, x: Float, y: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform2fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform2fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform2i(location: WebGLUniformLocation?, x: Int, y: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform2iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform2iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform3f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform3fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform3fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform3i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform3iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform3iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform4f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float, w: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform4fv(location: WebGLUniformLocation?, v: Array<Float>)
abstract fun uniform4fv(location: WebGLUniformLocation?, v: Float32Array)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform4i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int, w: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun uniform4iv(location: WebGLUniformLocation?, v: Array<Int>)
abstract fun uniform4iv(location: WebGLUniformLocation?, v: Int32Array)
Since Kotlin 1.1
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
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
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
Link copied to clipboard
abstract fun useProgram(program: WebGLProgram?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun validateProgram(program: WebGLProgram?)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib1f(index: Int, x: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib1fv(index: Int, values: dynamic)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib2f(index: Int, x: Float, y: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib2fv(index: Int, values: dynamic)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib3f(index: Int, x: Float, y: Float, z: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib3fv(index: Int, values: dynamic)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttrib4fv(index: Int, values: dynamic)
Since Kotlin 1.1
Link copied to clipboard
abstract fun vertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, offset: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun viewport(x: Int, y: Int, width: Int, height: Int)
Since Kotlin 1.1