C Specification

The XrViewConfigurationDepthRangeEXT structure is defined as:

// Provided by XR_EXT_view_configuration_depth_range
typedef struct XrViewConfigurationDepthRangeEXT {
    XrStructureType    type;
    void*              next;
    float              recommendedNearZ;
    float              minNearZ;
    float              recommendedFarZ;
    float              maxFarZ;
} XrViewConfigurationDepthRangeEXT;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • recommendedNearZ is the recommended minimum positive distance in meters that content should be rendered for the view to achieve the best user experience.

  • minNearZ is the absolute minimum positive distance in meters that content should be rendered for the view.

  • recommendedFarZ is the recommended maximum positive distance in meters that content should be rendered for the view to achieve the best user experience.

  • maxFarZ is the absolute maximum positive distance in meters that content should be rendered for the view.

Description

When enumerating the view configurations with xrEnumerateViewConfigurationViews, the application can provide a pointer to an XrViewConfigurationDepthRangeEXT in the next chain of XrViewConfigurationView.

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2024, The Khronos Group Inc.