WebGL2RenderingContext

The WebGL2RenderingContext interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML element.

MDN Reference

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun beginQuery(target: GLenum, query: WebGLQuery)
Link copied to clipboard
Link copied to clipboard
open fun bindAttribLocation(program: WebGLProgram, index: GLuint, name: String)
Link copied to clipboard
open fun bindBuffer(target: GLenum, buffer: WebGLBuffer?)
Link copied to clipboard
open fun bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer?)
Link copied to clipboard
open fun bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer?, offset: GLintptr, size: GLsizeiptr)
Link copied to clipboard
open fun bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer?)
Link copied to clipboard
open fun bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer?)
Link copied to clipboard
open fun bindSampler(unit: GLuint, sampler: WebGLSampler?)
Link copied to clipboard
open fun bindTexture(target: GLenum, texture: WebGLTexture?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf)
Link copied to clipboard
Link copied to clipboard
open fun blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum)
Link copied to clipboard
open fun blendFunc(sfactor: GLenum, dfactor: GLenum)
Link copied to clipboard
open fun blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum)
Link copied to clipboard
open fun blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum)
Link copied to clipboard
open fun bufferData(target: GLenum, srcData: AllowSharedBufferSource?, usage: GLenum)
open fun bufferData(target: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, usage: GLenum, srcOffset: UInt53, length: GLuint = definedExternally)

open fun bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum)
Link copied to clipboard
open fun bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource)
open fun bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53, length: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint)
Link copied to clipboard
open fun clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset: UInt53 = definedExternally)
Link copied to clipboard
open fun clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset: UInt53 = definedExternally)
Link copied to clipboard
open fun clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset: UInt53 = definedExternally)
Link copied to clipboard
open fun clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean)
Link copied to clipboard
Link copied to clipboard
open fun compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr)
open fun compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53 = definedExternally, srcLengthOverride: GLuint = definedExternally)
Link copied to clipboard
open fun compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr)
open fun compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53 = definedExternally, srcLengthOverride: GLuint = definedExternally)
Link copied to clipboard
open fun compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr)
open fun compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53 = definedExternally, srcLengthOverride: GLuint = definedExternally)
Link copied to clipboard
open fun compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr)
open fun compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53 = definedExternally, srcLengthOverride: GLuint = definedExternally)
Link copied to clipboard
open fun copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr)
Link copied to clipboard
open fun copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint)
Link copied to clipboard
open fun copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei)
Link copied to clipboard
open fun copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei)
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 fun depthRange(zNear: GLclampf, zFar: GLclampf)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun drawArrays(mode: GLenum, first: GLint, count: GLsizei)
Link copied to clipboard
open fun drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei)
Link copied to clipboard
Link copied to clipboard
open fun drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr)
Link copied to clipboard
open fun drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei)
Link copied to clipboard
open fun drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun endQuery(target: GLenum)
Link copied to clipboard
Link copied to clipboard
open fun fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer?)
Link copied to clipboard
open fun framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture?, level: GLint)
Link copied to clipboard
open fun framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture?, level: GLint, layer: GLint)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): String?
Link copied to clipboard
open fun getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getActiveUniforms(program: WebGLProgram, uniformIndices: ReadonlyArray<GLuint>, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getBufferParameter(target: GLenum, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView<ArrayBufferLike>, dstOffset: UInt53 = definedExternally, length: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun getExtension(name: String): ERROR CLASS: Symbol not found for JsAny??
open fun getExtension(extensionName: WebGLExtension.EXT_sRGB): EXT_sRGB?
Link copied to clipboard
Link copied to clipboard
open fun getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getIndexedParameter(target: GLenum, index: GLuint): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getParameter(pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
Link copied to clipboard
open fun getProgramParameter(program: WebGLProgram, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getQuery(target: GLenum, pname: GLenum): WebGLQuery?
Link copied to clipboard
open fun getQueryParameter(query: WebGLQuery, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getRenderbufferParameter(target: GLenum, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getSamplerParameter(sampler: WebGLSampler, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
Link copied to clipboard
open fun getShaderParameter(shader: WebGLShader, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSupportedExtensions(): ReadonlyArray<ERROR CLASS: Symbol not found for JsString>?
Link copied to clipboard
open fun getSyncParameter(sync: WebGLSync, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getTexParameter(target: GLenum, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getUniform(program: WebGLProgram, location: WebGLUniformLocation): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
open fun getUniformBlockIndex(program: WebGLProgram, uniformBlockName: String): GLuint
Link copied to clipboard
open fun getUniformIndices(program: WebGLProgram, uniformNames: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>): ReadonlyArray<GLuint>?
Link copied to clipboard
Link copied to clipboard
open fun getVertexAttrib(index: GLuint, pname: GLenum): ERROR CLASS: Symbol not found for JsAny??
Link copied to clipboard
Link copied to clipboard
open fun hint(target: GLenum, mode: GLenum)
Link copied to clipboard
Link copied to clipboard
open fun invalidateSubFramebuffer(target: GLenum, attachments: ReadonlyArray<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei)
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 fun pixelStorei(pname: GLenum, param: GLboolean)

open fun pixelStorei(pname: GLenum, param: GLint)
Link copied to clipboard
open fun polygonOffset(factor: GLfloat, units: GLfloat)
Link copied to clipboard
Link copied to clipboard
open fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<ArrayBufferLike>?)
open fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr)
open fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<ArrayBufferLike>, dstOffset: UInt53)
Link copied to clipboard
open fun renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei)
Link copied to clipboard
open fun renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat)
Link copied to clipboard
open fun samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint)
Link copied to clipboard
open fun scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei)
Link copied to clipboard
open fun shaderSource(shader: WebGLShader, source: String)
Link copied to clipboard
open fun stencilFunc(func: GLenum, ref: GLint, mask: GLuint)
Link copied to clipboard
open fun stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum)
Link copied to clipboard
open fun stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum)
Link copied to clipboard
open fun texImage2D(target: GLenum, level: GLint, internalformat: GLenum, format: GLenum, type: GLenum, source: TexImageSource)
open fun texImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr)
open fun texImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource)
open fun texImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53)

