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
Public Enum Points
Each vertex produces a separate point primitive.
Public Enum Lines
Each pair of vertices produces an independent line segment.
Public Enum Triangles
Each group of three vertices produces an independent triangle.
Public Enum LineStrip
The first two vertices produce a line segment, and each additional vertex produces a new line segment connected to the previous vertex.
Public Enum TriangleStrip
The first three vertices produce a triangle, and each additional vertex produces a new triangle using the previous two vertices.

See also