Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class XR10

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

The core OpenXR 1.0 functionality.

Field Summary

Modifier and TypeField and Description
public static final int
XR_ACTION_TYPE_BOOLEAN_INPUT

XrActionType - XrAction type Enumerant Descriptions

public static final int
XR_ACTION_TYPE_FLOAT_INPUT

XrActionType - XrAction type Enumerant Descriptions

public static final int
XR_ACTION_TYPE_POSE_INPUT

XrActionType - XrAction type Enumerant Descriptions

public static final int
XR_ACTION_TYPE_VECTOR2F_INPUT

XrActionType - XrAction type Enumerant Descriptions

public static final int
XR_ACTION_TYPE_VIBRATION_OUTPUT

XrActionType - XrAction type Enumerant Descriptions

public static final int
XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT

XrCompositionLayerFlagBits - Composition layer flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_COMPOSITION_LAYER_CORRECT_CHROMATIC_ABERRATION_BIT

XrCompositionLayerFlagBits - Composition layer flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_COMPOSITION_LAYER_UNPREMULTIPLIED_ALPHA_BIT

XrCompositionLayerFlagBits - Composition layer flags Description

The flag bits have the following meanings: Flag Descriptions

public static final long
XR_CURRENT_API_VERSION

OpenXR current version number.

public static final int
XR_ENVIRONMENT_BLEND_MODE_ADDITIVE

XrEnvironmentBlendMode - Environment blend modes Enumerant Descriptions

  • ENVIRONMENT_BLEND_MODE_OPAQUE. The composition layers will be displayed with no view of the physical world behind them. The composited image will be interpreted as an RGB image, ignoring the composited alpha channel. This is the typical mode for VR experiences, although this mode can also be supported on devices that support video passthrough.
  • ENVIRONMENT_BLEND_MODE_ADDITIVE. The composition layers will be additively blended with the real world behind the display. The composited image will be interpreted as an RGB image, ignoring the composited alpha channel during the additive blending. This will cause black composited pixels to appear transparent. This is the typical mode for an AR experience on a see-through headset with an additive display, although this mode can also be supported on devices that support video passthrough.
  • ENVIRONMENT_BLEND_MODE_ALPHA_BLEND. The composition layers will be alpha-blended with the real world behind the display. The composited image will be interpreted as an RGBA image, with the composited alpha channel determining each pixel’s level of blending with the real world behind the display. This is the typical mode for an AR experience on a phone or headset that supports video passthrough.
public static final int
XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND

XrEnvironmentBlendMode - Environment blend modes Enumerant Descriptions

  • ENVIRONMENT_BLEND_MODE_OPAQUE. The composition layers will be displayed with no view of the physical world behind them. The composited image will be interpreted as an RGB image, ignoring the composited alpha channel. This is the typical mode for VR experiences, although this mode can also be supported on devices that support video passthrough.
  • ENVIRONMENT_BLEND_MODE_ADDITIVE. The composition layers will be additively blended with the real world behind the display. The composited image will be interpreted as an RGB image, ignoring the composited alpha channel during the additive blending. This will cause black composited pixels to appear transparent. This is the typical mode for an AR experience on a see-through headset with an additive display, although this mode can also be supported on devices that support video passthrough.
  • ENVIRONMENT_BLEND_MODE_ALPHA_BLEND. The composition layers will be alpha-blended with the real world behind the display. The composited image will be interpreted as an RGBA image, with the composited alpha channel determining each pixel’s level of blending with the real world behind the display. This is the typical mode for an AR experience on a phone or headset that supports video passthrough.
public static final int
XR_ENVIRONMENT_BLEND_MODE_OPAQUE

XrEnvironmentBlendMode - Environment blend modes Enumerant Descriptions

  • ENVIRONMENT_BLEND_MODE_OPAQUE. The composition layers will be displayed with no view of the physical world behind them. The composited image will be interpreted as an RGB image, ignoring the composited alpha channel. This is the typical mode for VR experiences, although this mode can also be supported on devices that support video passthrough.
  • ENVIRONMENT_BLEND_MODE_ADDITIVE. The composition layers will be additively blended with the real world behind the display. The composited image will be interpreted as an RGB image, ignoring the composited alpha channel during the additive blending. This will cause black composited pixels to appear transparent. This is the typical mode for an AR experience on a see-through headset with an additive display, although this mode can also be supported on devices that support video passthrough.
  • ENVIRONMENT_BLEND_MODE_ALPHA_BLEND. The composition layers will be alpha-blended with the real world behind the display. The composited image will be interpreted as an RGBA image, with the composited alpha channel determining each pixel’s level of blending with the real world behind the display. This is the typical mode for an AR experience on a phone or headset that supports video passthrough.
public static final int
XR_ERROR_ACTION_TYPE_MISMATCH

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_ACTIONSET_NOT_ATTACHED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_ACTIONSETS_ALREADY_ATTACHED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_API_LAYER_NOT_PRESENT

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_API_VERSION_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_CALL_ORDER_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_EXTENSION_NOT_PRESENT

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_FEATURE_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_FILE_ACCESS_ERROR

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_FILE_CONTENTS_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_FORM_FACTOR_UNAVAILABLE

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_FORM_FACTOR_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_FUNCTION_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_GRAPHICS_DEVICE_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_HANDLE_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_INDEX_OUT_OF_RANGE

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_INITIALIZATION_FAILED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_INSTANCE_LOST

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_LAYER_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_LAYER_LIMIT_EXCEEDED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_LIMIT_REACHED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_LOCALIZED_NAME_DUPLICATED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_LOCALIZED_NAME_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_NAME_DUPLICATED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_NAME_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_OUT_OF_MEMORY

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_PATH_COUNT_EXCEEDED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_PATH_FORMAT_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_PATH_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_PATH_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_POSE_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_REFERENCE_SPACE_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_RUNTIME_FAILURE

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_RUNTIME_UNAVAILABLE

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SESSION_LOST

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SESSION_NOT_READY

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SESSION_NOT_RUNNING

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SESSION_NOT_STOPPING

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SESSION_RUNNING

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SIZE_INSUFFICIENT

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SWAPCHAIN_RECT_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_SYSTEM_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_TIME_INVALID

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_VALIDATION_FAILURE

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_EVENT_UNAVAILABLE

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_EYE_VISIBILITY_BOTH

XrEyeVisibility - Eye visibility selector Enumerant Descriptions

public static final int
XR_EYE_VISIBILITY_LEFT

XrEyeVisibility - Eye visibility selector Enumerant Descriptions

public static final int
XR_EYE_VISIBILITY_RIGHT

XrEyeVisibility - Eye visibility selector Enumerant Descriptions

public static final int
XR_FALSE

API Constants

public static final int
XR_FORM_FACTOR_HANDHELD_DISPLAY

XrFormFactor - Supported form factors Description

