Top Description Fields Constructors Methods
org.lwjgl.openxr

public final Class EXTViewConfigurationDepthRange

extends Object
Class Inheritance

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 Summary

Modifier and TypeField and Description
public static final String
public static final int
XR_EXT_view_configuration_depth_range_SPEC_VERSION

The extension specification version.

public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAMEback to summary
public static final String XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME

The extension name.

XR_EXT_view_configuration_depth_range_SPEC_VERSIONback to summary
public static final int XR_EXT_view_configuration_depth_range_SPEC_VERSION

The extension specification version.

XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXTback to summary
public static final int XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT

Extends XrStructureType.

Constructor Detail

EXTViewConfigurationDepthRangeback to summary
private EXTViewConfigurationDepthRange()