---
title: end()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtlcapturescope/end()
---

# end()

Tells Metal to stop recording command information.

## Declaration

```swift
func end()
```

## See Also

### Defining capture scope boundaries

- [begin()](metal/mtlcapturescope/begin().md)
