coderef

ANGLE_instanced_arrays WebGL extensionBaseline · Widely available

The ANGLE_instanced_arrays extension for WebGL 1.0 contexts draws the same object multiple times or groups of similar objects multiple times, if the group shares the same vertex data, primitive count and type.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jun 7, 2016. Widely available since Dec 7, 2018.

Browser support

DesktopChrome
1–31Not supported
32+Supportedsince Jan 14, 2014
Current: 155
Edge
12+Supportedsince Jul 29, 2015
Current: 154
Firefox
1–46Not supported
47+Supportedsince Jun 7, 2016
Current: 157
Safari
1–7Not supported
8+Supportedsince Oct 16, 2014
Current: 27
MobileChrome Android
18–29Not supported
30+Supportedsince Oct 2, 2013
Current: 155
Firefox Android
4–46Not supported
47+Supportedsince Jun 7, 2016
Current: 157
Safari iOS
1–7Not supported
8+Supportedsince Sep 17, 2014
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: ANGLE instanced arrays.

Feature detection

JS · check before using
if ("ANGLE_instanced_arrays" in globalThis) {
  // ANGLE_instanced_arrays is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (4). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
ANGLE_instanced_arrays321247830478
ANGLE_instanced_arrays.drawArraysInstancedANGLE321247830478
ANGLE_instanced_arrays.drawElementsInstancedANGLE321247830478
ANGLE_instanced_arrays.vertexAttribDivisorANGLE321247830478