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

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

static final @NonNull XrDevice.DisplayBlendMode

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

static final @NonNull XrDevice.DisplayBlendMode

Blending is not supported.

Public methods

@NonNull String

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.

Public methods

toString

public @NonNull String toString()