---
title: matteType
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avsemanticsegmentationmatte/mattetype-swift.property
---

# matteType

The semantic segmentation matte image type.

## Declaration

```swift
var matteType: AVSemanticSegmentationMatte.MatteType { get }
```

## Discussion

Discussion A semantic segmentation matte’s matteType is immutable for the life of the object.

## See Also

### Inspecting a segmentation matte

- [AVSemanticSegmentationMatte.MatteType](avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct.md)
- [mattingImage](avfoundation/avsemanticsegmentationmatte/mattingimage.md)
- [pixelFormatType](avfoundation/avsemanticsegmentationmatte/pixelformattype.md)
