---
title: "importData(with:from:offset:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarray/importdata(with:from:offset:)"
---

# importData(with:from:offset:)

## Declaration

```swift
func importData(with cmdBuf: any MTLCommandBuffer, from images: [MPSImage], offset: MPSImageCoordinate)
```
