XrDevice.DisplayBlendMode


public final class XrDevice.DisplayBlendMode


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

Summary

Public fields

static final @NonNull XrDevice.DisplayBlendMode

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

static final @NonNull XrDevice.DisplayBlendMode

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

static final @NonNull XrDevice.DisplayBlendMode

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

Public fields

ADDITIVE

public static final @NonNull XrDevice.DisplayBlendMode ADDITIVE

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

public static final @NonNull XrDevice.DisplayBlendMode ALPHA_BLEND

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

NO_DISPLAY

public static final @NonNull XrDevice.DisplayBlendMode NO_DISPLAY

Blending is not supported.