<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoOutput/availableSemanticSegmentationMatteTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoOutput(py)availableSemanticSegmentationMatteTypes"
  },
  "title" : "availableSemanticSegmentationMatteTypes"
}
-->

# availableSemanticSegmentationMatteTypes

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

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

## 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, ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCapturePhotoOutput/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 ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCapturePhotoOutput/enabledSemanticSegmentationMatteTypes`` again.

---

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)