Class VARJOFoveatedRendering
Varjo headsets provide extremely high pixel density displays in the center area of the display, blended with a high density display covering the rest of the field of view. If the application has to provide a single image per eye, that would cover the entire field of view, at the highest density it would be extremely resource intensive, and in fact impossible for the most powerful desktop GPUs to render in real time. So instead Varjo introduced the XR_VARJO_quad_views extension enabling the application to provide two separate images for the two screen areas, resulting in a significant reduction in processing, for pixels that could not even been seen.
This extension goes a step further by enabling the application to only generate the density that can be seen by the user, which is another big reduction compared to the density that can be displayed, using dedicated eye tracking.
This extension requires XR_VARJO_quad_views extension to be enabled.
An application using this extension to enable foveated rendering will take the following steps to prepare:
- Enable
XR_VARJO_quad_viewsandXR_VARJO_foveated_renderingextensions. - Query system properties in order to determine if system supports foveated rendering.
- Query texture sizes for foveated rendering.
In the render loop, for each frame, an application using this extension should
- Check if rendering gaze is available using
LocateSpace. - Enable foveated rendering when
LocateViewsis called.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsXrReferenceSpaceType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final StringThe extension name.static final intThe extension specification version. -
Method Summary
-
Field Details
-
XR_VARJO_foveated_rendering_SPEC_VERSION
public static final int XR_VARJO_foveated_rendering_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_VARJO_FOVEATED_RENDERING_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJO
public static final int XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJOExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO
public static final int XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJOExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO
public static final int XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJOExtendsXrStructureType.Enum values:
- See Also:
-
XR_REFERENCE_SPACE_TYPE_COMBINED_EYE_VARJO
public static final int XR_REFERENCE_SPACE_TYPE_COMBINED_EYE_VARJOExtendsXrReferenceSpaceType.- See Also:
-