Interface WebGLRenderingContextOverloads
Hierarchy
- WebGLRenderingContextOverloads
Methods
bufferData
- bufferData(target: number, size: number, usage: number): void
- bufferData(target: number, data: null | BufferSource, usage: number): void
Parameters
target: number
size: number
usage: number
Returns void
Parameters
target: number
data: null | BufferSource
usage: number
Returns void
bufferSubData
- bufferSubData(target: number, offset: number, data: BufferSource): void
Parameters
target: number
offset: number
data: BufferSource
Returns void
compressedTexImage2D
- compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, data: ArrayBufferView): void
Parameters
target: number
level: number
internalformat: number
width: number
height: number
border: number
data: ArrayBufferView
Returns void
compressedTexSubImage2D
- compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, data: ArrayBufferView): void
Parameters
target: number
level: number
xoffset: number
yoffset: number
width: number
height: number
format: number
data: ArrayBufferView
Returns void
readPixels
- readPixels(x: number, y: number, width: number, height: number, format: number, type: number, pixels: null | ArrayBufferView): void
Parameters
x: number
y: number
width: number
height: number
format: number
type: number
pixels: null | ArrayBufferView
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
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
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
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
uniform1fv
Parameters
Returns void
uniform1iv
Parameters
Returns void
uniform2fv
Parameters
Returns void
uniform2iv
Parameters
Returns void
uniform3fv
Parameters
Returns void
uniform3iv
Parameters
Returns void
uniform4fv
Parameters
Returns void
uniform4iv
Parameters
Returns void
uniformMatrix2fv
Parameters
Returns void
uniformMatrix3fv
Parameters
Returns void
uniformMatrix4fv
Parameters
Returns void