Contents

init(from:)

Asynchronously creates a mesh resource from a low-level mesh.

Declaration

@MainActor @preconcurrency convenience init(from mesh: LowLevelMesh) async throws

Parameters

  • mesh:

    The vertex data that defines the mesh.