---
title: "MTKMetalVertexDescriptorFromModelIOWithError(_:)"
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/mtkmetalvertexdescriptorfrommodeliowitherror(_:)"
---

# MTKMetalVertexDescriptorFromModelIOWithError(_:)

## Declaration

```swift
func MTKMetalVertexDescriptorFromModelIOWithError(_ modelIODescriptor: MDLVertexDescriptor) throws -> MTLVertexDescriptor?
```

## See Also

### Functions

- [MTKModelIOVertexDescriptorFromMetalWithError(_:)](metalkit/mtkmodeliovertexdescriptorfrommetalwitherror(_:).md)
