VertexDomain
(attribute_usages)¶Management of a set of vertex lists.
Construction of a vertex domain is usually done with the create_domain function.
Constructor:
__init__
(attribute_usages)¶Methods:
VertexDomain.
create
(count)¶Create a VertexList in this domain.
Parameters: | count (int) – Number of vertices to create. |
---|---|
Return type: | VertexList |
VertexDomain.
draw
(mode, vertex_list=None)¶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: |
|
---|