---
title: captureTraceURL
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cirenderdestination/capturetraceurl
---

# captureTraceURL

Tell the next render using this destination to capture a Metal trace.

## Declaration

```swift
var captureTraceURL: URL? { get set }
```

## Discussion

Discussion If this property is set to a file-based URL, then the next render using this destination will capture a Metal trace, deleting any existing file if present. This property is nil by default.
