<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLPurgeableState/keepCurrent",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLPurgeableState@MTLPurgeableStateKeepCurrent"
  },
  "title" : "MTLPurgeableState.keepCurrent"
}
-->

# MTLPurgeableState.keepCurrent

The current state is queried but doesn’t change.

```
case keepCurrent
```

## Discussion

The [`setPurgeableState(_:)`](/documentation/Metal/MTLResource/setPurgeableState(_:)) method never returns this value. When this value is passed to that function, it returns the current purgability state without changing it.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)