The predefined form factors which may be supported by OpenXR runtimes are: Enumerant Descriptions

  • FORM_FACTOR_HEAD_MOUNTED_DISPLAY. The tracked display is attached to the user’s head. The user cannot touch the display itself. A VR headset would be an example of this form factor.
  • FORM_FACTOR_HANDHELD_DISPLAY. The tracked display is held in the user’s hand, independent from the user’s head. The user may be able to touch the display, allowing for screen-space UI. A mobile phone running an AR experience using pass-through video would be an example of this form factor.
public static final int
XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY

XrFormFactor - Supported form factors Description

The predefined form factors which may be supported by OpenXR runtimes are: Enumerant Descriptions

  • FORM_FACTOR_HEAD_MOUNTED_DISPLAY. The tracked display is attached to the user’s head. The user cannot touch the display itself. A VR headset would be an example of this form factor.
  • FORM_FACTOR_HANDHELD_DISPLAY. The tracked display is held in the user’s hand, independent from the user’s head. The user may be able to touch the display, allowing for screen-space UI. A mobile phone running an AR experience using pass-through video would be an example of this form factor.
public static final int
XR_FRAME_DISCARDED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final float
public static final long
XR_INFINITE_DURATION

API Constants

public static final int
XR_INPUT_SOURCE_LOCALIZED_NAME_COMPONENT_BIT

XrInputSourceLocalizedNameFlagBits - Input source localized name flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_INPUT_SOURCE_LOCALIZED_NAME_INTERACTION_PROFILE_BIT

XrInputSourceLocalizedNameFlagBits - Input source localized name flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_INPUT_SOURCE_LOCALIZED_NAME_USER_PATH_BIT

XrInputSourceLocalizedNameFlagBits - Input source localized name flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final long
public static final int
public static final int
public static final int
public static final int
public static final int
XR_MAX_PATH_LENGTH

API Constants

public static final int
public static final int
public static final int
public static final int
public static final int
public static final long
public static final long
XR_NO_DURATION

API Constants

public static final long
XR_NULL_HANDLE

API Constants

public static final long
XR_NULL_PATH

API Constants

public static final long
XR_NULL_SYSTEM_ID

API Constants

public static final int
XR_OBJECT_TYPE_ACTION

XrObjectType - Specify an enumeration to track object handle types Description

The XrObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type.

public static final int
XR_OBJECT_TYPE_ACTION_SET

XrObjectType - Specify an enumeration to track object handle types Description

The XrObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type.

public static final int
XR_OBJECT_TYPE_INSTANCE

XrObjectType - Specify an enumeration to track object handle types Description

The XrObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type.

public static final int
XR_OBJECT_TYPE_SESSION

XrObjectType - Specify an enumeration to track object handle types Description

The XrObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type.

public static final int
XR_OBJECT_TYPE_SPACE

XrObjectType - Specify an enumeration to track object handle types Description

The XrObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type.

public static final int
XR_OBJECT_TYPE_SWAPCHAIN

XrObjectType - Specify an enumeration to track object handle types Description

The XrObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type.

public static final int
XR_OBJECT_TYPE_UNKNOWN

XrObjectType - Specify an enumeration to track object handle types Description

The XrObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type.

public static final int
XR_REFERENCE_SPACE_TYPE_LOCAL

XrReferenceSpaceType - Reference space types Description

Available reference space types are indicated by EnumerateReferenceSpaces.

public static final int
XR_REFERENCE_SPACE_TYPE_STAGE

XrReferenceSpaceType - Reference space types Description

Available reference space types are indicated by EnumerateReferenceSpaces.

public static final int
XR_REFERENCE_SPACE_TYPE_VIEW

XrReferenceSpaceType - Reference space types Description

Available reference space types are indicated by EnumerateReferenceSpaces.

public static final int
XR_SESSION_LOSS_PENDING

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_SESSION_NOT_FOCUSED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_SESSION_STATE_EXITING

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_FOCUSED

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_IDLE

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_LOSS_PENDING

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_READY

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_STOPPING

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_SYNCHRONIZED

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_UNKNOWN

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SESSION_STATE_VISIBLE

XrSessionState - Session lifecycle state Enumerant Descriptions

public static final int
XR_SPACE_BOUNDS_UNAVAILABLE

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT

XrSpaceLocationFlagBits - Space location flags Description

The flag bits have the following meanings: Flag Descriptions

  • SPACE_LOCATION_ORIENTATION_VALID_BIT indicates that the pose field’s orientation field contains valid data. For a space location tracking a device with its own inertial tracking, SPACE_LOCATION_ORIENTATION_TRACKED_BIT should remain set when this bit is set. Applications must not read the pose field’s orientation if this flag is unset.
  • SPACE_LOCATION_POSITION_VALID_BIT indicates that the pose field’s position field contains valid data. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, so long as it’s still meaningful for the application to use that position, clearing SPACE_LOCATION_POSITION_TRACKED_BIT until positional tracking is recovered. Applications must not read the pose field’s position if this flag is unset.
  • SPACE_LOCATION_ORIENTATION_TRACKED_BIT indicates that the pose field’s orientation field represents an actively tracked orientation. For a space location tracking a device with its own inertial tracking, this bit should remain set when SPACE_LOCATION_ORIENTATION_VALID_BIT is set. For a space location tracking an object whose orientation is no longer known during tracking loss (e.g. an observed QR code), runtimes should continue to provide valid but untracked orientation values, so long as it’s still meaningful for the application to use that orientation.
  • SPACE_LOCATION_POSITION_TRACKED_BIT indicates that the pose field’s position field represents an actively tracked position. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to use that position.
public static final int
XR_SPACE_LOCATION_ORIENTATION_VALID_BIT

XrSpaceLocationFlagBits - Space location flags Description

The flag bits have the following meanings: Flag Descriptions

  • SPACE_LOCATION_ORIENTATION_VALID_BIT indicates that the pose field’s orientation field contains valid data. For a space location tracking a device with its own inertial tracking, SPACE_LOCATION_ORIENTATION_TRACKED_BIT should remain set when this bit is set. Applications must not read the pose field’s orientation if this flag is unset.
  • SPACE_LOCATION_POSITION_VALID_BIT indicates that the pose field’s position field contains valid data. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, so long as it’s still meaningful for the application to use that position, clearing SPACE_LOCATION_POSITION_TRACKED_BIT until positional tracking is recovered. Applications must not read the pose field’s position if this flag is unset.
  • SPACE_LOCATION_ORIENTATION_TRACKED_BIT indicates that the pose field’s orientation field represents an actively tracked orientation. For a space location tracking a device with its own inertial tracking, this bit should remain set when SPACE_LOCATION_ORIENTATION_VALID_BIT is set. For a space location tracking an object whose orientation is no longer known during tracking loss (e.g. an observed QR code), runtimes should continue to provide valid but untracked orientation values, so long as it’s still meaningful for the application to use that orientation.
  • SPACE_LOCATION_POSITION_TRACKED_BIT indicates that the pose field’s position field represents an actively tracked position. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to use that position.
public static final int
XR_SPACE_LOCATION_POSITION_TRACKED_BIT

