---
title: availableDepths
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nswindow/depth/availabledepths
---

# availableDepths

An array that contains all available windows depths.

## Declaration

```swift
static var availableDepths: [NSWindow.Depth] { get }
```

## See Also

### Accessing Depth Details

- [bestDepth(colorSpaceName:bitsPerSample:bitsPerPixel:isPlanar:)](appkit/nswindow/depth/bestdepth(colorspacename:bitspersample:bitsperpixel:isplanar:).md)
- [bitsPerPixel](appkit/nswindow/depth/bitsperpixel.md)
- [bitsPerSample](appkit/nswindow/depth/bitspersample.md)
- [colorSpaceName](appkit/nswindow/depth/colorspacename.md)
- [isPlanar](appkit/nswindow/depth/isplanar.md)
