<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLBlitPassDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLBlitPassDescriptor"
  },
  "title" : "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.

```
class MTLBlitPassDescriptor
```

## Overview

You can customize an encoder for a blit pass by creating and configuring an [`MTLBlitPassDescriptor`](/documentation/Metal/MTLBlitPassDescriptor) instance and passing it to [`makeBlitCommandEncoder(descriptor:)`](/documentation/Metal/MTLCommandBuffer/makeBlitCommandEncoder(descriptor:)).

## Topics

### Creating a blit pass descriptor

[`blitPassDescriptor`](/documentation/Metal/MTLBlitPassDescriptor/blitPassDescriptor)

Creates a new blit pass descriptor with a default configuration.

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

[`sampleBufferAttachments`](/documentation/Metal/MTLBlitPassDescriptor/sampleBufferAttachments)

An array of counter sample buffer attachments that you configure for a blit pass.



---

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)