---
title: "init(from:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/meshresource/init(from:)"
---

# init(from:)

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

## Declaration

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

## Parameters

- `mesh`: The vertex data that defines the mesh.
