---
title: AVSemanticSegmentationMatte.MatteType
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct
---

# AVSemanticSegmentationMatte.MatteType

A structure that defines the types of segmentation matte images that you can capture along with the primary image.

## Declaration

```swift
struct MatteType
```

## Topics

### Matte types

- [hair](avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct/hair.md)
- [skin](avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct/skin.md)
- [teeth](avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct/teeth.md)
- [glasses](avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct/glasses.md)

### Initializers

- [init(rawValue:)](avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct/init(rawvalue:).md)

## Relationships

### Conforms To

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

## See Also

### Inspecting a segmentation matte

- [matteType](avfoundation/avsemanticsegmentationmatte/mattetype-swift.property.md)
- [mattingImage](avfoundation/avsemanticsegmentationmatte/mattingimage.md)
- [pixelFormatType](avfoundation/avsemanticsegmentationmatte/pixelformattype.md)
