---
title: blendMode
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/blendmode
---

# blendMode

How materials using this program blend with content behind them.

## Declaration

```swift
var blendMode: MaterialParameterTypes.BlendMode?
```

## Discussion

Discussion When nil, the material renders opaque.

## See Also

### Configuring rendering

- [lightingModel](realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/lightingmodel.md)
- [isColorDitheringEnabled](realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/iscolorditheringenabled.md)
