vertex_list_indexed Function

Defined in pyglet.graphics

vertex_list_indexed(count, indices, *data)

Create an IndexedVertexList not associated with a batch, group or mode.

Parameters:
  • count (int) – The number of vertices in the list.
  • indices (sequence) – Sequence of integers giving indices into the vertex list.
  • data (data items) – Attribute formats and initial data for the vertex list. See the module summary for details.
Return type:

IndexedVertexList

Previous topic

vertex_list Function

Next topic

pyglet.image