<!--
{
  "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/enabledSemanticSegmentationMatteTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoOutput(py)enabledSemanticSegmentationMatteTypes"
  },
  "title" : "enabledSemanticSegmentationMatteTypes"
}
-->

# enabledSemanticSegmentationMatteTypes

The semantic segmentation matte types that the photo render pipeline delivers.

```
var enabledSemanticSegmentationMatteTypes: [AVSemanticSegmentationMatte.MatteType] { get set }
```

## Discussion

Set this property value to the array of matte types you’d like delivered with your primary photos. The array may only contain values present in [`availableSemanticSegmentationMatteTypes`](/documentation/AVFoundation/AVCapturePhotoOutput/availableSemanticSegmentationMatteTypes).

The default value of this property is an empty array.

> Important:
> Enabling semantic segmentation matte delivery requires a lengthy reconfiguration of the capture render pipeline. If you intend to capture semantic segmentation mattes, set this property to your desired types before calling the capture session’s ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureSession/startRunning()`` method.

---

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)