---
title: backingStoreType()
framework: Screen Saver
role: symbol
role_heading: Type Method
platforms: [macOS 10.0+]
path: screensaver/screensaverview/backingstoretype()
---

# backingStoreType()

Returns the type of backing store you want for your screen saver’s window.

## Declaration

```swift
class func backingStoreType() -> NSWindow.BackingStoreType
```

## Discussion

Discussion This method returns NSWindow.BackingStoreType.buffered by default. If you want to change the backing store type, override this method and return a new value. If you override the method, you don’t need to call the inherited version.

## See Also

### Getting the preferred window behavior

- [performGammaFade()](screensaver/screensaverview/performgammafade().md)