XrSpaceLocationFlagBits - Space location flags Description

The flag bits have the following meanings: Flag Descriptions

  • SPACE_LOCATION_ORIENTATION_VALID_BIT indicates that the pose field’s orientation field contains valid data. For a space location tracking a device with its own inertial tracking, SPACE_LOCATION_ORIENTATION_TRACKED_BIT should remain set when this bit is set. Applications must not read the pose field’s orientation if this flag is unset.
  • SPACE_LOCATION_POSITION_VALID_BIT indicates that the pose field’s position field contains valid data. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, so long as it’s still meaningful for the application to use that position, clearing SPACE_LOCATION_POSITION_TRACKED_BIT until positional tracking is recovered. Applications must not read the pose field’s position if this flag is unset.
  • SPACE_LOCATION_ORIENTATION_TRACKED_BIT indicates that the pose field’s orientation field represents an actively tracked orientation. For a space location tracking a device with its own inertial tracking, this bit should remain set when SPACE_LOCATION_ORIENTATION_VALID_BIT is set. For a space location tracking an object whose orientation is no longer known during tracking loss (e.g. an observed QR code), runtimes should continue to provide valid but untracked orientation values, so long as it’s still meaningful for the application to use that orientation.
  • SPACE_LOCATION_POSITION_TRACKED_BIT indicates that the pose field’s position field represents an actively tracked position. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to use that position.
public static final int
XR_SPACE_LOCATION_POSITION_VALID_BIT

XrSpaceLocationFlagBits - Space location flags Description

The flag bits have the following meanings: Flag Descriptions

  • SPACE_LOCATION_ORIENTATION_VALID_BIT indicates that the pose field’s orientation field contains valid data. For a space location tracking a device with its own inertial tracking, SPACE_LOCATION_ORIENTATION_TRACKED_BIT should remain set when this bit is set. Applications must not read the pose field’s orientation if this flag is unset.
  • SPACE_LOCATION_POSITION_VALID_BIT indicates that the pose field’s position field contains valid data. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, so long as it’s still meaningful for the application to use that position, clearing SPACE_LOCATION_POSITION_TRACKED_BIT until positional tracking is recovered. Applications must not read the pose field’s position if this flag is unset.
  • SPACE_LOCATION_ORIENTATION_TRACKED_BIT indicates that the pose field’s orientation field represents an actively tracked orientation. For a space location tracking a device with its own inertial tracking, this bit should remain set when SPACE_LOCATION_ORIENTATION_VALID_BIT is set. For a space location tracking an object whose orientation is no longer known during tracking loss (e.g. an observed QR code), runtimes should continue to provide valid but untracked orientation values, so long as it’s still meaningful for the application to use that orientation.
  • SPACE_LOCATION_POSITION_TRACKED_BIT indicates that the pose field’s position field represents an actively tracked position. When a space location loses tracking, runtimes should continue to provide valid but untracked position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to use that position.
public static final int
XR_SPACE_VELOCITY_ANGULAR_VALID_BIT

XrSpaceVelocityFlagBits - Space velocity flags Description

The flag bits have the following meanings: Flag Descriptions

  • SPACE_VELOCITY_LINEAR_VALID_BIT — Indicates that the linearVelocity member contains valid data. Applications must not read the linearVelocity field if this flag is unset.
  • SPACE_VELOCITY_ANGULAR_VALID_BIT — Indicates that the angularVelocity member contains valid data. Applications must not read the angularVelocity field if this flag is unset.
public static final int
XR_SPACE_VELOCITY_LINEAR_VALID_BIT

XrSpaceVelocityFlagBits - Space velocity flags Description

The flag bits have the following meanings: Flag Descriptions

  • SPACE_VELOCITY_LINEAR_VALID_BIT — Indicates that the linearVelocity member contains valid data. Applications must not read the linearVelocity field if this flag is unset.
  • SPACE_VELOCITY_ANGULAR_VALID_BIT — Indicates that the angularVelocity member contains valid data. Applications must not read the angularVelocity field if this flag is unset.
public static final int
XR_SUCCESS

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_SWAPCHAIN_CREATE_PROTECTED_CONTENT_BIT

XrSwapchainCreateFlagBits - Swapchain creation flags Description

The flag bits have the following meanings: Flag Descriptions

  • SWAPCHAIN_CREATE_PROTECTED_CONTENT_BIT indicates that the swapchain’s images will be protected from CPU access, using a mechanism such as Vulkan protected memory.
  • SWAPCHAIN_CREATE_STATIC_IMAGE_BIT indicates that the application will acquire and release only one image to this swapchain over its entire lifetime. The runtime must allocate only one swapchain image.
public static final int
XR_SWAPCHAIN_CREATE_STATIC_IMAGE_BIT

XrSwapchainCreateFlagBits - Swapchain creation flags Description

The flag bits have the following meanings: Flag Descriptions

  • SWAPCHAIN_CREATE_PROTECTED_CONTENT_BIT indicates that the swapchain’s images will be protected from CPU access, using a mechanism such as Vulkan protected memory.
  • SWAPCHAIN_CREATE_STATIC_IMAGE_BIT indicates that the application will acquire and release only one image to this swapchain over its entire lifetime. The runtime must allocate only one swapchain image.
public static final int
XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT

XrSwapchainUsageFlagBits - Swapchain usage flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT

XrSwapchainUsageFlagBits - Swapchain usage flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT

XrSwapchainUsageFlagBits - Swapchain usage flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_SWAPCHAIN_USAGE_SAMPLED_BIT

XrSwapchainUsageFlagBits - Swapchain usage flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT

XrSwapchainUsageFlagBits - Swapchain usage flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT

XrSwapchainUsageFlagBits - Swapchain usage flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT

XrSwapchainUsageFlagBits - Swapchain usage flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_TIMEOUT_EXPIRED

XrResult - Result codes Description

All return codes in the API are reported via XrResult return values.

public static final int
XR_TRUE

API Constants

public static final int
XR_TYPE_ACTION_CREATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTION_SET_CREATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTION_SPACE_CREATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTION_STATE_BOOLEAN

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTION_STATE_FLOAT

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTION_STATE_GET_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTION_STATE_POSE

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTION_STATE_VECTOR2F

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_ACTIONS_SYNC_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_API_LAYER_PROPERTIES

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_COMPOSITION_LAYER_PROJECTION

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_COMPOSITION_LAYER_PROJECTION_VIEW

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_COMPOSITION_LAYER_QUAD

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_EVENT_DATA_BUFFER

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_EVENT_DATA_EVENTS_LOST

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_EVENT_DATA_INSTANCE_LOSS_PENDING

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_EVENT_DATA_REFERENCE_SPACE_CHANGE_PENDING

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_EXTENSION_PROPERTIES

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_FRAME_BEGIN_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_FRAME_END_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_FRAME_STATE

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_FRAME_WAIT_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_HAPTIC_ACTION_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_HAPTIC_VIBRATION

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_INSTANCE_CREATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_INSTANCE_PROPERTIES

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_INTERACTION_PROFILE_STATE

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_INTERACTION_PROFILE_SUGGESTED_BINDING

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_REFERENCE_SPACE_CREATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SESSION_ACTION_SETS_ATTACH_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SESSION_BEGIN_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SESSION_CREATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SPACE_LOCATION

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SPACE_VELOCITY

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SWAPCHAIN_CREATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SWAPCHAIN_IMAGE_ACQUIRE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SWAPCHAIN_IMAGE_RELEASE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SWAPCHAIN_IMAGE_WAIT_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SYSTEM_GET_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_SYSTEM_PROPERTIES

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_UNKNOWN

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_VIEW

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_VIEW_CONFIGURATION_PROPERTIES

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_VIEW_CONFIGURATION_VIEW

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_VIEW_LOCATE_INFO

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_TYPE_VIEW_STATE

