---
title: "MTKModelIOVertexDescriptorFromMetalWithError(_:)"
framework: MetalKit
role: symbol
role_heading: Function
platforms: [iOS 10.0+, iPadOS 10.0+, Mac Catalyst 10.0+, macOS 10.12+, tvOS 10.0+, visionOS 1.0+, swift 4.0+]
path: "metalkit/mtkmodeliovertexdescriptorfrommetalwitherror(_:)"
---

# MTKModelIOVertexDescriptorFromMetalWithError(_:)

## Declaration

```swift
func MTKModelIOVertexDescriptorFromMetalWithError(_ metalDescriptor: MTLVertexDescriptor) throws -> MDLVertexDescriptor
```

## See Also

### Functions

- [MTKMetalVertexDescriptorFromModelIOWithError(_:)](metalkit/mtkmetalvertexdescriptorfrommodeliowitherror(_:).md)
