---
title: "MPSGetImageType(_:)"
framework: metalperformanceshaders
role: symbol
role_heading: Function
path: "metalperformanceshaders/mpsgetimagetype(_:)"
---

# MPSGetImageType(_:)

## Declaration

```swift
func MPSGetImageType(_ image: MPSImage) -> MPSImageType
```
