---
title: "MPSSizeofMPSDataType(_:)"
framework: metalperformanceshaders
role: symbol
role_heading: Function
path: "metalperformanceshaders/mpssizeofmpsdatatype(_:)"
---

# MPSSizeofMPSDataType(_:)

## Declaration

```swift
func MPSSizeofMPSDataType(_ t: MPSDataType) -> Int
```
