---
title: "init(display:including:)"
framework: screencapturekit
role: symbol
role_heading: Initializer
path: "screencapturekit/sccontentfilter/init(display:including:)"
---

# init(display:including:)

Creates a filter that captures only specific windows from a display.

## Declaration

```swift
init(display: SCDisplay, including includedWindows: [SCWindow])
```

## Parameters

- `display`: A display to capture.
- `includedWindows`: An array of windows to include in the output.

## See Also

### Creating a filter

- [init(desktopIndependentWindow:)](screencapturekit/sccontentfilter/init(desktopindependentwindow:).md)
- [init(display:excludingWindows:)](screencapturekit/sccontentfilter/init(display:excludingwindows:).md)
- [init(display:including:exceptingWindows:)](screencapturekit/sccontentfilter/init(display:including:exceptingwindows:).md)
- [init(display:excludingApplications:exceptingWindows:)](screencapturekit/sccontentfilter/init(display:excludingapplications:exceptingwindows:).md)
