Interface WebGLRenderingContextOverloads

    interface WebGLRenderingContextOverloads {
        bufferData(target: number, size: number, usage: number): void;
        bufferData(target: number, data: AllowSharedBufferSource, usage: number): void;
        bufferSubData(target: number, offset: number, data: AllowSharedBufferSource): void;
        compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, data: ArrayBufferView): void;
        compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, data: ArrayBufferView): void;
        readPixels(x: number, y: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView): void;
        texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView): void;
        texImage2D(target: number, level: number, internalformat: number, format: number, type: number, source: TexImageSource): void;
        texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView): void;
        texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, source: TexImageSource): void;
        uniform1fv(location: WebGLUniformLocation, v: Float32List): void;
        uniform1fv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniform1iv(location: WebGLUniformLocation, v: Int32List): void;
        uniform1iv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniform2fv(location: WebGLUniformLocation, v: Float32List): void;
        uniform2fv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniform2iv(location: WebGLUniformLocation, v: Int32List): void;
        uniform2iv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniform3fv(location: WebGLUniformLocation, v: Float32List): void;
        uniform3fv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniform3iv(location: WebGLUniformLocation, v: Int32List): void;
        uniform3iv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniform4fv(location: WebGLUniformLocation, v: Float32List): void;
        uniform4fv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniform4iv(location: WebGLUniformLocation, v: Int32List): void;
        uniform4iv(location: WebGLUniformLocation, v: Iterable<number, any, any>): void;
        uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32List): void;
        uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Iterable<number, any, any>): void;
        uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32List): void;
        uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Iterable<number, any, any>): void;
        uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32List): void;
        uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Iterable<number, any, any>): void;
    }
    Hierarchy

    Methods

    • Parameters

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

      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