<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLSharedTextureHandle",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLSharedTextureHandle"
  },
  "title" : "MTLSharedTextureHandle"
}
-->

# MTLSharedTextureHandle

A texture handle that can be shared across process address space boundaries.

```
class MTLSharedTextureHandle
```

## Overview

`MTLSharedTextureHandle` objects may be passed between processes using XPC connections and then used to create a reference to the texture in another process. The texture in the other process needs to be created using the same [`MTLDevice`](/documentation/Metal/MTLDevice) on which the shared texture was originally created. To identify which device it was created on, you can use the [`device`](/documentation/Metal/MTLSharedTextureHandle/device) property of the `MTLSharedTextureHandle` object.

## Topics

### Identifying the shared texture handle

[`device`](/documentation/Metal/MTLSharedTextureHandle/device)

The device object that created the texture.

[`label`](/documentation/Metal/MTLSharedTextureHandle/label)

A string that identifies the texture.



---

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)