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

Virtual content is added to the real world by adding the pixel values for each of Red, Green, and Blue components.

XrDevice.DisplayBlendMode

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

XrDevice.DisplayBlendMode

Blending is not supported.

Public functions

open String

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.

Public functions

toString

open fun toString(): String