Management of a set of indexed vertex lists.
Construction of an indexed vertex domain is usually done with the create_indexed_domain function.
Constructor:
Methods:
create(count, index_count) Create an IndexedVertexList in this domain. draw(mode[, vertex_list]) Draw vertices in the domain. get_index_region(start, count) Get a region of the index buffer.
Create an IndexedVertexList in this domain.
Parameters: |
|
---|
Draw vertices in the domain.
If vertex_list is not specified, all vertices in the domain are drawn. This is the most efficient way to render primitives.
If vertex_list specifies a VertexList, only primitives in that list will be drawn.
Parameters: |
|
---|
Get a region of the index buffer.
Parameters: |
|
---|---|
Return type: | Array of int |