<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaExtension",
  "identifier" : "/documentation/MediaExtension/MERAWProcessor/metalDeviceRegistryID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MediaExtension"
    ],
    "preciseIdentifier" : "c:objc(pl)MERAWProcessor(py)metalDeviceRegistryID"
  },
  "title" : "metalDeviceRegistryID"
}
-->

# metalDeviceRegistryID

Requests the processor use the provided Metal device for processing.

```
optional var metalDeviceRegistryID: UInt64 { get set }
```

## Discussion

This optional property requests that [`MERAWProcessor`](/documentation/MediaExtension/MERAWProcessor) use `MTLDevice` corresponding to this ID for any Metal-based processing. This is optional and doesn’t need to be implemented if the processor does not use Metal.

---

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)