Interface WebGL2RenderingContextOverloads

interface WebGL2RenderingContextOverloads {
    bufferData(target, size, usage): void;
    bufferData(target, srcData, usage): void;
    bufferData(target, srcData, usage, srcOffset, length?): void;
    bufferSubData(target, dstByteOffset, srcData): void;
    bufferSubData(target, dstByteOffset, srcData, srcOffset, length?): void;
    compressedTexImage2D(target, level, internalformat, width, height, border, imageSize, offset): void;
    compressedTexImage2D(target, level, internalformat, width, height, border, srcData, srcOffset?, srcLengthOverride?): void;
    compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, offset): void;
    compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, srcData, srcOffset?, srcLengthOverride?): void;
    readPixels(x, y, width, height, format, type, dstData): void;
    readPixels(x, y, width, height, format, type, offset): void;
    readPixels(x, y, width, height, format, type, dstData, dstOffset): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, pixels): void;
    texImage2D(target, level, internalformat, format, type, source): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, pboOffset): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, source): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, srcData, srcOffset): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels): void;
    texSubImage2D(target, level, xoffset, yoffset, format, type, source): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pboOffset): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, source): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, srcData, srcOffset): void;
    uniform1fv(location, data, srcOffset?, srcLength?): void;
    uniform1iv(location, data, srcOffset?, srcLength?): void;
    uniform2fv(location, data, srcOffset?, srcLength?): void;
    uniform2iv(location, data, srcOffset?, srcLength?): void;
    uniform3fv(location, data, srcOffset?, srcLength?): void;
    uniform3iv(location, data, srcOffset?, srcLength?): void;
    uniform4fv(location, data, srcOffset?, srcLength?): void;
    uniform4iv(location, data, srcOffset?, srcLength?): void;
    uniformMatrix2fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix3fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix4fv(location, transpose, data, srcOffset?, srcLength?): void;
}

Hierarchy (view full)

Methods

  • Parameters

    • target: number
    • size: number
    • usage: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • srcData: ArrayBufferView
    • usage: number
    • srcOffset: number
    • Optional length: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • dstByteOffset: number
    • srcData: ArrayBufferView
    • srcOffset: number
    • Optional length: number

    Returns 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

  • 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

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • format: number
    • type: number
    • dstData: 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

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • pixels: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • format: number
    • type: number
    • source: TexImageSource

    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
    • source: TexImageSource

    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

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pixels: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • format: number
    • type: number
    • source: TexImageSource

    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
    • source: TexImageSource

    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

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void