---
title: "makeRemoteTextureView(_:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtltexture/makeremotetextureview(_:)"
---

# makeRemoteTextureView(_:)

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

## Declaration

```swift
func makeRemoteTextureView(_ device: any MTLDevice) -> (any MTLTexture)?
```

## Mentioned in

Transferring data between connected GPUs

## Discussion

Discussion The device instance that created this texture and the device instance passed into this method need to have the same nonzero peer group identifier (peerGroupID). This texture needs to either use the private storage mode (MTLStorageMode.private) or be backed by an IOSurface. A remote view doesn’t allocate any storage for the new texture; it references the memory allocated for the original texture. You can use remote views only as a source for copy commands encoded by an MTLBlitCommandEncoder. For more information, see Transferring data between connected GPUs.

## See Also

### Creating views of textures on other GPUs

- [remoteStorageTexture](metal/mtltexture/remotestoragetexture.md)