XrStructureType - Values for type members of structs Description

Most structures containing type members have a value of type matching the type of the structure, as described more fully in Valid Usage for Structure Types.

public static final int
XR_USE_GRAPHICS_API_OPENGL

Compile-time symbols, ignore.

public static final int
XR_USE_GRAPHICS_API_OPENGL_ES

Compile-time symbols, ignore.

public static final int
XR_USE_GRAPHICS_API_VULKAN

Compile-time symbols, ignore.

public static final int
XR_USE_PLATFORM_EGL

Compile-time symbols, ignore.

public static final int
XR_USE_PLATFORM_WAYLAND

Compile-time symbols, ignore.

public static final int
XR_USE_PLATFORM_WIN32

Compile-time symbols, ignore.

public static final int
XR_USE_PLATFORM_XCB

Compile-time symbols, ignore.

public static final int
XR_USE_PLATFORM_XLIB

Compile-time symbols, ignore.

public static final int
XR_VIEW_CONFIGURATION_TYPE_PRIMARY_MONO

XrViewConfigurationType - Supported view configuration type Description

The application selects its primary view configuration type when calling BeginSession, and that configuration remains constant for the lifetime of the session, until EndSession is called.

public static final int
XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO

XrViewConfigurationType - Supported view configuration type Description

The application selects its primary view configuration type when calling BeginSession, and that configuration remains constant for the lifetime of the session, until EndSession is called.

public static final int
XR_VIEW_STATE_ORIENTATION_TRACKED_BIT

XrViewStateFlagBits - View state flags Description

The flag bits have the following meanings: Flag Descriptions

  • VIEW_STATE_ORIENTATION_VALID_BIT indicates whether all XrView orientations contain valid data. Applications must not read any of the XrView pose orientation fields if this flag is unset. VIEW_STATE_ORIENTATION_TRACKED_BIT should generally remain set when this bit is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_VALID_BIT indicates whether all XrView positions contain valid data. Applications must not read any of the XrView::pose position fields if this flag is unset. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, so long as it’s still meaningful for the application to render content using that position, clearing VIEW_STATE_POSITION_TRACKED_BIT until tracking is recovered.
  • VIEW_STATE_ORIENTATION_TRACKED_BIT indicates whether all XrView orientations represent an actively tracked orientation. This bit should generally remain set when VIEW_STATE_ORIENTATION_VALID_BIT is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_TRACKED_BIT indicates whether all XrView positions represent an actively tracked position. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to render content using that position.
public static final int
XR_VIEW_STATE_ORIENTATION_VALID_BIT

XrViewStateFlagBits - View state flags Description

The flag bits have the following meanings: Flag Descriptions

  • VIEW_STATE_ORIENTATION_VALID_BIT indicates whether all XrView orientations contain valid data. Applications must not read any of the XrView pose orientation fields if this flag is unset. VIEW_STATE_ORIENTATION_TRACKED_BIT should generally remain set when this bit is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_VALID_BIT indicates whether all XrView positions contain valid data. Applications must not read any of the XrView::pose position fields if this flag is unset. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, so long as it’s still meaningful for the application to render content using that position, clearing VIEW_STATE_POSITION_TRACKED_BIT until tracking is recovered.
  • VIEW_STATE_ORIENTATION_TRACKED_BIT indicates whether all XrView orientations represent an actively tracked orientation. This bit should generally remain set when VIEW_STATE_ORIENTATION_VALID_BIT is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_TRACKED_BIT indicates whether all XrView positions represent an actively tracked position. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to render content using that position.
public static final int
XR_VIEW_STATE_POSITION_TRACKED_BIT

XrViewStateFlagBits - View state flags Description

The flag bits have the following meanings: Flag Descriptions

  • VIEW_STATE_ORIENTATION_VALID_BIT indicates whether all XrView orientations contain valid data. Applications must not read any of the XrView pose orientation fields if this flag is unset. VIEW_STATE_ORIENTATION_TRACKED_BIT should generally remain set when this bit is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_VALID_BIT indicates whether all XrView positions contain valid data. Applications must not read any of the XrView::pose position fields if this flag is unset. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, so long as it’s still meaningful for the application to render content using that position, clearing VIEW_STATE_POSITION_TRACKED_BIT until tracking is recovered.
  • VIEW_STATE_ORIENTATION_TRACKED_BIT indicates whether all XrView orientations represent an actively tracked orientation. This bit should generally remain set when VIEW_STATE_ORIENTATION_VALID_BIT is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_TRACKED_BIT indicates whether all XrView positions represent an actively tracked position. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to render content using that position.
public static final int
XR_VIEW_STATE_POSITION_VALID_BIT

XrViewStateFlagBits - View state flags Description

The flag bits have the following meanings: Flag Descriptions

  • VIEW_STATE_ORIENTATION_VALID_BIT indicates whether all XrView orientations contain valid data. Applications must not read any of the XrView pose orientation fields if this flag is unset. VIEW_STATE_ORIENTATION_TRACKED_BIT should generally remain set when this bit is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_VALID_BIT indicates whether all XrView positions contain valid data. Applications must not read any of the XrView::pose position fields if this flag is unset. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, so long as it’s still meaningful for the application to render content using that position, clearing VIEW_STATE_POSITION_TRACKED_BIT until tracking is recovered.
  • VIEW_STATE_ORIENTATION_TRACKED_BIT indicates whether all XrView orientations represent an actively tracked orientation. This bit should generally remain set when VIEW_STATE_ORIENTATION_VALID_BIT is set for views on a tracked headset or handheld device.
  • VIEW_STATE_POSITION_TRACKED_BIT indicates whether all XrView positions represent an actively tracked position. When a view loses tracking, runtimes should continue to provide valid but untracked view position values that are inferred or last-known, e.g. based on neck model updates, inertial dead reckoning, or a last-known position, so long as it’s still meaningful for the application to render content using that position.

Constructor Summary

AccessConstructor and Description
protected
XR10()

Method Summary

Modifier and TypeMethod and Description
public static int
nxrAcquireSwapchainImage(XrSwapchain swapchain, long acquireInfo, long index)

