# MaskDataType

    enum MaskDataType: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable

The underlying type of the segmentation mask.
- `
  ### [float32](https://developers.google.com/edge/api/mediapipe/swift/vision/Enums/MaskDataType.md.txt#/c:_E_MPPMaskDataType_MPPMaskDataTypeFloat32)

  ` Represents the native `float *` type.

  #### Declaration

  Swift

      case float32

- `
  ### [uInt8](https://developers.google.com/edge/api/mediapipe/swift/vision/Enums/MaskDataType.md.txt#/c:_E_MPPMaskDataType_MPPMaskDataTypeUInt8)

  ` Represents the native `UInt8 *` type.

  #### Declaration

  Swift

      case uInt8

- `
  ### [init(rawValue:)](https://developers.google.com/edge/api/mediapipe/swift/vision/Enums/MaskDataType.md.txt#/s:So15MPPMaskDataTypeV8rawValueABSgSu_tcfc)

  `

  #### Declaration

  Swift

      init?(rawValue: UInt)