Top Description Fields Constructors Methods
org.lwjgl.openxr

public final Class FBSpaceWarp

extends Object
Class Inheritance

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 extensions 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

Modifier and TypeField and Description
public static final int
XR_COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FB

XrCompositionLayerSpaceWarpInfoFlagBitsFB - XrCompositionLayerSpaceWarpInfoFlagBitsFB Flag Descriptions

  • COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FB requests 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.
public static final String
public static final int
XR_FB_space_warp_SPEC_VERSION

The extension specification version.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FBback to summary
public static final int XR_COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FB

XrCompositionLayerSpaceWarpInfoFlagBitsFB - XrCompositionLayerSpaceWarpInfoFlagBitsFB

Flag Descriptions
  • COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FB requests 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.
XR_FB_SPACE_WARP_EXTENSION_NAMEback to summary
public static final String XR_FB_SPACE_WARP_EXTENSION_NAME

The extension name.

XR_FB_space_warp_SPEC_VERSIONback to summary
public static final int XR_FB_space_warp_SPEC_VERSION

The extension specification version.

XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FBback to summary
public static final int XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FB

Extends XrStructureType.

Enum values:
XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FBback to summary
public static final int XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FB

Extends XrStructureType.

Enum values:

Constructor Detail

FBSpaceWarpback to summary
private FBSpaceWarp()