Interface ANGLE_instanced_arrays

The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.

MDN Reference

interface ANGLE_instanced_arrays {
    VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 35070;
    drawArraysInstancedANGLE(mode, first, count, primcount): void;
    drawElementsInstancedANGLE(mode, count, type, offset, primcount): void;
    vertexAttribDivisorANGLE(index, divisor): void;
}

Properties

VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 35070

Methods

  • Parameters

    • mode: number
    • first: number
    • count: number
    • primcount: number

    Returns void

  • Parameters

    • mode: number
    • count: number
    • type: number
    • offset: number
    • primcount: number

    Returns void

  • Parameters

    • index: number
    • divisor: number

    Returns void