---
title: isBlendingEnabled
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinecolorattachmentdescriptor/isblendingenabled
---

# isBlendingEnabled

A Boolean value that determines whether blending is enabled.

## Declaration

```swift
var isBlendingEnabled: Bool { get set }
```

## Discussion

Discussion The default value is false, meaning blending is disabled and pixel values are unaffected by blending. Disabled blending is effectively the same as the MTLBlendOperationAdd blend operation with a source blend factor of 1.0 and a destination blend factor of 0.0 for both RGB and alpha. If the value is true, blending is enabled and the blend descriptor property values are used to determine how source and destination color values are combined.

## See Also

### Controlling blend operations

- [alphaBlendOperation](metal/mtlrenderpipelinecolorattachmentdescriptor/alphablendoperation.md)
- [rgbBlendOperation](metal/mtlrenderpipelinecolorattachmentdescriptor/rgbblendoperation.md)
- [MTLBlendOperation](metal/mtlblendoperation.md)
