Class FBSpaceWarp

java.lang.Object
org.lwjgl.openxr.FBSpaceWarp

public final class FBSpaceWarp extends Object
The XR_FB_space_warp extension.

This extension provides support to enable space warp technology on application. By feeding application generated motion vector and depth buffer images, the runtime can do high quality frame extrapolation and reprojection, allow applications to run at half fps but still providing smooth experience to users.

In order to enable the functionality of this extension, the application must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extension section.

Note

This extension is independent of XR_KHR_composition_layer_depth, and both may be enabled and used at the same time, for different purposes. The XrCompositionLayerSpaceWarpInfoFB::depthSubImage depth data is dedicated for space warp, and its resolution is usually lower than XrCompositionLayerDepthInfoKHR::subImage. See XrSystemSpaceWarpPropertiesFB for suggested resolution of depthSubImage.