Interface WebGL2RenderingContextOverloads
Hierarchy
- WebGL2RenderingContextOverloads
Methods
bufferData
- bufferData(target: number, size: number, usage: number): void
- bufferData(target: number, srcData: null | BufferSource, usage: number): void
- bufferData(target: number, srcData: ArrayBufferView, usage: number, srcOffset: number, length?: number): void
Parameters
target: number
size: number
usage: number
Returns void
Parameters
target: number
srcData: null | BufferSource
usage: number
Returns void
Parameters
target: number
srcData: ArrayBufferView
usage: number
srcOffset: number
Optional length: number
Returns void
bufferSubData
- bufferSubData(target: number, dstByteOffset: number, srcData: BufferSource): void
- bufferSubData(target: number, dstByteOffset: number, srcData: ArrayBufferView, srcOffset: number, length?: number): void
Parameters
target: number
dstByteOffset: number
srcData: BufferSource
Returns 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
- 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
imageSize: number
offset: number
Returns void
Parameters
target: number
level: number
internalformat: number
width: number
height: number
border: number
srcData: ArrayBufferView
Optional srcOffset: number
Optional 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
- 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
imageSize: number
offset: number
Returns void
Parameters
target: number
level: number
xoffset: number
yoffset: number
width: number
height: number
format: number
srcData: ArrayBufferView
Optional srcOffset: number
Optional srcLengthOverride: number
Returns void
readPixels
- readPixels(x: number, y: number, width: number, height: number, format: number, type: number, dstData: null | 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
Parameters
x: number
y: number
width: number
height: number
format: number
type: number
dstData: null | ArrayBufferView
Returns void
Parameters
x: number
y: number
width: number
height: number
format: number
type: number
offset: number
Returns 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: null | 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
Parameters
target: number
level: number
internalformat: number
width: number
height: number
border: number
format: number
type: number
pixels: null | ArrayBufferView
Returns void
Parameters
target: number
level: number
internalformat: number
format: number
type: number
Returns void
Parameters
target: number
level: number
internalformat: number
width: number
height: number
border: number
format: number
type: number
pboOffset: number
Returns void
Parameters
target: number
level: number
internalformat: number
width: number
height: number
border: number
format: number
type: number
Returns 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: null | 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
Parameters
target: number
level: number
xoffset: number
yoffset: number
width: number
height: number
format: number
type: number
pixels: null | ArrayBufferView
Returns void
Parameters
target: number
level: number
xoffset: number
yoffset: number
format: number
type: number
Returns void
Parameters
target: number
level: number
xoffset: number
yoffset: number
width: number
height: number
format: number
type: number
pboOffset: number
Returns void
Parameters
target: number
level: number
xoffset: number
yoffset: number
width: number
height: number
format: number
type: number
Returns 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
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniform1iv
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniform2fv
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniform2iv
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniform3fv
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniform3iv
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniform4fv
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniform4iv
Parameters
Optional srcOffset: number
Optional srcLength: number
Returns void
uniformMatrix2fv
Parameters
transpose: boolean
Optional srcOffset: number
Optional srcLength: number
Returns void
uniformMatrix3fv
Parameters
transpose: boolean
Optional srcOffset: number
Optional srcLength: number
Returns void
uniformMatrix4fv
Parameters
transpose: boolean
Optional srcOffset: number
Optional srcLength: number
Returns void