Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.WebGLRenderingContextOverloads

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.WebGLRenderingContextOverloads
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { WebGLRenderingContextOverloads } = dom;

Methods

bufferData(
target: GLenum,
size: GLsizeiptr,
usage: GLenum,
): void
bufferData(
target: GLenum,
data: BufferSource | null,
usage: GLenum,
): void
bufferSubData(
target: GLenum,
offset: GLintptr,
): void
compressedTexImage2D(
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
data: ArrayBufferView,
): void
compressedTexSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
data: ArrayBufferView,
): void
readPixels(
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
pixels: ArrayBufferView | null,
): void
texImage2D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
pixels: ArrayBufferView | null,
): void
texImage2D(
target: GLenum,
level: GLint,
internalformat: GLint,
format: GLenum,
type: GLenum,
): void
texSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
pixels: ArrayBufferView | null,
): void
texSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
format: GLenum,
type: GLenum,
): void
uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void
uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void
uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void
uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void
uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void
uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void
uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void
uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void
uniformMatrix2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
value: Float32List,
): void
uniformMatrix3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
value: Float32List,
): void
uniformMatrix4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
value: Float32List,
): void