Interface WEBGL_multi_draw

    interface WEBGL_multi_draw {
        multiDrawArraysInstancedWEBGL(
            mode: number,
            firstsList: number[] | Int32Array,
            firstsOffset: number,
            countsList: number[] | Int32Array,
            countsOffset: number,
            instanceCountsList: number[] | Int32Array,
            instanceCountsOffset: number,
            drawcount: number,
        ): void;
        multiDrawArraysInstancedWEBGL(
            mode: number,
            firstsList: Int32Array | Iterable<number>,
            firstsOffset: number,
            countsList: Int32Array | Iterable<number>,
            countsOffset: number,
            instanceCountsList: Int32Array | Iterable<number>,
            instanceCountsOffset: number,
            drawcount: number,
        ): void;
        multiDrawArraysWEBGL(
            mode: number,
            firstsList: number[] | Int32Array,
            firstsOffset: number,
            countsList: number[] | Int32Array,
            countsOffset: number,
            drawcount: number,
        ): void;
        multiDrawArraysWEBGL(
            mode: number,
            firstsList: Int32Array | Iterable<number>,
            firstsOffset: number,
            countsList: Int32Array | Iterable<number>,
            countsOffset: number,
            drawcount: number,
        ): void;
        multiDrawElementsInstancedWEBGL(
            mode: number,
            countsList: number[] | Int32Array,
            countsOffset: number,
            type: number,
            offsetsList: number[] | Int32Array,
            offsetsOffset: number,
            instanceCountsList: number[] | Int32Array,
            instanceCountsOffset: number,
            drawcount: number,
        ): void;
        multiDrawElementsInstancedWEBGL(
            mode: number,
            countsList: Int32Array | Iterable<number>,
            countsOffset: number,
            type: number,
            offsetsList: Int32Array | Iterable<number>,
            offsetsOffset: number,
            instanceCountsList: Int32Array | Iterable<number>,
            instanceCountsOffset: number,
            drawcount: number,
        ): void;
        multiDrawElementsWEBGL(
            mode: number,
            countsList: number[] | Int32Array,
            countsOffset: number,
            type: number,
            offsetsList: number[] | Int32Array,
            offsetsOffset: number,
            drawcount: number,
        ): void;
        multiDrawElementsWEBGL(
            mode: number,
            countsList: Int32Array | Iterable<number>,
            countsOffset: number,
            type: number,
            offsetsList: Int32Array | Iterable<number>,
            offsetsOffset: number,
            drawcount: number,
        ): void;
    }

    Methods

    • Parameters

      • mode: number
      • firstsList: number[] | Int32Array
      • firstsOffset: number
      • countsList: number[] | Int32Array
      • countsOffset: number
      • instanceCountsList: number[] | Int32Array
      • instanceCountsOffset: number
      • drawcount: number

      Returns void

    • Parameters

      Returns void

    • Parameters

      • mode: number
      • firstsList: number[] | Int32Array
      • firstsOffset: number
      • countsList: number[] | Int32Array
      • countsOffset: number
      • drawcount: number

      Returns void

    • Parameters

      Returns void

    • Parameters

      • mode: number
      • countsList: number[] | Int32Array
      • countsOffset: number
      • type: number
      • offsetsList: number[] | Int32Array
      • offsetsOffset: number
      • instanceCountsList: number[] | Int32Array
      • instanceCountsOffset: number
      • drawcount: number

      Returns void

    • Parameters

      Returns void

    • Parameters

      • mode: number
      • countsList: number[] | Int32Array
      • countsOffset: number
      • type: number
      • offsetsList: number[] | Int32Array
      • offsetsOffset: number
      • drawcount: number

      Returns void

    • Parameters

      Returns void