Class FBSpaceWarp
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intXrCompositionLayerSpaceWarpInfoFlagBitsFB - XrCompositionLayerSpaceWarpInfoFlagBitsFBstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType.static final intExtendsXrStructureType. -
Method Summary
-
Field Details
-
XR_FB_space_warp_SPEC_VERSION
public static final int XR_FB_space_warp_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_FB_SPACE_WARP_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FB
public static final int XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FBExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FB
public static final int XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FBExtendsXrStructureType.Enum values:
- See Also:
-
XR_COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FB
public static final int XR_COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FBXrCompositionLayerSpaceWarpInfoFlagBitsFB - XrCompositionLayerSpaceWarpInfoFlagBitsFBFlag Descriptions
COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FBrequests that the runtime skips space warp frame extrapolation for a particular frame. This can be used when the application has better knowledge the particular frame will be not a good fit for space warp frame extrapolation.
- See Also:
-