<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLBlendOperation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLBlendOperation"
  },
  "title" : "MTLBlendOperation"
}
-->

# MTLBlendOperation

For every pixel, `MTLBlendOperation` determines how to combine and weight the source fragment values with the destination values. Some blend operations multiply the source values by a source blend factor (SBF), multiply the destination values by a destination blend factor (DBF), and then combine the results using addition or subtraction. Other blend operations use either a minimum or maximum function to determine the result.

```
enum MTLBlendOperation
```

## Topics

### Blend operations

[`MTLBlendOperation.add`](/documentation/Metal/MTLBlendOperation/add)

Add portions of both source and destination pixel values.

[`MTLBlendOperation.subtract`](/documentation/Metal/MTLBlendOperation/subtract)

Subtract a portion of the destination pixel values from a portion of the source.

[`MTLBlendOperation.reverseSubtract`](/documentation/Metal/MTLBlendOperation/reverseSubtract)

Subtract a portion of the source values from a portion of the destination pixel values.

[`MTLBlendOperation.min`](/documentation/Metal/MTLBlendOperation/min)

Minimum of the source and destination pixel values.

[`MTLBlendOperation.max`](/documentation/Metal/MTLBlendOperation/max)

Maximum of the source and destination pixel values.



---

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)