Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class FBSceneCapture

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

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

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
XR_FB_scene_capture_SPEC_VERSION

The extension specification version.

public static final int
public static final int
XR_TYPE_SCENE_CAPTURE_REQUEST_INFO_FB

Extends XrStructureType.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrRequestSceneCaptureFB(XrSession session, long info, long requestId)

Unsafe version of: RequestSceneCaptureFB

public static int
xrRequestSceneCaptureFB(XrSession
a handle to an XrSession.
session
,
XrSceneCaptureRequestInfoFB
an XrSceneCaptureRequestInfoFB which specifies how the scene capture should occur.
info
,
LongBuffer
the output parameter that points to the ID of this asynchronous request.
requestId
)

Begins a scene capture using the specified parameters.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_FB_SCENE_CAPTURE_EXTENSION_NAMEback to summary
public static final String XR_FB_SCENE_CAPTURE_EXTENSION_NAME

The extension name.

XR_FB_scene_capture_SPEC_VERSIONback to summary
public static final int XR_FB_scene_capture_SPEC_VERSION

The extension specification version.

XR_TYPE_EVENT_DATA_SCENE_CAPTURE_COMPLETE_FBback to summary
public static final int XR_TYPE_EVENT_DATA_SCENE_CAPTURE_COMPLETE_FB

Extends XrStructureType.

Enum values:
XR_TYPE_SCENE_CAPTURE_REQUEST_INFO_FBback to summary
public static final int XR_TYPE_SCENE_CAPTURE_REQUEST_INFO_FB

Extends XrStructureType.

Enum values:

Constructor Detail

FBSceneCaptureback to summary
protected FBSceneCapture()

Method Detail

nxrRequestSceneCaptureFBback to summary
public static int nxrRequestSceneCaptureFB(XrSession session, long info, long requestId)

Unsafe version of: RequestSceneCaptureFB

xrRequestSceneCaptureFBback to summary
public static int xrRequestSceneCaptureFB(XrSession session, XrSceneCaptureRequestInfoFB info, LongBuffer requestId)

Begins a scene capture using the specified parameters.

C Specification

The RequestSceneCaptureFB function is defined as:


XrResult xrRequestSceneCaptureFB(
    XrSession                                   session,
    const XrSceneCaptureRequestInfoFB*          info,
    XrAsyncRequestIdFB*                         requestId);
Description

The RequestSceneCaptureFB function is used by an application to begin capturing the scene around the user. This is an asynchronous operation.

Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrSceneCaptureRequestInfoFB

Parameters
session:XrSession

a handle to an XrSession.

info:XrSceneCaptureRequestInfoFB

an XrSceneCaptureRequestInfoFB which specifies how the scene capture should occur.

requestId:LongBuffer

the output parameter that points to the ID of this asynchronous request.

Annotations
@NativeType:XrResult