---
title: "MPSDataTypeBitsCount(_:)"
framework: metalperformanceshaders
role: symbol
role_heading: Function
path: "metalperformanceshaders/mpsdatatypebitscount(_:)"
---

# MPSDataTypeBitsCount(_:)

## Declaration

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