---
title: MTLPurgeableState.keepCurrent
framework: metal
role: symbol
role_heading: Case
path: metal/mtlpurgeablestate/keepcurrent
---

# MTLPurgeableState.keepCurrent

The current state is queried but doesn’t change.

## Declaration

```swift
case keepCurrent
```

## Discussion

Discussion The setPurgeableState(_:) method never returns this value. When this value is passed to that function, it returns the current purgability state without changing it.

## See Also

### Specifying purgeable states

- [MTLPurgeableState.nonVolatile](metal/mtlpurgeablestate/nonvolatile.md)
- [MTLPurgeableState.volatile](metal/mtlpurgeablestate/volatile.md)
- [MTLPurgeableState.empty](metal/mtlpurgeablestate/empty.md)
