OpenGL.GL.EXT.vertex_array
OpenGL extension EXT.vertex_array
This module customises the behaviour of the
OpenGL.raw.GL.EXT.vertex_array to provide a more
Python-friendly API
Overview (from the spec)
This extension adds the ability to specify multiple geometric primitives
with very few subroutine calls. Instead of calling an OpenGL procedure
to pass each individual vertex, normal, or color, separate arrays
of vertexes, normals, and colors are prespecified, and are used to
define a sequence of primitives (all of the same type) when a single
call is made to DrawArraysEXT. A stride mechanism is provided so that
an application can choose to keep all vertex data staggered in a
single array, or sparsely in separate arrays. Single-array storage
may optimize performance on some implementations.
This extension also supports the rendering of individual array elements,
each specified as an index into the enabled arrays.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/vertex_array.txt
Functions
Constants
GL_COLOR_ARRAY_COUNT_EXT (32900)
GL_COLOR_ARRAY_EXT (32886)
GL_COLOR_ARRAY_POINTER_EXT (32912)
GL_COLOR_ARRAY_SIZE_EXT (32897)
GL_COLOR_ARRAY_STRIDE_EXT (32899)
GL_COLOR_ARRAY_TYPE_EXT (32898)
GL_EDGE_FLAG_ARRAY_COUNT_EXT (32909)
GL_EDGE_FLAG_ARRAY_EXT (32889)
GL_EDGE_FLAG_ARRAY_POINTER_EXT (32915)
GL_EDGE_FLAG_ARRAY_STRIDE_EXT (32908)
GL_INDEX_ARRAY_COUNT_EXT (32903)
GL_INDEX_ARRAY_EXT (32887)
GL_INDEX_ARRAY_POINTER_EXT (32913)
GL_INDEX_ARRAY_STRIDE_EXT (32902)
GL_INDEX_ARRAY_TYPE_EXT (32901)
GL_NORMAL_ARRAY_COUNT_EXT (32896)
GL_NORMAL_ARRAY_EXT (32885)
GL_NORMAL_ARRAY_POINTER_EXT (32911)
GL_NORMAL_ARRAY_STRIDE_EXT (32895)
GL_NORMAL_ARRAY_TYPE_EXT (32894)
GL_TEXTURE_COORD_ARRAY_COUNT_EXT (32907)
GL_TEXTURE_COORD_ARRAY_EXT (32888)
GL_TEXTURE_COORD_ARRAY_POINTER_EXT (32914)
GL_TEXTURE_COORD_ARRAY_SIZE_EXT (32904)
GL_TEXTURE_COORD_ARRAY_STRIDE_EXT (32906)
GL_TEXTURE_COORD_ARRAY_TYPE_EXT (32905)
GL_VERTEX_ARRAY_COUNT_EXT (32893)
GL_VERTEX_ARRAY_EXT (32884)
GL_VERTEX_ARRAY_POINTER_EXT (32910)
GL_VERTEX_ARRAY_SIZE_EXT (32890)
GL_VERTEX_ARRAY_STRIDE_EXT (32892)
GL_VERTEX_ARRAY_TYPE_EXT (32891)