---
title: "newMeshes(asset:device:)"
framework: metalkit
role: symbol
role_heading: Type Method
path: "metalkit/mtkmesh/newmeshes(asset:device:)"
---

# newMeshes(asset:device:)

## Declaration

```swift
class func newMeshes(asset: MDLAsset, device: any MTLDevice) throws -> (modelIOMeshes: [MDLMesh], metalKitMeshes: [MTKMesh])
```
