Class VARJOQuadViews
This extension adds a new view configuration type - VIEW_CONFIGURATION_TYPE_PRIMARY_QUAD_VARJO to XrViewConfigurationType which can be returned by EnumerateViewConfigurations to indicate that the runtime supports 4 viewports.
In this configuration each eye consists of two viewports of which one is smaller (in terms of field of view) of the other and fully included inside of the larger FoV one. The small FoV viewport however can have a higher resolution with respect to the same field of view in the outer viewport. The motivation is special hardware which superimposes a smaller, high resolution screen for the fovea region onto a larger screen for the periphery.
The runtime guarantees that the inner viewport of each eye is fully inside of the outer viewport.
To enumerate the 4 views EnumerateViewConfigurationViews can be used. The first two views (XrViewConfigurationView) will be for the left and right eyes for the outer viewport. The views 2 and 3 are for the left and right eyes for the inner viewport.
The relative position of the inner views relative to the outer views can change at run-time.
The runtime must set pose for view 0 and 2 to be identical and must set pose for view 1 and 3 to be be identical when application calls LocateViews.
The runtime might blend between the views at the edges, so the application should not omit the inner field of view from being generated in the outer view.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrViewConfigurationType. -
Method Summary
-
Field Details
-
XR_VARJO_quad_views_SPEC_VERSION
public static final int XR_VARJO_quad_views_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_VARJO_QUAD_VIEWS_EXTENSION_NAME
The extension name.- See Also:
-
XR_VIEW_CONFIGURATION_TYPE_PRIMARY_QUAD_VARJO
public static final int XR_VIEW_CONFIGURATION_TYPE_PRIMARY_QUAD_VARJOExtendsXrViewConfigurationType.- See Also:
-