Interface WebGLRenderingContextOverloads
interface WebGLRenderingContextOverloads { bufferData(target,
size,
usage): void; bufferData(target,
data,
usage): void; bufferSubData(target,
offset,
data): void; compressedTexImage2D(target,
level,
internalformat,
width,
height,
border,
data): void; compressedTexSubImage2D(target,
level,
xoffset,
yoffset,
width,
height,
format,
data): void; readPixels(x,
y,
width,
height,
format,
type,
pixels): void; texImage2D(target,
level,
internalformat,
width,
height,
border,
format,
type,
pixels): void; texImage2D(target,
level,
internalformat,
format,
type,
source): void; texSubImage2D(target,
level,
xoffset,
yoffset,
width,
height,
format,
type,
pixels): void; texSubImage2D(target,
level,
xoffset,
yoffset,
format,
type,
source): void; uniform1fv(location,
v): void; uniform1iv(location,
v): void; uniform2fv(location,
v): void; uniform2iv(location,
v): void; uniform3fv(location,
v): void; uniform3iv(location,
v): void; uniform4fv(location,
v): void; uniform4iv(location,
v): void; uniformMatrix2fv(location,
transpose,
value): void; uniformMatrix3fv(location,
transpose,
value): void; uniformMatrix4fv(location,
transpose,
value): void; } - WebGLRenderingContextOverloads
Methods
bufferData
- bufferData(target, size, usage): void
Parameters
- target: number
- size: number
- usage: number
Returns void
- bufferData(target, data, usage): void
Returns void
bufferSubData
- bufferSubData(target, offset, data): void
Returns void
compressedTexImage2D
- compressedTexImage2D(target, level, internalformat, width, height, border, data): void
Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- data: ArrayBufferView
Returns void
compressedTexSubImage2D
- compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, data): void
Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- data: ArrayBufferView
Returns void
readPixels
- readPixels(x, y, width, height, format, type, pixels): void
Parameters
- x: number
- y: number
- width: number
- height: number
- format: number
- type: number
- pixels: ArrayBufferView
Returns void
texImage2D
- texImage2D(target, level, internalformat, width, height, border, format, type, pixels): void
Parameters
- target: number
- level: number
- internalformat: number
- width: number
- height: number
- border: number
- format: number
- type: number
- pixels: ArrayBufferView
Returns void
- texImage2D(target, level, internalformat, format, type, source): void
Parameters
- target: number
- level: number
- internalformat: number
- format: number
- type: number
- source: TexImageSource
Returns void
texSubImage2D
- texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels): void
Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- width: number
- height: number
- format: number
- type: number
- pixels: ArrayBufferView
Returns void
- texSubImage2D(target, level, xoffset, yoffset, format, type, source): void
Parameters
- target: number
- level: number
- xoffset: number
- yoffset: number
- format: number
- type: number
- source: TexImageSource
Returns void
uniform1fv
- uniform1fv(location, v): void
Returns void
uniform1iv
- uniform1iv(location, v): void
Returns void
uniform2fv
- uniform2fv(location, v): void
Returns void
uniform2iv
- uniform2iv(location, v): void
Returns void
uniform3fv
- uniform3fv(location, v): void
Returns void
uniform3iv
- uniform3iv(location, v): void
Returns void
uniform4fv
- uniform4fv(location, v): void
Returns void
uniform4iv
- uniform4iv(location, v): void
Returns void
uniformMatrix2fv
- uniformMatrix2fv(location, transpose, value): void
Returns void
uniformMatrix3fv
- uniformMatrix3fv(location, transpose, value): void
Returns void
uniformMatrix4fv
- uniformMatrix4fv(location, transpose, value): void
Returns void
MDN Reference