<!--
{
  "availability" : [
    "macOS: 10.15.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLBuffer/makeRemoteBufferView(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLBuffer(im)newRemoteBufferViewForDevice:"
  },
  "title" : "makeRemoteBufferView(_:)"
}
-->

# makeRemoteBufferView(_:)

Creates a remote view of the buffer for another GPU in the same peer group.

```
func makeRemoteBufferView(_ device: any MTLDevice) -> (any MTLBuffer)?
```

## Discussion

The device instance that this buffer belongs to and the device you pass to the method both need to have
the same nonzero peer group identifier ([`peerGroupID`](/documentation/Metal/MTLDevice/peerGroupID)).
This buffer needs to use the private storage mode ([`MTLStorageMode.private`](/documentation/Metal/MTLStorageMode/private)).

A remote view doesn’t allocate any storage for the new buffer;
it references the memory allocated for the original buffer.
You can use remote views only as a source for copy commands encoded by an [`MTLBlitCommandEncoder`](/documentation/Metal/MTLBlitCommandEncoder).
For more information, see [Transferring data between connected GPUs](/documentation/Metal/transferring-data-between-connected-gpus).

---

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)