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.
| Modifier and Type | Field and Description |
|---|---|
| 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
|
| public static final String | XR_ML_GLOBAL_DIMMER_EXTENSION_NAME
The extension name. |
| public static final int | XR_ML_global_dimmer_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML | back to summary |
|---|---|
| public static final int XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML XrGlobalDimmerFrameEndInfoFlagBitsML - XrGlobalDimmerFrameEndInfoFlagBitsML DescriptionThe flag bits have the following meanings: Flag Descriptions
See Also | |
| XR_ML_GLOBAL_DIMMER_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_ML_GLOBAL_DIMMER_EXTENSION_NAME The extension name. | |
| XR_ML_global_dimmer_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_ML_global_dimmer_SPEC_VERSION The extension specification version. | |
| XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML | back to summary |
|---|---|
| public static final int XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML Extends | |
| MLGlobalDimmer | back to summary |
|---|---|
| private MLGlobalDimmer() | |