WebGL2RenderingContextOverloads

Functions

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
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 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 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 texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource)
open fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr)
open fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource)
open fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: UInt53)

open fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike>?)
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 uniform1fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform1iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform2fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform2iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform3fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform3iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform4fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
Link copied to clipboard
open fun uniform4iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: UInt53 = definedExternally, srcLength: GLuint = definedExternally)
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 uniformMatrix3fv(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)