Unsafe version of: AcquireSwapchainImage

public static int
nxrApplyHapticFeedback(XrSession session, long hapticActionInfo, long hapticFeedback)

Unsafe version of: ApplyHapticFeedback

public static int
nxrAttachSessionActionSets(XrSession session, long attachInfo)

Unsafe version of: AttachSessionActionSets

public static int
nxrBeginFrame(XrSession session, long frameBeginInfo)

Unsafe version of: BeginFrame

public static int
nxrBeginSession(XrSession session, long beginInfo)

Unsafe version of: BeginSession

public static int
nxrCreateAction(XrActionSet actionSet, long createInfo, long action)

Unsafe version of: CreateAction

public static int
nxrCreateActionSet(XrInstance instance, long createInfo, long actionSet)

Unsafe version of: CreateActionSet

public static int
nxrCreateActionSpace(XrSession session, long createInfo, long space)

Unsafe version of: CreateActionSpace

public static int
nxrCreateInstance(long createInfo, long instance)

Unsafe version of: CreateInstance

public static int
nxrCreateReferenceSpace(XrSession session, long createInfo, long space)

Unsafe version of: CreateReferenceSpace

public static int
nxrCreateSession(XrInstance instance, long createInfo, long session)

Unsafe version of: CreateSession

public static int
nxrCreateSwapchain(XrSession session, long createInfo, long swapchain)

Unsafe version of: CreateSwapchain

public static int
nxrEndFrame(XrSession session, long frameEndInfo)

Unsafe version of: EndFrame

public static int
nxrEnumerateApiLayerProperties(int
the capacity of the properties array, or 0 to indicate a request to retrieve the required capacity.
propertyCapacityInput
,
long propertyCountOutput, long properties)

Unsafe version of: EnumerateApiLayerProperties

public static int
nxrEnumerateBoundSourcesForAction(XrSession session, long enumerateInfo, int
the capacity of the array, or 0 to indicate a request to retrieve the required capacity.
sourceCapacityInput
,
long sourceCountOutput, long sources)

Unsafe version of: EnumerateBoundSourcesForAction

public static int
nxrEnumerateEnvironmentBlendModes(XrInstance instance, long systemId, int viewConfigurationType, int
the capacity of the environmentBlendModes array, or 0 to indicate a request to retrieve the required capacity.
environmentBlendModeCapacityInput
,
long environmentBlendModeCountOutput, long environmentBlendModes)

Unsafe version of: EnumerateEnvironmentBlendModes

public static int
nxrEnumerateInstanceExtensionProperties(long layerName, int
the capacity of the properties array, or 0 to indicate a request to retrieve the required capacity.
propertyCapacityInput
,
long propertyCountOutput, long properties)

Unsafe version of: EnumerateInstanceExtensionProperties

public static int
nxrEnumerateReferenceSpaces(XrSession session, int
the capacity of the spaces array, or 0 to indicate a request to retrieve the required capacity.
spaceCapacityInput
,
long spaceCountOutput, long spaces)

Unsafe version of: EnumerateReferenceSpaces

public static int
nxrEnumerateSwapchainFormats(XrSession session, int
the capacity of the formats, or 0 to retrieve the required capacity.
formatCapacityInput
,
long formatCountOutput, long formats)

Unsafe version of: EnumerateSwapchainFormats

public static int
nxrEnumerateSwapchainImages(XrSwapchain swapchain, int
the capacity of the images array, or 0 to indicate a request to retrieve the required capacity.
imageCapacityInput
,
long imageCountOutput, long images)

Unsafe version of: EnumerateSwapchainImages

public static int
nxrEnumerateViewConfigurations(XrInstance instance, long systemId, int
the capacity of the viewConfigurations array, or 0 to indicate a request to retrieve the required capacity.
viewConfigurationsTypeCapacityInput
,
long viewConfigurationsTypeCountOutput, long viewConfigurationsTypes)

Unsafe version of: EnumerateViewConfigurations

public static int
nxrEnumerateViewConfigurationViews(XrInstance instance, long systemId, int viewConfigurationType, int
the capacity of the views array, or 0 to indicate a request to retrieve the required capacity.
viewCapacityInput
,
long viewCountOutput, long views)

Unsafe version of: EnumerateViewConfigurationViews

public static int
nxrGetActionStateBoolean(XrSession session, long getInfo, long state)

Unsafe version of: GetActionStateBoolean

public static int
nxrGetActionStateFloat(XrSession session, long getInfo, long state)

Unsafe version of: GetActionStateFloat

public static int
nxrGetActionStatePose(XrSession session, long getInfo, long state)

Unsafe version of: GetActionStatePose

public static int
nxrGetActionStateVector2f(XrSession session, long getInfo, long state)

Unsafe version of: GetActionStateVector2f

public static int
nxrGetCurrentInteractionProfile(XrSession session, long topLevelUserPath, long interactionProfile)

Unsafe version of: GetCurrentInteractionProfile

public static int
nxrGetInputSourceLocalizedName(XrSession session, long getInfo, int
the capacity of the buffer, or 0 to indicate a request to retrieve the required capacity.
bufferCapacityInput
,
long bufferCountOutput, long buffer)

Unsafe version of: GetInputSourceLocalizedName

public static int
nxrGetInstanceProcAddr(long instance, long name, long function)

Unsafe version of: GetInstanceProcAddr

public static int
nxrGetInstanceProperties(XrInstance instance, long instanceProperties)

Unsafe version of: GetInstanceProperties

public static int
nxrGetReferenceSpaceBoundsRect(XrSession session, int referenceSpaceType, long bounds)

Unsafe version of: GetReferenceSpaceBoundsRect

public static int
nxrGetSystem(XrInstance instance, long getInfo, long systemId)

Unsafe version of: GetSystem

public static int
nxrGetSystemProperties(XrInstance instance, long systemId, long properties)

Unsafe version of: GetSystemProperties

public static int
nxrGetViewConfigurationProperties(XrInstance instance, long systemId, int viewConfigurationType, long configurationProperties)

Unsafe version of: GetViewConfigurationProperties

public static int
nxrLocateSpace(XrSpace space, XrSpace baseSpace, long time, long location)

Unsafe version of: LocateSpace

public static int
nxrLocateViews(XrSession session, long viewLocateInfo, long viewState, int
an input parameter which specifies the capacity of the views array. The required capacity must be same as defined by the corresponding XrViewConfigurationType.
viewCapacityInput
,
long viewCountOutput, long views)

Unsafe version of: LocateViews

public static int
nxrPathToString(XrInstance instance, long path, int
the capacity of the buffer, or 0 to indicate a request to retrieve the required capacity.
bufferCapacityInput
,
long bufferCountOutput, long buffer)

Unsafe version of: PathToString

public static int
nxrPollEvent(XrInstance instance, long eventData)

Unsafe version of: PollEvent

public static int
nxrReleaseSwapchainImage(XrSwapchain swapchain, long releaseInfo)

