---
title: MPSImageReadWriteParams
framework: metalperformanceshaders
role: symbol
role_heading: Structure
path: metalperformanceshaders/mpsimagereadwriteparams
---

# MPSImageReadWriteParams

Parameters that control reading and writing of a particular set of feature channels.

## Declaration

```swift
struct MPSImageReadWriteParams
```

## Topics

### Instance Properties

- [featureChannelOffset](metalperformanceshaders/mpsimagereadwriteparams/featurechanneloffset.md)
- [numberOfFeatureChannelsToReadWrite](metalperformanceshaders/mpsimagereadwriteparams/numberoffeaturechannelstoreadwrite.md)

### Initializers

- [init()](metalperformanceshaders/mpsimagereadwriteparams/init().md)
- [init(featureChannelOffset:numberOfFeatureChannelsToReadWrite:)](metalperformanceshaders/mpsimagereadwriteparams/init(featurechanneloffset:numberoffeaturechannelstoreadwrite:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Methods to Read and Write Raw Data

- [readBytes(_:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:)](metalperformanceshaders/mpsimage/readbytes(_:datalayout:bytesperrow:region:featurechannelinfo:imageindex:).md)
- [readBytes(_:dataLayout:imageIndex:)](metalperformanceshaders/mpsimage/readbytes(_:datalayout:imageindex:).md)
- [writeBytes(_:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:)](metalperformanceshaders/mpsimage/writebytes(_:datalayout:bytesperrow:region:featurechannelinfo:imageindex:).md)
- [writeBytes(_:dataLayout:imageIndex:)](metalperformanceshaders/mpsimage/writebytes(_:datalayout:imageindex:).md)
- [MPSDataLayout](metalperformanceshaders/mpsdatalayout.md)
