---
title: MTLCaptureDestination.gpuTraceDocument
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcapturedestination/gputracedocument
---

# MTLCaptureDestination.gpuTraceDocument

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

## Declaration

```swift
case gpuTraceDocument
```

## See Also

### Choosing a destination

- [MTLCaptureDestination.developerTools](metal/mtlcapturedestination/developertools.md)