Unsafe version of: ReleaseSwapchainImage

public static int
nxrResultToString(XrInstance instance, int value, long buffer)

Unsafe version of: ResultToString

public static int
nxrStopHapticFeedback(XrSession session, long hapticActionInfo)

Unsafe version of: StopHapticFeedback

public static int
nxrStringToPath(XrInstance instance, long pathString, long path)

Unsafe version of: StringToPath

public static int
nxrStructureTypeToString(XrInstance instance, int value, long buffer)

Unsafe version of: StructureTypeToString

public static int
nxrSuggestInteractionProfileBindings(XrInstance instance, long suggestedBindings)

Unsafe version of: SuggestInteractionProfileBindings

public static int
nxrSyncActions(XrSession session, long syncInfo)

Unsafe version of: SyncActions

public static int
nxrWaitFrame(XrSession session, long frameWaitInfo, long frameState)

Unsafe version of: WaitFrame

public static int
nxrWaitSwapchainImage(XrSwapchain swapchain, long waitInfo)

Unsafe version of: WaitSwapchainImage

public static boolean
XR_FAILED(int result)

public static long
XR_MAKE_VERSION(int
the major version number, packed into the most-significant 16 bits
major
,
int
the minor version number, packed into the second-most-significant group of 16 bits
minor
,
int
the patch version number, in the least-significant 32 bits
patch
)

Packs a three-component version number into a packed version number integer.

public static boolean
XR_SUCCEEDED(int result)

public static boolean
public static short
XR_VERSION_MAJOR(long
a packed version number
version
)

Extracts the major version number from a packed version number.

public static short
XR_VERSION_MINOR(long
a packed version number
version
)

Extracts the minor version number from a packed version number.

public static int
XR_VERSION_PATCH(long
a packed version number
version
)

Extracts the patch version number from a packed version number.

public static int
xrAcquireSwapchainImage(XrSwapchain
the swapchain from which to acquire an image.
swapchain
,
XrSwapchainImageAcquireInfo
exists for extensibility purposes, it is NULL or a pointer to a valid XrSwapchainImageAcquireInfo.
acquireInfo
,
IntBuffer
the returned image index that has been acquired.
index
)

Acquire a swapchain image.

public static int
xrApplyHapticFeedback(XrSession
the XrSession to start outputting to.
session
,
XrHapticActionInfo
a pointer to XrHapticActionInfo to provide action and subaction paths information.
hapticActionInfo
,
XrHapticBaseHeader
a pointer to a haptic event structure which starts with an XrHapticBaseHeader.
hapticFeedback
)

Apply haptic feedback.

public static int
xrAttachSessionActionSets(XrSession
the XrSession to attach the action sets to.
session
,
XrSessionActionSetsAttachInfo
the XrSessionActionSetsAttachInfo to provide information to attach action sets to the session.
attachInfo
)

Attaches action sets to a given session.

public static int
xrBeginFrame(XrSession
a valid XrSession handle.
session
,
XrFrameBeginInfo
exists for extensibility purposes, it is NULL or a pointer to a valid XrFrameBeginInfo.
frameBeginInfo
)

Marks a frame.

public static int
xrBeginSession(XrSession
a valid XrSession handle.
session
,
XrSessionBeginInfo
a pointer to an XrSessionBeginInfo structure.
beginInfo
)

Begins an XrSession.

public static int
xrCreateAction(XrActionSet
a handle to an XrActionSet.
actionSet
,
XrActionCreateInfo
a pointer to a valid XrActionCreateInfo structure that defines the action being created.
createInfo
,
PointerBuffer
a pointer to an XrAction where the created action is returned.
action
)

Creates an XrAction.

public static int
xrCreateActionSet(XrInstance
a handle to an XrInstance.
instance
,
XrActionSetCreateInfo
a pointer to a valid XrActionSetCreateInfo structure that defines the action set being created.
createInfo
,
PointerBuffer
a pointer to an XrActionSet where the created action set is returned.
actionSet
)

Creates an XrActionSet.

public static int
xrCreateActionSpace(XrSession
the XrSession to create the action space in.
session
,
XrActionSpaceCreateInfo
the XrActionSpaceCreateInfo used to specify the space.
createInfo
,
PointerBuffer
the returned space handle.
space
)

Creates a space based on a pose action.

public static int
xrCreateInstance(XrInstanceCreateInfo
points to an instance of XrInstanceCreateInfo controlling creation of the instance.
createInfo
,
PointerBuffer
points to an XrInstance handle in which the resulting instance is returned.
instance
)

Creates an OpenXR Instance.

public static int
xrCreateReferenceSpace(XrSession
a handle to an XrSession previously created with CreateSession.
session
,
XrReferenceSpaceCreateInfo
the XrReferenceSpaceCreateInfo used to specify the space.
createInfo
,
PointerBuffer
the returned space handle.
space
)

Creates a reference space.

public static int
xrCreateSession(XrInstance
the instance from which systemId was retrieved.
instance
,
XrSessionCreateInfo
a pointer to an XrSessionCreateInfo structure containing information about how to create the session.
createInfo
,
PointerBuffer
a pointer to a handle in which the created XrSession is returned.
session
)

Creates an XrSession.

public static int
xrCreateSwapchain(XrSession
the session that creates the image.
session
,
XrSwapchainCreateInfo
a pointer to an XrSwapchainCreateInfo structure containing parameters to be used to create the image.
createInfo
,
PointerBuffer
a pointer to a handle in which the created XrSwapchain is returned.
swapchain
)

Creates an XrSwapchain.

public static int
xrDestroyAction(XrAction
the action to destroy.
action
)

Destroys an XrAction.

public static int
xrDestroyActionSet(XrActionSet
the action set to destroy.
actionSet
)

Destroys an XrActionSet.

public static int
xrDestroyInstance(XrInstance instance)

Destroy an instance of OpenXR.

public static int
xrDestroySession(XrSession
the session to destroy.
session
)

Destroys an XrSession.

public static int
xrDestroySpace(XrSpace
a handle to an XrSpace previously created by a function such as CreateReferenceSpace.
space
)

Destroys an XrSpace.

public static int
xrDestroySwapchain(XrSwapchain
the swapchain to destroy.
swapchain
)

Destroys an XrSwapchain.

public static int
xrEndFrame(XrSession
a valid XrSession handle.
session
,
XrFrameEndInfo
a pointer to a valid XrFrameEndInfo.
frameEndInfo
)

Marks a frame.

public static int
xrEndSession(XrSession
a handle to a running XrSession.
session
)

Ends an XrSession.

public static int
xrEnumerateApiLayerProperties(IntBuffer
a pointer to the count of properties written, or a pointer to the required capacity in the case that propertyCapacityInput is insufficient.
propertyCountOutput
,
XrApiLayerProperties.Buffer
a pointer to an array of XrApiLayerProperties structures, but can be NULL if propertyCapacityInput is 0.
properties
)

Returns up to requested number of global layer properties.

