<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/EnvironmentBlendingComponent/BlendingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation28EnvironmentBlendingComponentV0D4ModeV"
  },
  "title" : "EnvironmentBlendingComponent.BlendingMode"
}
-->

# EnvironmentBlendingComponent.BlendingMode

A struct that encapsulates the different environment-blending modes that can be applied to an entity.

```
struct BlendingMode
```

## Topics

### Type Properties

[`static var `default`: EnvironmentBlendingComponent.BlendingMode`](/documentation/RealityKit/EnvironmentBlendingComponent/BlendingMode/default)

No special blending is applied.

### Type Methods

[`static func occluded(by: EnvironmentBlendingComponent.EnvironmentType) -> EnvironmentBlendingComponent.BlendingMode`](/documentation/RealityKit/EnvironmentBlendingComponent/BlendingMode/occluded(by:))

The entity receives a depth-based occlusion treatment within the specified environment type.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)