Class EXTViewConfigurationDepthRange

java.lang.Object
org.lwjgl.openxr.EXTViewConfigurationDepthRange

public final class EXTViewConfigurationDepthRange extends Object
The XR_EXT_view_configuration_depth_range extension.

For XR systems there may exist a per view recommended min/max depth range at which content should be rendered into the virtual world. The depth range may be driven by several factors, including user comfort, or fundamental capabilities of the system.

Displaying rendered content outside the recommended min/max depth range would violate the system requirements for a properly integrated application, and can result in a poor user experience due to observed visual artifacts, visual discomfort, or fatigue. The near/far depth values will fall in the range of (0..+infinity] where max(recommendedNearZ, minNearZ) < min(recommendedFarZ, maxFarZ). Infinity is defined matching the standard library definition such that std::isinf will return true for a returned infinite value.

In order to provide the application with the appropriate depth range at which to render content for each XrViewConfigurationView, this extension provides additional view configuration information, as defined by XrViewConfigurationDepthRangeEXT, to inform the application of the min/max recommended and absolute distances at which content should be rendered for that view.

  • Field Details

    • XR_EXT_view_configuration_depth_range_SPEC_VERSION

      public static final int XR_EXT_view_configuration_depth_range_SPEC_VERSION
      The extension specification version.
      See Also:
    • XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME

      public static final String XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME
      The extension name.
      See Also:
    • XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT

      public static final int XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT
      Extends XrStructureType.
      See Also: