Creates a mesh operand from an indexed triangle list.
The provided surfaceID is used to set up primitive tracking via SurfaceBuilder::TrackID(surfaceID).
Note:
the optional meshType argument allows choosing between some preset types. For full nuance, create an explicit MeshHandle and go via SurfaceBuilder and MeshBuilder.
Signature
class Operation:
// Creates a mesh operand from indexed float32 triangles with primitive tracking IDs
fun importFromIndexedTrianglesF32WithID(
positions: [pos3],
triangles: [idxtri],
surfaceID: uint32_t,
meshType: MeshType = Solid,
lifetime: Lifetime = CopyImmediately,
) -> MeshOperand