---
title: "exportData(with:to:offset:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarray/exportdata(with:to:offset:)"
---

# exportData(with:to:offset:)

## Declaration

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