Operation::ImportFromTrianglesF32WithID

Creates a mesh operand from a float32 triangle soup with primitive tracking IDs

Creates a mesh operand from a triangle soup.

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 a float32 triangle soup with primitive tracking IDs
    fun importFromTrianglesF32WithID(
        triangles: [triangle3],
        surfaceID: uint32_t,
        meshType: MeshType = Solid,
        lifetime: Lifetime = CopyImmediately,
    ) -> MeshOperand