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

# blendMode

Modes that describe how materials using the created CustomMaterial.Program will be blended with content behind them.

## Declaration

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

## Discussion

Discussion Default value is nil, which will cause this material to render opaque, and not blend with background content.
