---
title: enabledSemanticSegmentationMatteTypes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/enabledsemanticsegmentationmattetypes
---

# enabledSemanticSegmentationMatteTypes

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

## Declaration

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

## Discussion

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. 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 startRunning() method.

## See Also

### Getting segmentation mattes

- [availableSemanticSegmentationMatteTypes](avfoundation/avcapturephotooutput/availablesemanticsegmentationmattetypes.md)
