---
title: MTLCaptureError.alreadyCapturing
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcaptureerror/alreadycapturing
---

# MTLCaptureError.alreadyCapturing

A capture error that indicates the session is already in progress.

## Declaration

```swift
case alreadyCapturing
```

## See Also

### Errors

- [MTLCaptureError.invalidDescriptor](metal/mtlcaptureerror/invaliddescriptor.md)
- [MTLCaptureError.notSupported](metal/mtlcaptureerror/notsupported.md)
