XrDevice.DisplayBlendMode


class XrDevice.DisplayBlendMode


A device capability that determines how virtual content is added to the real world.

Summary

Public companion properties

XrDevice.DisplayBlendMode

This property is deprecated. Use androidx.xr.runtime.DisplayBlendMode instead.

XrDevice.DisplayBlendMode

This property is deprecated. Use androidx.xr.runtime.DisplayBlendMode instead.

XrDevice.DisplayBlendMode

This property is deprecated. Use androidx.xr.runtime.DisplayBlendMode instead.

Public companion properties

ADDITIVE

val ADDITIVEXrDevice.DisplayBlendMode

Virtual content is added to the real world by adding the pixel values for each of Red, Green, and Blue components. Alpha is ignored. Black pixels will appear transparent.

ALPHA_BLEND

val ALPHA_BLENDXrDevice.DisplayBlendMode

Virtual content is added to the real world by alpha blending the pixel values based on the Alpha component.

NO_DISPLAY

val NO_DISPLAYXrDevice.DisplayBlendMode

Blending is not supported.