WebGL2RenderingContextOverloads

Functions

Link copied to clipboard
abstract fun bufferData(target: GLenum, srcData: AllowSharedBufferSource?, usage: GLenum)
abstract fun bufferData(target: GLenum, srcData: ArrayBufferView<*>, usage: GLenum, srcOffset: Int, length: GLuint?)

abstract fun bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum)
Link copied to clipboard
abstract fun bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource)
abstract fun bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView<*>, srcOffset: Int, length: GLuint?)
Link copied to clipboard
abstract fun compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr)
abstract fun compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView<*>, srcOffset: Int?, srcLengthOverride: GLuint?)
Link copied to clipboard
abstract fun compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr)
abstract fun compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView<*>, srcOffset: Int?, srcLengthOverride: GLuint?)
Link copied to clipboard
abstract fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<*>?)
abstract fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr)
abstract fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<*>, dstOffset: Int)
Link copied to clipboard
abstract fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource)
abstract fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr)
abstract fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource)
abstract fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<*>, srcOffset: Int)

abstract fun texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<*>?)
Link copied to clipboard
abstract fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource)
abstract fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr)
abstract fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource)
abstract fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView<*>, srcOffset: Int)

abstract fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<*>?)
Link copied to clipboard
abstract fun uniform1fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniform1iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniform2fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniform2iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniform3fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniform3iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniform4fv(location: WebGLUniformLocation?, data: Float32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniform4iv(location: WebGLUniformLocation?, data: Int32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: Int?, srcLength: GLuint?)
Link copied to clipboard
abstract fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: GLboolean, data: Float32List, srcOffset: Int?, srcLength: GLuint?)