| Trees | Indices | Toggle frames |
|---|
VertexDomain --+
|
IndexedVertexDomain
Management of a set of indexed vertex lists.
Construction of an indexed vertex domain is usually done with the create_indexed_domain function.
| __init__(self, attribute_usages, index_gl_type=5125) | |
| VertexList |
create(self,
count,
index_count)
Create an IndexedVertexList in this domain.
|
| Array of int |
get_index_region(self,
start,
count)
Get a region of the index buffer.
|
|
draw(self,
mode,
vertex_list=None)
Draw vertices in the domain.
|
|
| __del__(self) (Inherited from pyglet.graphics.vertexdomain.VertexDomain) | |
| __repr__(self) (Inherited from pyglet.graphics.vertexdomain.VertexDomain) |
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.
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:18 2009 | http://epydoc.sourceforge.net |