Class VARJOFoveatedRendering

java.lang.Object
org.lwjgl.openxr.VARJOFoveatedRendering

public final class VARJOFoveatedRendering extends Object
The XR_VARJO_foveated_rendering extension.

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:

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 LocateViews is called.