open fun texImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike>?)
Link copied to clipboard
open fun texImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>?)
open fun texImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource)
open fun texImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53)

open fun texImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr)
Link copied to clipboard
open fun texParameterf(target: GLenum, pname: GLenum, param: GLfloat)

open fun texParameterf(target: GLenum, pname: GLenum, param: GLenum)
Link copied to clipboard
open fun texParameteri(target: GLenum, pname: GLenum, param: GLint)

open fun texParameteri(target: GLenum, pname: GLenum, param: GLenum)
Link copied to clipboard
open fun texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei)
Link copied to clipboard
open fun texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei)
Link copied to clipboard
open fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource)
open fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr)
open fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource)
open fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53)

open fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike>?)
Link copied to clipboard
open fun texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr)
open fun texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource)
open fun texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>?, srcOffset: UInt53 = definedExternally)
Link copied to clipboard
open fun transformFeedbackVaryings(program: WebGLProgram, varyings: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>, bufferMode: GLenum)
Link copied to clipboard
Link copied to clipboard
open fun uniform1fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform1iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform1uiv(location: WebGLUniformLocation?, data: Uint32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform2fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform2iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform2uiv(location: WebGLUniformLocation?, data: Uint32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform3fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform3iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform3uiv(location: WebGLUniformLocation?, data: Uint32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun uniform4fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform4i(location: WebGLUniformLocation?, x: GLint, y: GLint, z: GLint, w: GLint)
Link copied to clipboard
open fun uniform4iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform4ui(location: WebGLUniformLocation?, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint)
Link copied to clipboard
open fun uniform4uiv(location: WebGLUniformLocation?, data: Uint32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint)
Link copied to clipboard
open fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix2x3fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix2x4fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix3x2fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix3x4fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix4x2fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniformMatrix4x3fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
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 fun vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr)
Link copied to clipboard
open fun vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr)
Link copied to clipboard
open fun viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei)
Link copied to clipboard
open fun waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64)