Luna::RHI::PrimitiveTopology
enum PrimitiveTopology : u8
{
point_list
line_list
line_strip
triangle_list
triangle_strip
}
Specifies the primitive type for the graphics pipeline to draw.
Options
-
Draws point list, where every vertex in the vertex buffer specifies one point.
-
Draws line list, where every two continious vertices in the vertex buffer specify two points of one line.
-
Draws line strip, where every vertex and its prior vertex in the vertex buffer specify two points of one line.
-
Draws triangle list, where every three continious vertices in the vertex buffer specify three points of one triangle.
-
Draws line strip, where every vertex and its prior two vertices in the vertex buffer specify three points of one triangle.