ANGLE_instanced_arrays
WebGL working group (public_webgl 'at' khronos.org)
Contributors to ANGLE_instanced_arrays
Members of the WebGL working group
Last modified date: September 23, 2015
Revision: 9
WebGL extension #19
Written against the WebGL API 1.0 specification.
Promoted to core and no longer available as an extension in WebGL API 2.0 specification.
This extension exposes the ANGLE_instanced_arrays functionality to WebGL.
The following WebGL-specific behavioral changes apply:
drawArraysInstancedANGLE
and drawElementsInstancedANGLE
similarly to how indices referenced by drawArrays
and drawElements
are validated according to section
Enabled Vertex Attributes and Range Checking of the
WebGL specification.
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.
[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); };
How does ANGLE_instanced_arrays interact with OES_vertex_array_object?
RESOLVED: When the ANGLE_instanced_arrays and OES_vertex_array_object extensions are both enabled, attribute divisors are tracked by the vertex array objects like any other vertex array state.
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