Creates a mesh from a indexed triangle list.
Note:
the optional meshType argument allows choosing between some preset types. For full nuance, go via SurfaceBuilder and MeshBuilder.
Signature
class Context:
// Constructs a mesh from indexed float32 triangles with exact arithmetic
fun createMeshFromIndexedTrianglesF32(
positions: [pos3],
triangles: [idxtri],
arithmetic: ExactArithmetic,
meshType: MeshType = Solid,
lifetime: Lifetime = CopyImmediately,
) -> Mesh