---
title: MTLBlitPassDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtlblitpassdescriptor
---

# MTLBlitPassDescriptor

A configuration you create to customize a blit command encoder, which affects the runtime behavior of the blit pass you encode with it.

## Declaration

```swift
class MTLBlitPassDescriptor
```

## Mentioned in

Sampling GPU data into counter sample buffers

## Overview

Overview You can customize an encoder for a blit pass by creating and configuring an MTLBlitPassDescriptor instance and passing it to makeBlitCommandEncoder(descriptor:).

## Topics

### Configuring sample buffer attachment descriptors for a blit pass

- [sampleBufferAttachments](metal/mtlblitpassdescriptor/samplebufferattachments.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

### Configuring a blit command encoder

- [MTLBlitPassSampleBufferAttachmentDescriptor](metal/mtlblitpasssamplebufferattachmentdescriptor.md)
- [MTLBlitPassSampleBufferAttachmentDescriptorArray](metal/mtlblitpasssamplebufferattachmentdescriptorarray.md)
