Home -> IRenderableNode -> PrimitiveMode
Description
The PrimitiveMode enumeration defines how vertex or index streams are assembled into geometric primitives for an IRenderableNode. It is set with SetPrimitiveMode and affects how SetVertexCount counts are interpreted.
Members
| Name | Description | |
|---|---|---|
| Points |
Each vertex produces a separate point primitive.
|
|
| Lines |
Each pair of vertices produces an independent line segment.
|
|
| Triangles |
Each group of three vertices produces an independent triangle.
|
|
| LineStrip |
The first two vertices produce a line segment, and each additional vertex produces a new line segment connected to the previous vertex.
|
|
| TriangleStrip |
The first three vertices produce a triangle, and each additional vertex produces a new triangle using the previous two vertices.
|