---
title: MPSImageFeatureChannelFormat
framework: metalperformanceshaders
role: symbol
role_heading: Enumeration
path: metalperformanceshaders/mpsimagefeaturechannelformat
---

# MPSImageFeatureChannelFormat

Encodes the representation of a single channel within an image.

## Declaration

```swift
enum MPSImageFeatureChannelFormat
```

## Overview

Overview A pixel in an MPSImage object may have many channels in it, sometimes many more than 4, that exceed the limit of what a MTLPixelFormat value can encode. The storage format for a single channel within a pixel can be given by the MPSImageFeatureChannelFormat type. The number of channels is defined by the featureChannels property of an MPSImage object. The size of the pixel is the size of the channel format multiplied by the number of feature channels. No padding is allowed, except to round out to a full byte.

## Topics

### Constants

- [MPSImageFeatureChannelFormat.none](metalperformanceshaders/mpsimagefeaturechannelformat/none.md)
- [MPSImageFeatureChannelFormat.unorm8](metalperformanceshaders/mpsimagefeaturechannelformat/unorm8.md)
- [MPSImageFeatureChannelFormat.unorm16](metalperformanceshaders/mpsimagefeaturechannelformat/unorm16.md)
- [MPSImageFeatureChannelFormat.float16](metalperformanceshaders/mpsimagefeaturechannelformat/float16.md)
- [MPSImageFeatureChannelFormat.float32](metalperformanceshaders/mpsimagefeaturechannelformat/float32.md)

### Enumeration Cases

- [MPSImageFeatureChannelFormat.count](metalperformanceshaders/mpsimagefeaturechannelformat/count.md)

### Initializers

- [init(rawValue:)](metalperformanceshaders/mpsimagefeaturechannelformat/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Instance Properties

- [exportFromGraph](metalperformanceshaders/mpsnnimagenode/exportfromgraph.md)
- [format](metalperformanceshaders/mpsnnimagenode/format.md)
- [handle](metalperformanceshaders/mpsnnimagenode/handle.md)
- [imageAllocator](metalperformanceshaders/mpsnnimagenode/imageallocator.md)
- [stopGradient](metalperformanceshaders/mpsnnimagenode/stopgradient.md)
- [synchronizeResource](metalperformanceshaders/mpsnnimagenode/synchronizeresource.md)
