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.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME
The extension name. |
| public static final int | XR_EXT_view_configuration_depth_range_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME The extension name. | |
| XR_EXT_view_configuration_depth_range_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_EXT_view_configuration_depth_range_SPEC_VERSION The extension specification version. | |
| XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT | back to summary |
|---|---|
| public static final int XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT Extends | |
| EXTViewConfigurationDepthRange | back to summary |
|---|---|
| private EXTViewConfigurationDepthRange() | |