Contents

remoteStorageBuffer

The buffer on another GPU that the buffer was created from, if any.

Declaration

var remoteStorageBuffer: (any MTLBuffer)? { get }

Discussion

If the value of this property is non-nil, it contains a reference to the MTLBuffer instance that created this buffer. If the buffer isn’t a remote view, the value of this property is nil.

You can use remote views only as a source for copy commands encoded by an MTLBlitCommandEncoder.

See Also

Creating views of buffers on other GPUs