dimensionsForSemanticSegmentationMatte(ofType:)
Retrieves the resolved dimensions of the semantic segmentation mattes that the photo output delivers.
Declaration
func dimensionsForSemanticSegmentationMatte(ofType semanticSegmentationMatteType: AVSemanticSegmentationMatte.MatteType) -> CMVideoDimensionsParameters
- semanticSegmentationMatteType:
The segmentation matte type for which to retrieve dimensions.
Return Value
A CMVideoDimensions structure that provides the height and width of the image mattes.