---
title: availableSemanticSegmentationMatteTypes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/availablesemanticsegmentationmattetypes
---

# availableSemanticSegmentationMatteTypes

An array of semantic segmentation matte types that may be captured and delivered along with the primary photo.

## Declaration

```swift
var availableSemanticSegmentationMatteTypes: [AVSemanticSegmentationMatte.MatteType] { get }
```

## Discussion

Discussion This property returns the array of semantic segmentation types that’s available given the current session configuration. This property is key-value observable. important: The value of this property may change when switching cameras or formats. When this property changes, enabledSemanticSegmentationMatteTypes reverts to an empty array. If you’ve previously opted in for delivery of one or more semantic segmentation mattes, you need to set up your enabledSemanticSegmentationMatteTypes again.

## See Also

### Getting segmentation mattes

- [enabledSemanticSegmentationMatteTypes](avfoundation/avcapturephotooutput/enabledsemanticsegmentationmattetypes.md)
