---
title: MPSAlphaType.alphaIsOne
framework: metalperformanceshaders
role: symbol
role_heading: Case
path: metalperformanceshaders/mpsalphatype/alphaisone
---

# MPSAlphaType.alphaIsOne

Alpha is guaranteed to be 1.

## Declaration

```swift
case alphaIsOne
```

## Overview

Overview The alpha value is guaranteed to be 1 even if it is not encoded as 1 or even not encoded at all.

## See Also

### Constants

- [MPSAlphaType.nonPremultiplied](metalperformanceshaders/mpsalphatype/nonpremultiplied.md)
- [MPSAlphaType.premultiplied](metalperformanceshaders/mpsalphatype/premultiplied.md)
