---
title: "startCapture(scope:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlcapturemanager/startcapture(scope:)"
---

# startCapture(scope:)

Starts capturing any of your app’s Metal commands that are in the specified capture scope.

## Declaration

```swift
func startCapture(scope captureScope: any MTLCaptureScope)
```

## Parameters

- `captureScope`: The capture scope to use.

## See Also

### Starting capture

- [startCapture(with:)](metal/mtlcapturemanager/startcapture(with:).md)
- [startCapture(device:)](metal/mtlcapturemanager/startcapture(device:).md)
- [startCapture(commandQueue:)](metal/mtlcapturemanager/startcapture(commandqueue:).md)
