---
title: MTLCaptureDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtlcapturedescriptor
---

# MTLCaptureDescriptor

A configuration for a Metal capture session.

## Declaration

```swift
class MTLCaptureDescriptor
```

## Topics

### Setting capture parameters

- [captureObject](metal/mtlcapturedescriptor/captureobject.md)
- [destination](metal/mtlcapturedescriptor/destination.md)
- [outputURL](metal/mtlcapturedescriptor/outputurl.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Frame capture

- [MTLCaptureManager](metal/mtlcapturemanager.md)
- [MTLCaptureDestination](metal/mtlcapturedestination.md)
- [MTLCaptureScope](metal/mtlcapturescope.md)
