<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLCaptureDestination",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLCaptureDestination"
  },
  "title" : "MTLCaptureDestination"
}
-->

# MTLCaptureDestination

The kinds of destinations for captured command data.

```
enum MTLCaptureDestination
```

## Topics

### Choosing a destination

[`MTLCaptureDestination.developerTools`](/documentation/Metal/MTLCaptureDestination/developerTools)

An option specifying that data should be captured to Xcode and that execution should stop in Xcode after the data is captured.

[`MTLCaptureDestination.gpuTraceDocument`](/documentation/Metal/MTLCaptureDestination/gpuTraceDocument)

An option specifying that the captured command data should be saved to a GPU trace document.



---

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)