Type Alias: EnvironmentBlendMode
type EnvironmentBlendMode = "opaque" | "alpha-blend" | "additive";
Defined in: environment.ts:203
How the host composites what is rendered over the real world.
The values are WebXR's own. It matters here because the two passthrough
modes behave oppositely: alpha-blend composites normally, so black is
black, while additive ADDS the rendered image to the world, so black is
fully transparent and a dark fog or a dark fallback sky simply is not there.
An environment that wants to dim the world has to do the opposite thing on
each, which it cannot do while it only knows a boolean.
This is a structural copy of the string set WebXR defines, not an import: no package here references a sibling, and the platform layer that derives this from the session lives in another repository.