<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShaders",
  "identifier" : "/documentation/MetalPerformanceShaders/MPSDeviceProvider",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "c:objc(pl)MPSDeviceProvider"
  },
  "title" : "MPSDeviceProvider"
}
-->

# MPSDeviceProvider

An interface that enables the setting of a Metal device for unarchived objects.

```
protocol MPSDeviceProvider
```

## Topics

### Instance Methods

[`-  mpsMTLDevice`](/documentation/MetalPerformanceShaders/MPSDeviceProvider/mpsMTLDevice())

## Relationships

### Conforming Types

[`MPSKeyedUnarchiver`](/documentation/MetalPerformanceShaders/MPSKeyedUnarchiver)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)