Interface WebGL2RenderingContextOverloads
Hierarchy
-
WebGL2RenderingContextOverloads
Methods
bufferData
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
-
-
srcData: ArrayBufferView
-
-
-
Optional length: GLuint
Returns void
bufferSubData
-
Parameters
Returns void
-
Parameters
-
-
-
srcData: ArrayBufferView
-
-
Optional length: GLuint
Returns void
compressedTexImage2D
- compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void
- compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void
-
Parameters
Returns void
-
Parameters
-
-
-
internalformat: GLenum
-
-
-
-
srcData: ArrayBufferView
-
Optional srcOffset: GLuint
-
Optional srcLengthOverride: GLuint
Returns void
compressedTexSubImage2D
- compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void
- compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void
-
Parameters
Returns void
-
Parameters
-
-
-
-
-
-
-
-
srcData: ArrayBufferView
-
Optional srcOffset: GLuint
-
Optional srcLengthOverride: GLuint
Returns void
readPixels
- readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void
- readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void
- readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void
-
Parameters
-
-
-
-
-
-
-
dstData: ArrayBufferView | null
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
texImage2D
- texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void
- texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void
- texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void
- texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void
- texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void
-
Parameters
-
-
-
internalformat: GLint
-
-
-
-
-
-
pixels: ArrayBufferView | null
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
-
-
-
internalformat: GLint
-
-
-
-
-
-
srcData: ArrayBufferView
-
Returns void
texSubImage2D
- texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void
- texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void
- texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void
- texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void
- texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void
-
Parameters
-
-
-
-
-
-
-
-
-
pixels: ArrayBufferView | null
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
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