LiteFX::Rendering::PrimitiveTopology¶
Describes the topology of a mesh primitive.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
enum class PrimitiveTopology : int;
Members¶
| Name | Description |
|---|---|
PointList | A list of points where each vertex refers to an individual point. |
LineList | A list of lines where each vertex pair refers to the start and end points of a line. |
LineListWithAdjacency | A list of lines where each vertex pair refers to the start and end points of a line and where vertices also store adjacency data. |
TriangleList | A list of triangles, where each triplet of vertices refers to a whole triangle. |
TriangleListWithAdjacency | A list of triangles, where each triplet of vertices refers to a whole triangle and where vertices also store adjacency data. |
LineStrip | A strip of lines where each vertex (except the first one) refers to the end point for the next line segment. |
LineStripWithAdjacency | A strip of lines where each vertex (except the first one) refers to the end point for the next line segment. |
TriangleStrip | A strip of triangles, where each vertex (except the first two) refers to the third vertex of the next triangle segment and where vertices also store adjacency data.. |
TriangleStripWithAdjacency | A strip of triangles, where each vertex (except the first two) refers to the third vertex of the next triangle segment and where vertices also store adjacency data.. |
PatchList | A list of patches used in combination with tessellation. |