---
title: dataType
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsmatrix/datatype
---

# dataType

The type of the values in the matrix.

## Declaration

```swift
var dataType: MPSDataType { get }
```

## See Also

### Properties

- [device](metalperformanceshaders/mpsmatrix/device.md)
- [rows](metalperformanceshaders/mpsmatrix/rows.md)
- [columns](metalperformanceshaders/mpsmatrix/columns.md)
- [rowBytes](metalperformanceshaders/mpsmatrix/rowbytes.md)
- [data](metalperformanceshaders/mpsmatrix/data.md)
- [matrices](metalperformanceshaders/mpsmatrix/matrices.md)
- [matrixBytes](metalperformanceshaders/mpsmatrix/matrixbytes.md)
