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

x/evt/lib/index.ts>dom.WebGL2RenderingContextOverloads

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

Methods

bufferData(
target: GLenum,
size: GLsizeiptr,
usage: GLenum,
): void
bufferData(
target: GLenum,
srcData: BufferSource | null,
usage: GLenum,
): void
bufferData(
target: GLenum,
srcData: ArrayBufferView,
usage: GLenum,
srcOffset: GLuint,
length?: GLuint,
): void
bufferSubData(
target: GLenum,
dstByteOffset: GLintptr,
srcData: BufferSource,
): void
bufferSubData(
target: GLenum,
dstByteOffset: GLintptr,
srcData: ArrayBufferView,
srcOffset: GLuint,
length?: GLuint,
): void
compressedTexImage2D(
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
imageSize: GLsizei,
offset: GLintptr,
): void
compressedTexImage2D(
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
srcData: ArrayBufferView,
srcOffset?: GLuint,
srcLengthOverride?: GLuint,
): void
compressedTexSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
imageSize: GLsizei,
offset: GLintptr,
): void
compressedTexSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
srcData: ArrayBufferView,
srcOffset?: GLuint,
srcLengthOverride?: GLuint,
): void
readPixels(
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
dstData: ArrayBufferView | null,
): void
readPixels(
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
offset: GLintptr,
): void
readPixels(
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
dstData: ArrayBufferView,
dstOffset: GLuint,
): 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
texImage2D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
pboOffset: GLintptr,
): void
texImage2D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
): void
texImage2D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView,
srcOffset: GLuint,
): 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
texSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
pboOffset: GLintptr,
): void
texSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
): void
texSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type: GLenum,
srcData: ArrayBufferView,
srcOffset: GLuint,
): void
uniform1fv(
location: WebGLUniformLocation | null,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniform1iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniform2fv(
location: WebGLUniformLocation | null,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniform2iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniform3fv(
location: WebGLUniformLocation | null,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniform3iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniform4fv(
location: WebGLUniformLocation | null,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniform4iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniformMatrix2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniformMatrix3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void
uniformMatrix4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
srcOffset?: GLuint,
srcLength?: GLuint,
): void