<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVSemanticSegmentationMatte/MatteType-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@T@AVSemanticSegmentationMatteType"
  },
  "title" : "AVSemanticSegmentationMatte.MatteType"
}
-->

# AVSemanticSegmentationMatte.MatteType

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

```
struct MatteType
```

## Topics

### Matte types

[`AVSemanticSegmentationMatteTypeHair`](/documentation/AVFoundation/AVSemanticSegmentationMatte/MatteType-swift.struct/hair)

A matting image that segments the hair from all people in the visible field of view of an image.

[`AVSemanticSegmentationMatteTypeSkin`](/documentation/AVFoundation/AVSemanticSegmentationMatte/MatteType-swift.struct/skin)

A matting image that segments the skin from all people in the visible field of view of an image.

[`AVSemanticSegmentationMatteTypeTeeth`](/documentation/AVFoundation/AVSemanticSegmentationMatte/MatteType-swift.struct/teeth)

A matting image that segments the teeth from all people in the visible field of view of an image.

[`AVSemanticSegmentationMatteTypeGlasses`](/documentation/AVFoundation/AVSemanticSegmentationMatte/MatteType-swift.struct/glasses)

A matting image that segments eyeglasses and sunglasses from all people in the visible field of view of an image.

### Initializers

[`init(rawValue:)`](/documentation/AVFoundation/AVSemanticSegmentationMatte/MatteType-swift.struct/init(rawValue:))

Creates a matte type with a string.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)