Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class FBSpatialEntityStorageBatch

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

The XR_FB_spatial_entity_storage_batch extension.

This extension enables multiple spatial entities at a time to be persisted across sessions. If the SPACE_COMPONENT_TYPE_STORABLE_FB component has been enabled on the spatial entity, application developers may save and erase XrSpace entities.

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_spatial_entity_storage_batch_SPEC_VERSION

The extension specification version.

public static final int
public static final int
XR_TYPE_SPACE_LIST_SAVE_INFO_FB

Extends XrStructureType.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

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

Unsafe version of: SaveSpaceListFB

public static int
xrSaveSpaceListFB(XrSession
a handle to an XrSession.
session
,
XrSpaceListSaveInfoFB
contains the parameters for the save operation.
info
,
LongBuffer
an output parameter, and the variable it points to will be populated with the ID of this asynchronous request.
requestId
)

Saves a list of spatial entities to persistent storage.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_FB_SPATIAL_ENTITY_STORAGE_BATCH_EXTENSION_NAMEback to summary
public static final String XR_FB_SPATIAL_ENTITY_STORAGE_BATCH_EXTENSION_NAME

The extension name.

XR_FB_spatial_entity_storage_batch_SPEC_VERSIONback to summary
public static final int XR_FB_spatial_entity_storage_batch_SPEC_VERSION

The extension specification version.

XR_TYPE_EVENT_DATA_SPACE_LIST_SAVE_COMPLETE_FBback to summary
public static final int XR_TYPE_EVENT_DATA_SPACE_LIST_SAVE_COMPLETE_FB

Extends XrStructureType.

Enum values:
XR_TYPE_SPACE_LIST_SAVE_INFO_FBback to summary
public static final int XR_TYPE_SPACE_LIST_SAVE_INFO_FB

Extends XrStructureType.

Enum values:

Constructor Detail

FBSpatialEntityStorageBatchback to summary
protected FBSpatialEntityStorageBatch()

Method Detail

nxrSaveSpaceListFBback to summary
public static int nxrSaveSpaceListFB(XrSession session, long info, long requestId)

Unsafe version of: SaveSpaceListFB

xrSaveSpaceListFBback to summary
public static int xrSaveSpaceListFB(XrSession session, XrSpaceListSaveInfoFB info, LongBuffer requestId)

Saves a list of spatial entities to persistent storage.

C Specification

The SaveSpaceListFB function is defined as:


XrResult xrSaveSpaceListFB(
    XrSession                                   session,
    const XrSpaceListSaveInfoFB*                info,
    XrAsyncRequestIdFB*                         requestId);
Description

The SaveSpaceListFB function persists the specified spatial entities at the specified storage location. The runtime must return ERROR_VALIDATION_FAILURE if XrSpaceSaveInfoFB::location is invalid. This operation is asynchronous and the runtime must post an XrEventDataSpaceListSaveCompleteFB event when the operation completes successfully or encounters an error. If this function returns a failure code, no event is posted.

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

XrSpaceListSaveInfoFB

Parameters
session:XrSession

a handle to an XrSession.

info:XrSpaceListSaveInfoFB

contains the parameters for the save operation.

requestId:LongBuffer

an output parameter, and the variable it points to will be populated with the ID of this asynchronous request.

Annotations
@NativeType:XrResult