WebGLRenderingContextOverloads

Functions

Link copied to clipboard
open external fun bufferData(target: GLenum, data: AllowSharedBufferSource?, usage: GLenum)

open external fun bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum)
Link copied to clipboard
open external fun bufferSubData(target: GLenum, offset: GLintptr, data: AllowSharedBufferSource)
Link copied to clipboard
open external fun compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView<ArrayBufferLike>)
Link copied to clipboard
open external fun compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView<ArrayBufferLike>)
Link copied to clipboard
open external fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike>?)
Link copied to clipboard
open external fun texImage2D(target: GLenum, level: GLint, internalformat: GLenum, format: GLenum, type: GLenum, source: TexImageSource)

open external 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 external fun texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource)

open external 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 external fun uniform1fv(location: WebGLUniformLocation?, v: Float32List)
Link copied to clipboard
open external fun uniform1iv(location: WebGLUniformLocation?, v: Int32List)
Link copied to clipboard
open external fun uniform2fv(location: WebGLUniformLocation?, v: Float32List)
Link copied to clipboard
open external fun uniform2iv(location: WebGLUniformLocation?, v: Int32List)
Link copied to clipboard
open external fun uniform3fv(location: WebGLUniformLocation?, v: Float32List)
Link copied to clipboard
open external fun uniform3iv(location: WebGLUniformLocation?, v: Int32List)
Link copied to clipboard
open external fun uniform4fv(location: WebGLUniformLocation?, v: Float32List)
Link copied to clipboard
open external fun uniform4iv(location: WebGLUniformLocation?, v: Int32List)
Link copied to clipboard
open external fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: GLboolean, value: Float32List)
Link copied to clipboard
open external fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: GLboolean, value: Float32List)
Link copied to clipboard
open external fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: GLboolean, value: Float32List)