GL_OES_element_index_uint#

Supported Hardware#

Series5, Series5XT, Series6, Series6XE, Series6XT (ES2/3 Only)

Valid APIs#

OpenGL ES 1.x, 2.0

Description#

This extension adds the ability to use an array of unsigned integers (GL_UNSIGNED_INT) as indices in glDrawElements - typically only unsigned short or unsigned byte types are supported. This is more costly than using byte or short in terms of bandwidth, but does allow a much greater range of data to be specified - allowing larger models to be sent through one draw call where they would otherwise have to be batched.

Note#

This functionality is core to OpenGL ES 3.0

Example#

// Draw with 32-bit, unsigned integer indices
glDrawElements(GL_TRIANGLES, 32, GL_UNSIGNED_INT, indices);