WebGLRenderingContextOverloads
Extended by
Methods
bufferData()
Call Signature
bufferData(
target,
size,
usage
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
size | number |
usage | number |
Returns
void
Call Signature
bufferData(
target,
data,
usage
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
data | AllowSharedBufferSource | null |
usage | number |
Returns
void
bufferSubData()
bufferSubData(
target,
offset,
data
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
offset | number |
data | AllowSharedBufferSource |
Returns
void
compressedTexImage2D()
compressedTexImage2D(
target,
level,
internalformat,
width,
height,
border,
data
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
internalformat | number |
width | number |
height | number |
border | number |
data | ArrayBufferView<ArrayBufferLike> |
Returns
void
compressedTexSubImage2D()
compressedTexSubImage2D(
target,
level,
xoffset,
yoffset,
width,
height,
format,
data
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
xoffset | number |
yoffset | number |
width | number |
height | number |
format | number |
data | ArrayBufferView<ArrayBufferLike> |
Returns
void
readPixels()
readPixels(
x,
y,
width,
height,
format,
type,
pixels
): void;
Parameters
| Parameter | Type |
|---|---|
x | number |
y | number |
width | number |
height | number |
format | number |
type | number |
pixels | | ArrayBufferView<ArrayBufferLike> | null |
Returns
void
texImage2D()
Call Signature
texImage2D(
target,
level,
internalformat,
width,
height,
border,
format,
type,
pixels
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
internalformat | number |
width | number |
height | number |
border | number |
format | number |
type | number |
pixels | | ArrayBufferView<ArrayBufferLike> | null |
Returns
void
Call Signature
texImage2D(
target,
level,
internalformat,
format,
type,
source
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
internalformat | number |
format | number |
type | number |
source | TexImageSource |
Returns
void
texSubImage2D()
Call Signature
texSubImage2D(
target,
level,
xoffset,
yoffset,
width,
height,
format,
type,
pixels
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
xoffset | number |
yoffset | number |
width | number |
height | number |
format | number |
type | number |
pixels | | ArrayBufferView<ArrayBufferLike> | null |
Returns
void
Call Signature
texSubImage2D(
target,
level,
xoffset,
yoffset,
format,
type,
source
): void;
Parameters
| Parameter | Type |
|---|---|
target | number |
level | number |
xoffset | number |
yoffset | number |
format | number |
type | number |
source | TexImageSource |
Returns
void
uniform1fv()
Call Signature
uniform1fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Call Signature
uniform1fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniform1iv()
Call Signature
uniform1iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Call Signature
uniform1iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniform2fv()
Call Signature
uniform2fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Call Signature
uniform2fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniform2iv()
Call Signature
uniform2iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Call Signature
uniform2iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniform3fv()
Call Signature
uniform3fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Call Signature
uniform3fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniform3iv()
Call Signature
uniform3iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Call Signature
uniform3iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniform4fv()
Call Signature
uniform4fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Float32List |
Returns
void
Call Signature
uniform4fv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniform4iv()
Call Signature
uniform4iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Int32List |
Returns
void
Call Signature
uniform4iv(location, v): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
v | Iterable<number> |
Returns
void
uniformMatrix2fv()
Call Signature
uniformMatrix2fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Float32List |
Returns
void
Call Signature
uniformMatrix2fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Iterable<number> |
Returns
void
uniformMatrix3fv()
Call Signature
uniformMatrix3fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Float32List |
Returns
void
Call Signature
uniformMatrix3fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Iterable<number> |
Returns
void
uniformMatrix4fv()
Call Signature
uniformMatrix4fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Float32List |
Returns
void
Call Signature
uniformMatrix4fv(
location,
transpose,
value
): void;
Parameters
| Parameter | Type |
|---|---|
location | WebGLUniformLocation | null |
transpose | boolean |
value | Iterable<number> |
Returns
void