MeshDescriptor.Primitives.triangles(_:)
Defines one or more triangles with an integer array of indices.
Declaration
case triangles([UInt32])Discussion
Add three vertex index integers per triangle. For example, you can represent a single triangle with three indices.
.triangles([0, 1, 2])