Package org.lwjgl.openxr
Class MLGlobalDimmer
java.lang.Object
org.lwjgl.openxr.MLGlobalDimmer
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intXrGlobalDimmerFrameEndInfoFlagBitsML - XrGlobalDimmerFrameEndInfoFlagBitsMLstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType. -
Method Summary
-
Field Details
-
XR_ML_global_dimmer_SPEC_VERSION
public static final int XR_ML_global_dimmer_SPEC_VERSIONThe extension specification version.- See Also:
-
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_MLExtendsXrStructureType.- See Also:
-
XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML
public static final int XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_MLXrGlobalDimmerFrameEndInfoFlagBitsML - XrGlobalDimmerFrameEndInfoFlagBitsMLDescription
The flag bits have the following meanings:
Flag Descriptions
GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML— Indicates that the global dimmer should be enabled and controlled byXrGlobalDimmerFrameEndInfoML::dimmerValue.
See Also
- See Also:
-