---
title: MTLPurgeableState.nonVolatile
framework: metal
role: symbol
role_heading: Case
path: metal/mtlpurgeablestate/nonvolatile
---

# MTLPurgeableState.nonVolatile

The contents of the resource aren’t allowed to be discarded.

## Declaration

```swift
case nonVolatile
```

## See Also

### Specifying purgeable states

- [MTLPurgeableState.keepCurrent](metal/mtlpurgeablestate/keepcurrent.md)
- [MTLPurgeableState.volatile](metal/mtlpurgeablestate/volatile.md)
- [MTLPurgeableState.empty](metal/mtlpurgeablestate/empty.md)
