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;
}

Hierarchy (view full)

Methods

  • Parameters

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

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • data: ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • data: ArrayBufferView

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pixels: ArrayBufferView

    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
    • 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