Package org.lwjgl.openxr
Class FBSceneCapture
java.lang.Object
org.lwjgl.openxr.FBSceneCapture
The XR_FB_scene_capture extension.
This extension allows an application to request that the system begin capturing information about what is in the environment around the user.
In order to enable the functionality of this extension, you must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extension section.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType.static final intExtendsXrStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnxrRequestSceneCaptureFB(XrSession session, long info, long requestId) Unsafe version of:RequestSceneCaptureFBstatic intxrRequestSceneCaptureFB(XrSession session, XrSceneCaptureRequestInfoFB info, LongBuffer requestId) Begins a scene capture using the specified parameters.
-
Field Details
-
XR_FB_scene_capture_SPEC_VERSION
public static final int XR_FB_scene_capture_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_FB_SCENE_CAPTURE_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_EVENT_DATA_SCENE_CAPTURE_COMPLETE_FB
public static final int XR_TYPE_EVENT_DATA_SCENE_CAPTURE_COMPLETE_FBExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_SCENE_CAPTURE_REQUEST_INFO_FB
public static final int XR_TYPE_SCENE_CAPTURE_REQUEST_INFO_FBExtendsXrStructureType.Enum values:
- See Also:
-
-
Method Details
-
nxrRequestSceneCaptureFB
Unsafe version of:RequestSceneCaptureFB -
xrRequestSceneCaptureFB
public static int xrRequestSceneCaptureFB(XrSession session, XrSceneCaptureRequestInfoFB info, LongBuffer requestId) Begins a scene capture using the specified parameters.C Specification
The
RequestSceneCaptureFBfunction is defined as:XrResult xrRequestSceneCaptureFB( XrSession session, const XrSceneCaptureRequestInfoFB* info, XrAsyncRequestIdFB* requestId);Description
The
RequestSceneCaptureFBfunction is used by an application to begin capturing the scene around the user. This is an asynchronous operation.Valid Usage (Implicit)
- The
XR_FB_scene_captureextension must be enabled prior to callingRequestSceneCaptureFB sessionmust be a validXrSessionhandleinfomust be a pointer to a validXrSceneCaptureRequestInfoFBstructurerequestIdmust be a pointer to anXrAsyncRequestIdFBvalue
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
session- a handle to anXrSession.info- anXrSceneCaptureRequestInfoFBwhich specifies how the scene capture should occur.requestId- the output parameter that points to the ID of this asynchronous request.
- The
-