WebGL
Khronos
 

WebGL ANGLE_instanced_arrays 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: March 13, 2014
Revision: 6

Number

WebGL extension #19

Dependencies

Written against the WebGL API 1.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

interface ANGLE_instanced_arrays {
    const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
    void drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
    void drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount);
    void vertexAttribDivisorANGLE(GLuint index, GLuint divisor); 
};
  

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