public static int
xrEnumerateBoundSourcesForAction(XrSession
the XrSession being queried.
session
,
XrBoundSourcesForActionEnumerateInfo
an XrBoundSourcesForActionEnumerateInfo providing the query information.
enumerateInfo
,
IntBuffer
a pointer to the count of sources, or a pointer to the required capacity in the case that sourceCapacityInput is insufficient.
sourceCountOutput
,
LongBuffer
a pointer to an application-allocated array that will be filled with the XrPath values for all bound sources. It can be NULL if sourceCapacityInput is 0.
sources
)

Queries the bound input sources for an action.

public static int
xrEnumerateEnvironmentBlendModes(XrInstance
the instance from which systemId was retrieved.
instance
,
long
the XrSystemId whose environment blend modes will be enumerated.
systemId
,
int
the XrViewConfigurationType to enumerate.
viewConfigurationType
,
IntBuffer
a pointer to the count of environmentBlendModes written, or a pointer to the required capacity in the case that environmentBlendModeCapacityInput is insufficient.
environmentBlendModeCountOutput
,
IntBuffer
a pointer to an array of XrEnvironmentBlendMode values, but can be NULL if environmentBlendModeCapacityInput is 0.
environmentBlendModes
)

Lists environment blend modes.

public static int
xrEnumerateInstanceExtensionProperties(ByteBuffer
either NULL or a pointer to a string naming the API layer to retrieve extensions from, as returned by EnumerateApiLayerProperties.
layerName
,
IntBuffer
a pointer to the count of properties written, or a pointer to the required capacity in the case that propertyCapacityInput is insufficient.
propertyCountOutput
,
XrExtensionProperties.Buffer
a pointer to an array of XrExtensionProperties structures, but can be NULL if propertyCapacityInput is 0.
properties
)

Returns properties of available instance extensions.

public static int
xrEnumerateInstanceExtensionProperties(CharSequence
either NULL or a pointer to a string naming the API layer to retrieve extensions from, as returned by EnumerateApiLayerProperties.
layerName
,
IntBuffer
a pointer to the count of properties written, or a pointer to the required capacity in the case that propertyCapacityInput is insufficient.
propertyCountOutput
,
XrExtensionProperties.Buffer
a pointer to an array of XrExtensionProperties structures, but can be NULL if propertyCapacityInput is 0.
properties
)

Returns properties of available instance extensions.

public static int
xrEnumerateReferenceSpaces(XrSession
a handle to an XrSession previously created with CreateSession.
session
,
IntBuffer
a pointer to the count of spaces written, or a pointer to the required capacity in the case that spaceCapacityInput is insufficient.
spaceCountOutput
,
IntBuffer
a pointer to an application-allocated array that will be filled with the enumerant of each supported reference space. It can be NULL if spaceCapacityInput is 0.
spaces
)

Enumerate available reference spaces.

public static int
xrEnumerateSwapchainFormats(XrSession
the session that enumerates the supported formats.
session
,
IntBuffer
a pointer to the count of uint64_t formats written, or a pointer to the required capacity in the case that formatCapacityInput is insufficient.
formatCountOutput
,
LongBuffer
a pointer to an array of int64_t format ids, but can be NULL if formatCapacityInput is 0. The format ids are specific to the specified graphics API.
formats
)

Enumerates swapchain formats.

public static int
xrEnumerateSwapchainImages(XrSwapchain
the XrSwapchain to get images from.
swapchain
,
IntBuffer
a pointer to the count of images written, or a pointer to the required capacity in the case that imageCapacityInput is insufficient.
imageCountOutput
,
XrSwapchainImageBaseHeader.Buffer
a pointer to an array of graphics API-specific XrSwapchainImage structures, all of the same type, based on XrSwapchainImageBaseHeader. It can be NULL if imageCapacityInput is 0.
images
)

Gets images from an XrSwapchain.

public static int
xrEnumerateViewConfigurations(XrInstance
the instance from which systemId was retrieved.
instance
,
long
the XrSystemId whose view configurations will be enumerated.
systemId
,
IntBuffer
a pointer to the count of viewConfigurations written, or a pointer to the required capacity in the case that viewConfigurationsTypeCapacityInput is insufficient.
viewConfigurationsTypeCountOutput
,
IntBuffer
a pointer to an array of XrViewConfigurationType values, but can be NULL if viewConfigurationsTypeCapacityInput is 0.
viewConfigurationsTypes
)

Enumerates supported view configurations.

public static int
xrEnumerateViewConfigurationViews(XrInstance
the instance from which systemId was retrieved.
instance
,
long
the XrSystemId whose view configuration is being queried.
systemId
,
int
the XrViewConfigurationType of the configuration to get.
viewConfigurationType
,
IntBuffer
a pointer to the count of views written, or a pointer to the required capacity in the case that viewCapacityInput is 0.
viewCountOutput
,
XrViewConfigurationView.Buffer
a pointer to an array of XrViewConfigurationView values, but can be NULL if viewCapacityInput is 0.
views
)

Gets view configuration views.

public static int
xrGetActionStateBoolean(XrSession
the XrSession to query.
session
,
XrActionStateGetInfo
a pointer to XrActionStateGetInfo to provide action and subaction paths information.
getInfo
,
XrActionStateBoolean
a pointer to a valid XrActionStateBoolean into which the state will be placed.
state
)

Gets boolean action state.

public static int
xrGetActionStateFloat(XrSession
the XrSession to query.
session
,
XrActionStateGetInfo
a pointer to XrActionStateGetInfo to provide action and subaction paths information.
getInfo
,
XrActionStateFloat
a pointer to a valid XrActionStateFloat into which the state will be placed.
state
)

Gets a floating point action state.

public static int
xrGetActionStatePose(XrSession
the XrSession to query.
session
,
XrActionStateGetInfo
a pointer to XrActionStateGetInfo to provide action and subaction paths information.
getInfo
,
XrActionStatePose
a pointer to a valid XrActionStatePose into which the state will be placed.
state
)

Gets metadata from a pose action.

public static int
xrGetActionStateVector2f(XrSession
the XrSession to query.
session
,
XrActionStateGetInfo
a pointer to XrActionStateGetInfo to provide action and subaction paths information.
getInfo
,
XrActionStateVector2f
a pointer to a valid XrActionStateVector2f into which the state will be placed.
state
)

Gets 2D float vector action state.

public static int
xrGetCurrentInteractionProfile(XrSession
the XrSession for which the application would like to retrieve the current interaction profile.
session
,
long
the top level user path the application would like to retrieve the interaction profile for.
topLevelUserPath
,
XrInteractionProfileState
a pointer to an XrInteractionProfileState structure to receive the current interaction profile.
interactionProfile
)

Gets the current interaction profile for a top level user paths.

