<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGCaptureOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGCaptureOptions"
  },
  "title" : "CGCaptureOptions"
}
-->

# CGCaptureOptions

Configuration parameters that are used when capturing displays.

```
struct CGCaptureOptions
```

## Overview

For information about how these constants are used, see the functions [`CGDisplayCaptureWithOptions(_:_:)`](/documentation/CoreGraphics/CGDisplayCaptureWithOptions(_:_:)) and [`CGCaptureAllDisplaysWithOptions(_:)`](/documentation/CoreGraphics/CGCaptureAllDisplaysWithOptions(_:)).

## Topics

### Constants

[`kCGCaptureNoOptions`](/documentation/CoreGraphics/CGCaptureOptions/kCGCaptureNoOptions)

The system should use the default fill behavior, which is fill with black.

[`noFill`](/documentation/CoreGraphics/CGCaptureOptions/noFill)

Disables fill with black.

### Initializers

[`init(rawValue:)`](/documentation/CoreGraphics/CGCaptureOptions/init(rawValue:))



---

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)