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

# MTLPurgeableState.volatile

The system is allowed to discard the resource to free up memory.

## Declaration

```swift
case volatile
```

## Mentioned in

Reducing the memory footprint of Metal apps

## See Also

### Specifying purgeable states

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