<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 18.2.0 -",
    "macOS: 12.3.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ScreenCaptureKit",
  "identifier" : "/documentation/ScreenCaptureKit/SCStreamOutputType/screen",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "ScreenCaptureKit"
    ],
    "preciseIdentifier" : "c:@E@SCStreamOutputType@SCStreamOutputTypeScreen"
  },
  "title" : "SCStreamOutputType.screen"
}
-->

# SCStreamOutputType.screen

An output type that represents a screen capture sample buffer.

```
case screen
```

## Discussion

This output represents a sample buffer that wraps a <doc://com.apple.documentation/documentation/CoreVideo/cvpixelbuffer-q2e> backed by an <doc://com.apple.documentation/documentation/IOSurface/IOSurface>.

The width, height, and pixel format of the sample buffer reflect what you define in [`SCStreamConfiguration`](/documentation/ScreenCaptureKit/SCStreamConfiguration). When capturing multiple windows, the system bases the width and height on the display you pass in through [`SCContentFilter`](/documentation/ScreenCaptureKit/SCContentFilter). You can set a background color for multi-window sample buffers by setting [`backgroundColor`](/documentation/ScreenCaptureKit/SCStreamConfiguration/backgroundColor); otherwise the default color is black.

---

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)