vertex_list Function

Defined in pyglet.graphics

vertex_list(count, *data)

Create a VertexList not associated with a batch, group or mode.

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

VertexList

Previous topic

draw_indexed Function

Next topic

vertex_list_indexed Function