Class MLGlobalDimmer

java.lang.Object
org.lwjgl.openxr.MLGlobalDimmer

public final class MLGlobalDimmer extends Object
The XR_ML_global_dimmer extension.

This extension provides control over the global dimmer panel of the Magic Leap 2. The Global Dimming™ feature dims the entire display without dimming digital content to make text and images more solid and precise.

Note that when using the ENVIRONMENT_BLEND_MODE_ALPHA_BLEND mode the alpha channel of the color swapchain image is combined with the global dimmer value. The global dimmer however is able to address the whole panel whereas the alpha channel covers the video addressable portion.

  • Field Details

    • XR_ML_global_dimmer_SPEC_VERSION

      public static final int XR_ML_global_dimmer_SPEC_VERSION
      The extension specification version.
      See Also:
    • XR_ML_GLOBAL_DIMMER_EXTENSION_NAME

      public static final String XR_ML_GLOBAL_DIMMER_EXTENSION_NAME
      The extension name.
      See Also:
    • XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML

      public static final int XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML
      Extends XrStructureType.
      See Also:
    • XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML

      public static final int XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML
      XrGlobalDimmerFrameEndInfoFlagBitsML - XrGlobalDimmerFrameEndInfoFlagBitsML
      Description

      The flag bits have the following meanings:

      Flag Descriptions
      See Also

      XrGlobalDimmerFrameEndInfoML, EndFrame

      See Also: