---
title: MPSPurgeableState.keepCurrent
framework: metalperformanceshaders
role: symbol
role_heading: Case
path: metalperformanceshaders/mpspurgeablestate/keepcurrent
---

# MPSPurgeableState.keepCurrent

The current state is queried but doesn’t change.

## Declaration

```swift
case keepCurrent
```

## Discussion

Discussion Using this option keeps the current state unchanged. It is equivalent to MTLPurgeableState.keepCurrent.

## See Also

### Constants

- [MPSPurgeableState.allocationDeferred](metalperformanceshaders/mpspurgeablestate/allocationdeferred.md)
- [MPSPurgeableState.nonVolatile](metalperformanceshaders/mpspurgeablestate/nonvolatile.md)
- [MPSPurgeableState.volatile](metalperformanceshaders/mpspurgeablestate/volatile.md)
- [MPSPurgeableState.empty](metalperformanceshaders/mpspurgeablestate/empty.md)
