<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/BackingStoreType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSBackingStoreType"
  },
  "title" : "NSWindow.BackingStoreType"
}
-->

# NSWindow.BackingStoreType

Constants that specify how the window device buffers the drawing done in a window.

```
enum BackingStoreType
```

## Topics

### Constants

[`NSBackingStoreRetained`](/documentation/AppKit/NSWindow/BackingStoreType/retained)

The window uses a buffer, but draws directly to the screen where possible and to the buffer for obscured portions.

[`NSBackingStoreNonretained`](/documentation/AppKit/NSWindow/BackingStoreType/nonretained)

The window draws directly to the screen without using any buffer.

[`NSBackingStoreBuffered`](/documentation/AppKit/NSWindow/BackingStoreType/buffered)

The window renders all drawing into a display buffer and then flushes it to the screen.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)