WebGL
Khronos
 

WebGL ANGLE_instanced_arrays Khronos Ratified Extension Specification

Name

ANGLE_instanced_arrays

Contact

WebGL working group (public_webgl 'at' khronos.org)

Contributors

Contributors to ANGLE_instanced_arrays

Members of the WebGL working group

Version

Last modified date: September 23, 2015
Revision: 9

Number

WebGL extension #19

Dependencies

Written against the WebGL API 1.0 specification.

Promoted to core and no longer available as an extension in WebGL API 2.0 specification.

Overview

This extension exposes the ANGLE_instanced_arrays functionality to WebGL.

The following WebGL-specific behavioral changes apply:

Consult the above extension for documentation, issues and new functions and enumerants.

Although the extension contains ANGLE in the name it may be exposed by any implementation, whether or not the implementation uses the ANGLE library.

IDL

[Exposed=(Window,Worker), LegacyNoInterfaceObject]
interface ANGLE_instanced_arrays {
    const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
    undefined drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
    undefined drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount);
    undefined vertexAttribDivisorANGLE(GLuint index, GLuint divisor); 
};
  

Issues

How does ANGLE_instanced_arrays interact with OES_vertex_array_object?

Revision History

Revision 1, 2012/03/06

Revision 2, 2013/01/26

Revision 3, 2013/03/11

Revision 4, 2013/08/06

Revision 5, 2013/08/22

Revision 6, 2014/03/13

Revision 7, 2014/07/15

Revision 8, 2014/08/08

Revision 9, 2015/09/23