public static int
xrGetInputSourceLocalizedName(XrSession
a handle to the XrSession associated with the action that reported this bound source.
session
,
XrInputSourceLocalizedNameGetInfo
an XrInputSourceLocalizedNameGetInfo providing the query information.
getInfo
,
IntBuffer
a pointer to the count of name characters written to buffer (including the terminating \0), or a pointer to the required capacity in the case that bufferCapacityInput is insufficient.
bufferCountOutput
,
ByteBuffer
a pointer to an application-allocated buffer that will be filled with the bound source name. It can be NULL if bufferCapacityInput is 0.
buffer
)

Gets a localized source name.

public static int
xrGetInstanceProcAddr(XrInstance
the instance that the function pointer will be compatible with, or NULL for functions not dependent on any instance.
instance
,
ByteBuffer
the name of the function to obtain.
name
,
PointerBuffer
the address of the function pointer to get.
function
)

Gets a function pointer for an OpenXR function.

public static int
xrGetInstanceProcAddr(XrInstance
the instance that the function pointer will be compatible with, or NULL for functions not dependent on any instance.
instance
,
CharSequence
the name of the function to obtain.
name
,
PointerBuffer
the address of the function pointer to get.
function
)

Gets a function pointer for an OpenXR function.

public static int
xrGetInstanceProperties(XrInstance
a handle to an XrInstance previously created with CreateInstance.
instance
,
XrInstanceProperties
points to an XrInstanceProperties which describes the instance.
instanceProperties
)

Gets information about the instance.

public static int
xrGetReferenceSpaceBoundsRect(XrSession
a handle to an XrSession previously created with CreateSession.
session
,
int
the reference space type whose bounds should be retrieved.
referenceSpaceType
,
XrExtent2Df
the returned space extents.
bounds
)

Gets the bounds rectangle of a reference space.

public static int
xrGetSystem(XrInstance
the handle of the instance from which to get the information.
instance
,
XrSystemGetInfo
a pointer to an XrSystemGetInfo structure containing the application’s requests for a system.
getInfo
,
LongBuffer
the returned XrSystemId.
systemId
)

Gets a system identifier.

public static int
xrGetSystemProperties(XrInstance
the instance from which systemId was retrieved.
instance
,
long
the XrSystemId whose properties will be queried.
systemId
,
XrSystemProperties
points to an instance of the XrSystemProperties structure, that will be filled with returned information.
properties
)

Gets the properties of a particular system.

public static int
xrGetViewConfigurationProperties(XrInstance
the instance from which systemId was retrieved.
instance
,
long
the XrSystemId whose view configuration is being queried.
systemId
,
int
the XrViewConfigurationType of the configuration to get.
viewConfigurationType
,
XrViewConfigurationProperties
a pointer to view configuration properties to return.
configurationProperties
)

Gets information for a view configuration.

public static int
xrLocateSpace(XrSpace
identifies the target space to locate.
space
,
XrSpace
identifies the underlying space in which to locate space.
baseSpace
,
long
the time for which the location should be provided.
time
,
XrSpaceLocation
provides the location of space in baseSpace.
location
)

Locates a space with reference to another space.

public static int
xrLocateViews(XrSession
a handle to the provided XrSession.
session
,
XrViewLocateInfo
a pointer to a valid XrViewLocateInfo structure.
viewLocateInfo
,
XrViewState
the output structure with the viewer state information.
viewState
,
IntBuffer
an output parameter which identifies the valid count of views.
viewCountOutput
,
XrView.Buffer
an array of XrView.
views
)

Gets view and projection info.

public static int
xrPathToString(XrInstance
an instance previously created.
instance
,
long
the valid XrPath value to retrieve the path string for.
path
,
IntBuffer
a pointer to the count of characters written to buffer (including the terminating '\0'), or a pointer to the required capacity in the case that bufferCapacityInput is insufficient.
bufferCountOutput
,
ByteBuffer
a pointer to an application-allocated buffer that will be filled with the semantic path string. It can be NULL if bufferCapacityInput is 0.
buffer
)

Converts a semantic path to a string.

public static int
xrPollEvent(XrInstance instance, XrEventDataBuffer eventData)

Polls for events.

public static int
xrReleaseSwapchainImage(XrSwapchain
the XrSwapchain from which to release an image.
swapchain
,
XrSwapchainImageReleaseInfo
exists for extensibility purposes, it is NULL or a pointer to a valid XrSwapchainImageReleaseInfo.
releaseInfo
)

Release a swapchain image.

public static int
xrRequestExitSession(XrSession
a handle to a running XrSession.
session
)

Request to exit a running session.

public static int
xrResultToString(XrInstance
the handle of the instance to ask for the string.
instance
,
int
the XrResult value to turn into a string.
value
,
ByteBuffer
the buffer that will be used to return the string in.
buffer
)

Converts an XrResult to a UTF-8 string.

public static int
xrStopHapticFeedback(XrSession
the XrSession to stop outputting to.
session
,
XrHapticActionInfo
a pointer to an XrHapticActionInfo to provide action and subaction path information.
hapticActionInfo
)

Stop haptic feedback.

public static int
xrStringToPath(XrInstance
an instance previously created.
instance
,
ByteBuffer
the path name string to retrieve the associated XrPath for.
pathString
,
LongBuffer
the output parameter, which must point to an XrPath. Given a well-formed path name string, this will be populated with an opaque value that is constant for that path string during the lifetime of that instance.
path
)

Converts a string to a semantic path.

public static int
xrStringToPath(XrInstance
an instance previously created.
instance
,
CharSequence
the path name string to retrieve the associated XrPath for.
pathString
,
LongBuffer
the output parameter, which must point to an XrPath. Given a well-formed path name string, this will be populated with an opaque value that is constant for that path string during the lifetime of that instance.
path
)

Converts a string to a semantic path.

public static int
xrStructureTypeToString(XrInstance
the handle of the instance to ask for the string.
instance
,
int
the XrStructureType value to turn into a string.
value
,
ByteBuffer
the buffer that will be used to return the string in.
buffer
)

Converts an XrStructureType to a UTF-8 string.

public static int
xrSuggestInteractionProfileBindings(XrInstance
the XrInstance for which the application would like to set suggested bindings
instance
,
XrInteractionProfileSuggestedBinding
the XrInteractionProfileSuggestedBinding that the application would like to set
suggestedBindings
)

Sets the application-suggested bindings for the interaction profile.

public static int
xrSyncActions(XrSession
a handle to the XrSession that all provided action set handles belong to.
session
,
XrActionsSyncInfo
an XrActionsSyncInfo providing information to synchronize action states.
syncInfo
)

Updates the current state of input actions.

public static int
xrWaitFrame(XrSession
a valid XrSession handle.
session
,
XrFrameWaitInfo
exists for extensibility purposes, it is NULL or a pointer to a valid XrFrameWaitInfo.
frameWaitInfo
,
XrFrameState
a pointer to a valid XrFrameState, an output parameter.
frameState
)

Frame timing function.

public static int
xrWaitSwapchainImage(XrSwapchain
the swapchain from which to wait for an image.
swapchain
,
XrSwapchainImageWaitInfo
a pointer to an XrSwapchainImageWaitInfo structure.
waitInfo
)

Wait for a swapchain image to be available.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait