WebGL2RenderingContextOverloads
interface WebGL2RenderingContextOverloads {
bufferData(
target: GLenum,
srcData: ArrayBufferView,
usage: GLenum,
srcOffset: GLuint,
length?: GLuint,
): 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,
source: TexImageSource,
): 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,
source: TexImageSource,
): 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,
source: TexImageSource,
): 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,
source: TexImageSource,
): 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,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform1fv(
location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform1iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform1iv(
location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform2fv(
location: WebGLUniformLocation | null,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform2fv(
location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform2iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform2iv(
location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform3fv(
location: WebGLUniformLocation | null,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform3fv(
location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform3iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform3iv(
location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform4fv(
location: WebGLUniformLocation | null,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform4fv(
location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform4iv(
location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniform4iv(
location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniformMatrix2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniformMatrix2fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniformMatrix3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniformMatrix3fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniformMatrix4fv(
location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;uniformMatrix4fv(
}location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void;§Methods
§
uniform1fv(
[src]location: WebGLUniformLocation | null,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform1fv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform1iv(
[src]location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform1iv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform2fv(
[src]location: WebGLUniformLocation | null,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform2fv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform2iv(
[src]location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform2iv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform3fv(
[src]location: WebGLUniformLocation | null,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform3fv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform3iv(
[src]location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform3iv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform4fv(
[src]location: WebGLUniformLocation | null,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform4fv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLfloat>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform4iv(
[src]location: WebGLUniformLocation | null,
data: Int32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniform4iv(
[src]location: WebGLUniformLocation | null,
data: Iterable<GLint>,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniformMatrix2fv(
[src]location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniformMatrix3fv(
[src]location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void§
uniformMatrix4fv(
[src]location: WebGLUniformLocation | null,
transpose: GLboolean,
data: Float32List,
srcOffset?: GLuint,
srcLength?: GLuint,
): void