PrimitiveType Enum
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Defines how vertex data is ordered.
[DataContract]
public enum PrimitiveType
Fields
Name | Description |
---|---|
LineList | The data is ordered as a sequence of line segments; each line segment is described by two new vertices. The count may be any positive integer. |
LineListWithAdjacency | No documentation. |
LineStrip | The data is ordered as a sequence of line segments; each line segment is described by one new vertex and the last vertex from the previous line seqment. The count may be any positive integer. |
LineStripWithAdjacency | No documentation. |
PatchList | |
PointList | No documentation. |
TriangleList | The data is ordered as a sequence of triangles; each triangle is described by three new vertices. Back-face culling is affected by the current winding-order render state. |
TriangleListWithAdjacency | No documentation. |
TriangleStrip | The data is ordered as a sequence of triangles; each triangle is described by two new vertices and one vertex from the previous triangle. The back-face culling flag is flipped automatically on even-numbered |
TriangleStripWithAdjacency | No documentation. |
Undefined | No documentation. |