---
title: MTLBlendOperation.reverseSubtract
framework: metal
role: symbol
role_heading: Case
path: metal/mtlblendoperation/reversesubtract
---

# MTLBlendOperation.reverseSubtract

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

## Declaration

```swift
case reverseSubtract
```

## Discussion

Discussion RGB = Dest.rgb * DBF - Source.rgb * SBF A = Dest.a * DBF - Source.a * SBF

## See Also

### Blend operations

- [MTLBlendOperation.add](metal/mtlblendoperation/add.md)
- [MTLBlendOperation.subtract](metal/mtlblendoperation/subtract.md)
- [MTLBlendOperation.min](metal/mtlblendoperation/min.md)
- [MTLBlendOperation.max](metal/mtlblendoperation/max.md)
