---
title: MTLBlitOption
framework: metal
role: symbol
role_heading: Structure
path: metal/mtlblitoption
---

# MTLBlitOption

The options that enable behavior for some blit operations.

## Declaration

```swift
struct MTLBlitOption
```

## Topics

### Depth and stencil buffer options

- [depthFromDepthStencil](metal/mtlblitoption/depthfromdepthstencil.md)
- [stencilFromDepthStencil](metal/mtlblitoption/stencilfromdepthstencil.md)

### Texture compression options

- [rowLinearPVRTC](metal/mtlblitoption/rowlinearpvrtc.md)

### Swift support

- [init(rawValue:)](metal/mtlblitoption/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Encoding a blit pass

- [MTLBlitCommandEncoder](metal/mtlblitcommandencoder.md)
