
org.lwjgl.openxr.MLGlobalDimmer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-openxr Show documentation
Show all versions of lwjgl-openxr Show documentation
A royalty-free, open standard that provides high-performance access to Augmented Reality (AR) and Virtual Reality (VR)—collectively known as XR—platforms and devices.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
/**
* 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 {@link XR10#XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND 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.
*/
public final class MLGlobalDimmer {
/** The extension specification version. */
public static final int XR_ML_global_dimmer_SPEC_VERSION = 1;
/** The extension name. */
public static final String XR_ML_GLOBAL_DIMMER_EXTENSION_NAME = "XR_ML_global_dimmer";
/** Extends {@code XrStructureType}. */
public static final int XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML = 1000136000;
/**
* XrGlobalDimmerFrameEndInfoFlagBitsML - XrGlobalDimmerFrameEndInfoFlagBitsML
*
* Description
*
* The flag bits have the following meanings:
*
* Flag Descriptions
*
*
* - {@link #XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML} — Indicates that the global dimmer should be enabled and controlled by {@link XrGlobalDimmerFrameEndInfoML}{@code ::dimmerValue}.
*
*
* See Also
*
* {@link XrGlobalDimmerFrameEndInfoML}, {@link XR10#xrEndFrame EndFrame}
*/
public static final int XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML = 0x1;
private MLGlobalDimmer() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy