Interface WebGL2RenderingContextOverloads
interface WebGL2RenderingContextOverloads {
bufferData(target: number, size: number, usage: number): void;
bufferData(
target: number,
srcData: AllowSharedBufferSource,
usage: number,
): void;
bufferData(
target: number,
srcData: ArrayBufferView,
usage: number,
srcOffset: number,
length?: number,
): void;
bufferSubData(
target: number,
dstByteOffset: number,
srcData: AllowSharedBufferSource,
): void;
bufferSubData(
target: number,
dstByteOffset: number,
srcData: ArrayBufferView,
srcOffset: number,
length?: number,
): void;
compressedTexImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
imageSize: number,
offset: number,
): void;
compressedTexImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
srcData: ArrayBufferView,
srcOffset?: number,
srcLengthOverride?: number,
): void;
compressedTexSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
imageSize: number,
offset: number,
): void;
compressedTexSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
srcData: ArrayBufferView,
srcOffset?: number,
srcLengthOverride?: number,
): void;
readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
dstData: ArrayBufferView,
): void;
readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
offset: number,
): void;
readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
dstData: ArrayBufferView,
dstOffset: number,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
pixels: ArrayBufferView,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
format: number,
type: number,
source: TexImageSource,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
pboOffset: number,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
source: TexImageSource,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
srcData: ArrayBufferView,
srcOffset: number,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
pixels: ArrayBufferView,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
format: number,
type: number,
source: TexImageSource,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
pboOffset: number,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
source: TexImageSource,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
srcData: ArrayBufferView,
srcOffset: number,
): void;
uniform1fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform1fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform1iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform1iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform2fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform2fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform2iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform2iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform3fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform3fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform3iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform3iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform4fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform4fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform4iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform4iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix2fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix2fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix3fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix3fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix4fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix4fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
}
bufferData(target: number, size: number, usage: number): void;
bufferData(
target: number,
srcData: AllowSharedBufferSource,
usage: number,
): void;
bufferData(
target: number,
srcData: ArrayBufferView,
usage: number,
srcOffset: number,
length?: number,
): void;
bufferSubData(
target: number,
dstByteOffset: number,
srcData: AllowSharedBufferSource,
): void;
bufferSubData(
target: number,
dstByteOffset: number,
srcData: ArrayBufferView,
srcOffset: number,
length?: number,
): void;
compressedTexImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
imageSize: number,
offset: number,
): void;
compressedTexImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
srcData: ArrayBufferView,
srcOffset?: number,
srcLengthOverride?: number,
): void;
compressedTexSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
imageSize: number,
offset: number,
): void;
compressedTexSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
srcData: ArrayBufferView,
srcOffset?: number,
srcLengthOverride?: number,
): void;
readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
dstData: ArrayBufferView,
): void;
readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
offset: number,
): void;
readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
dstData: ArrayBufferView,
dstOffset: number,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
pixels: ArrayBufferView,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
format: number,
type: number,
source: TexImageSource,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
pboOffset: number,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
source: TexImageSource,
): void;
texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
srcData: ArrayBufferView,
srcOffset: number,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
pixels: ArrayBufferView,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
format: number,
type: number,
source: TexImageSource,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
pboOffset: number,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
source: TexImageSource,
): void;
texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
srcData: ArrayBufferView,
srcOffset: number,
): void;
uniform1fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform1fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform1iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform1iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform2fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform2fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform2iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform2iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform3fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform3fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform3iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform3iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform4fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform4fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniform4iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void;
uniform4iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix2fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix2fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix3fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix3fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix4fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void;
uniformMatrix4fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void;
}
Hierarchy
- WebGL2RenderingContextOverloads (View Summary)
Methods
bufferData
- bufferData(target: number, size: number, usage: number): void
Parameters
- target: number
- size: number
- usage: number
Returns void
- bufferData(
target: number,
srcData: AllowSharedBufferSource,
usage: number,
): void Parameters
- target: number
- srcData: AllowSharedBufferSource
- usage: number
Returns void
- bufferData(
target: number,
srcData: ArrayBufferView,
usage: number,
srcOffset: number,
length?: number,
): void Parameters
- target: number
- srcData: ArrayBufferView
- usage: number
- srcOffset: number
Optional
length: number
Returns void
bufferSubData
- bufferSubData(
target: number,
dstByteOffset: number,
srcData: AllowSharedBufferSource,
): void Parameters
- target: number
- dstByteOffset: number
- srcData: AllowSharedBufferSource
Returns void
- bufferSubData(
target: number,
dstByteOffset: number,
srcData: ArrayBufferView,
srcOffset: number,
length?: number,
): void Parameters
- target: number
- dstByteOffset: number
- srcData: ArrayBufferView
- srcOffset: number
Optional
length: number
Returns void
compressedTexImage2D
- compressedTexImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
imageSize: number,
offset: number,
): void Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- imageSize: number
- offset: number
Returns void
- compressedTexImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
srcData: ArrayBufferView,
srcOffset?: number,
srcLengthOverride?: number,
): void Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- srcData: ArrayBufferView
Optional
srcOffset: numberOptional
srcLengthOverride: number
Returns void
compressedTexSubImage2D
- compressedTexSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
imageSize: number,
offset: number,
): void Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- imageSize: number
- offset: number
Returns void
- compressedTexSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
srcData: ArrayBufferView,
srcOffset?: number,
srcLengthOverride?: number,
): void Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- srcData: ArrayBufferView
Optional
srcOffset: numberOptional
srcLengthOverride: number
Returns void
readPixels
- readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
dstData: ArrayBufferView,
): void Parameters
- x: number
- y: number
- width: number
- height: number
- format: number
- type: number
- dstData: ArrayBufferView
Returns void
- readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
offset: number,
): void Parameters
- x: number
- y: number
- width: number
- height: number
- format: number
- type: number
- offset: number
Returns void
- readPixels(
x: number,
y: number,
width: number,
height: number,
format: number,
type: number,
dstData: ArrayBufferView,
dstOffset: number,
): void Parameters
- x: number
- y: number
- width: number
- height: number
- format: number
- type: number
- dstData: ArrayBufferView
- dstOffset: number
Returns void
texImage2D
- texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
pixels: ArrayBufferView,
): void Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- format: number
- type: number
- pixels: ArrayBufferView
Returns void
- texImage2D(
target: number,
level: number,
internalformat: number,
format: number,
type: number,
source: TexImageSource,
): void Parameters
- target: number
- level: number
- internalformat: number
- format: number
- type: number
- source: TexImageSource
Returns void
- texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
pboOffset: number,
): void Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- format: number
- type: number
- pboOffset: number
Returns void
- texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
source: TexImageSource,
): void Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- format: number
- type: number
- source: TexImageSource
Returns void
- texImage2D(
target: number,
level: number,
internalformat: number,
width: number,
height: number,
border: number,
format: number,
type: number,
srcData: ArrayBufferView,
srcOffset: number,
): void Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- format: number
- type: number
- srcData: ArrayBufferView
- srcOffset: number
Returns void
texSubImage2D
- texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
pixels: ArrayBufferView,
): void Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- type: number
- pixels: ArrayBufferView
Returns void
- texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
format: number,
type: number,
source: TexImageSource,
): void Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- format: number
- type: number
- source: TexImageSource
Returns void
- texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
pboOffset: number,
): void Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- type: number
- pboOffset: number
Returns void
- texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
source: TexImageSource,
): void Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- type: number
- source: TexImageSource
Returns void
- texSubImage2D(
target: number,
level: number,
xoffset: number,
yoffset: number,
width: number,
height: number,
format: number,
type: number,
srcData: ArrayBufferView,
srcOffset: number,
): void Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- type: number
- srcData: ArrayBufferView
- srcOffset: number
Returns void
uniform1fv
- uniform1fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Float32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform1fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniform1iv
- uniform1iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Int32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform1iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniform2fv
- uniform2fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Float32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform2fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniform2iv
- uniform2iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Int32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform2iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniform3fv
- uniform3fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Float32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform3fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniform3iv
- uniform3iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Int32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform3iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniform4fv
- uniform4fv(
location: WebGLUniformLocation,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Float32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform4fv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniform4iv
- uniform4iv(
location: WebGLUniformLocation,
data: Int32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Int32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniform4iv(
location: WebGLUniformLocation,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniformMatrix2fv
- uniformMatrix2fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- transpose: boolean
- data: Float32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniformMatrix2fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- transpose: boolean
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniformMatrix3fv
- uniformMatrix3fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- transpose: boolean
- data: Float32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniformMatrix3fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- transpose: boolean
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
uniformMatrix4fv
- uniformMatrix4fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Float32List,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- transpose: boolean
- data: Float32List
Optional
srcOffset: numberOptional
srcLength: number
Returns void
- uniformMatrix4fv(
location: WebGLUniformLocation,
transpose: boolean,
data: Iterable<number>,
srcOffset?: number,
srcLength?: number,
): void Parameters
- location: WebGLUniformLocation
- transpose: boolean
- data: Iterable<number>
Optional
srcOffset: numberOptional
srcLength: number
Returns void
MDN Reference