Package org.lwjgl.openxr
Class METALocalDimming
java.lang.Object
org.lwjgl.openxr.METALocalDimming
The XR_META_local_dimming extension.
Local dimming allows to adjust backlight intensity of dark areas on the screen in order to increase content dynamic range. Local dimming feature is not intended for optical see-through HMDs.
An application can request the local dimming mode on a frame basis by chaining an XrLocalDimmingFrameEndInfoMETA structure to the XrFrameEndInfo.
- Using XrFrameEndInfoLocalDimmingFB is considered as a hint and will not trigger
EndFrameerrors whether or not the requested dimming mode is fulfilled by the runtime. - The runtime will have full control of the local dimming mode and may disregard app requests. For example, the runtime may allow only one primary client to control the local dimming mode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intXrLocalDimmingModeMETA - Local dimming modesstatic final intXrLocalDimmingModeMETA - Local dimming modesstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType. -
Method Summary
-
Field Details
-
XR_META_local_dimming_SPEC_VERSION
public static final int XR_META_local_dimming_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_META_LOCAL_DIMMING_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_LOCAL_DIMMING_FRAME_END_INFO_META
public static final int XR_TYPE_LOCAL_DIMMING_FRAME_END_INFO_METAExtendsXrStructureType.- See Also:
-
XR_LOCAL_DIMMING_MODE_OFF_META
public static final int XR_LOCAL_DIMMING_MODE_OFF_METAXrLocalDimmingModeMETA - Local dimming modesEnumerant Descriptions
LOCAL_DIMMING_MODE_OFF_META— Local dimming is turned off by default for the current submitted frame. This is the same as not chainingXrLocalDimmingModeMETA.LOCAL_DIMMING_MODE_ON_META— Local dimming is turned on for the current submitted frame.
See Also
- See Also:
-
XR_LOCAL_DIMMING_MODE_ON_META
public static final int XR_LOCAL_DIMMING_MODE_ON_METAXrLocalDimmingModeMETA - Local dimming modesEnumerant Descriptions
LOCAL_DIMMING_MODE_OFF_META— Local dimming is turned off by default for the current submitted frame. This is the same as not chainingXrLocalDimmingModeMETA.LOCAL_DIMMING_MODE_ON_META— Local dimming is turned on for the current submitted frame.
See Also
- See Also:
-