This extension enables spatial entities to be stored and persisted across sessions. If the SPACE_COMPONENT_TYPE_STORABLE_FB component has been enabled on the spatial entity, application developers may save, load, and erase persisted 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.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_FB_SPATIAL_ENTITY_STORAGE_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_spatial_entity_storage_SPEC_VERSION
The extension specification version. |
| public static final int | XR_SPACE_PERSISTENCE_MODE_INDEFINITE_FB
XrSpacePersistenceModeFB - Persistence mode Description The |
| public static final int | XR_SPACE_PERSISTENCE_MODE_INVALID_FB
XrSpacePersistenceModeFB - Persistence mode Description The |
| public static final int | XR_TYPE_EVENT_DATA_SPACE_ERASE_COMPLETE_FB
Extends |
| public static final int | XR_TYPE_EVENT_DATA_SPACE_SAVE_COMPLETE_FB
Extends |
| public static final int | XR_TYPE_SPACE_ERASE_INFO_FB
Extends |
| public static final int | XR_TYPE_SPACE_SAVE_INFO_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static int | xrEraseSpaceFB(XrSession
a handle to an session, XrSpaceEraseInfoFB XrSession.contains the parameters for the erase operation. info, LongBuffer an output parameter, and the variable it points to will be populated with the ID of this asynchronous request. requestId)Erases a spatial entity from persistent storage. |
| public static int | xrSaveSpaceFB(XrSession
a handle to an session, XrSpaceSaveInfoFB XrSession.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 spatial entity to persistent storage. |
| XR_FB_SPATIAL_ENTITY_STORAGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_SPATIAL_ENTITY_STORAGE_EXTENSION_NAME The extension name. | |
| XR_FB_spatial_entity_storage_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_spatial_entity_storage_SPEC_VERSION The extension specification version. | |
| XR_SPACE_PERSISTENCE_MODE_INDEFINITE_FB | back to summary |
|---|---|
| public static final int XR_SPACE_PERSISTENCE_MODE_INDEFINITE_FB XrSpacePersistenceModeFB - Persistence mode DescriptionThe Enumerant Descriptions
See Also | |
| XR_SPACE_PERSISTENCE_MODE_INVALID_FB | back to summary |
|---|---|
| public static final int XR_SPACE_PERSISTENCE_MODE_INVALID_FB XrSpacePersistenceModeFB - Persistence mode DescriptionThe Enumerant Descriptions
See Also | |
| XR_TYPE_EVENT_DATA_SPACE_ERASE_COMPLETE_FB | back to summary |
|---|---|
| public static final int XR_TYPE_EVENT_DATA_SPACE_ERASE_COMPLETE_FB Extends Enum values: | |
| XR_TYPE_EVENT_DATA_SPACE_SAVE_COMPLETE_FB | back to summary |
|---|---|
| public static final int XR_TYPE_EVENT_DATA_SPACE_SAVE_COMPLETE_FB Extends Enum values: | |
| XR_TYPE_SPACE_ERASE_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_ERASE_INFO_FB Extends Enum values: | |
| XR_TYPE_SPACE_SAVE_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_SAVE_INFO_FB Extends Enum values: | |
| FBSpatialEntityStorage | back to summary |
|---|---|
| protected FBSpatialEntityStorage() | |
| nxrEraseSpaceFB | back to summary |
|---|---|
| public static int nxrEraseSpaceFB(XrSession session, long info, long requestId) Unsafe version of: | |
| nxrSaveSpaceFB | back to summary |
|---|---|
| public static int nxrSaveSpaceFB(XrSession session, long info, long requestId) Unsafe version of: | |
| xrEraseSpaceFB | back to summary |
|---|---|
| public static int xrEraseSpaceFB(XrSession session, XrSpaceEraseInfoFB info, LongBuffer requestId) Erases a spatial entity from persistent storage. C SpecificationThe
DescriptionThe Valid Usage (Implicit)
Return Codes
See Also
| |
| xrSaveSpaceFB | back to summary |
|---|---|
| public static int xrSaveSpaceFB(XrSession session, XrSpaceSaveInfoFB info, LongBuffer requestId) Saves a spatial entity to persistent storage. C SpecificationThe
DescriptionThe Valid Usage (Implicit)
Return Codes
See Also
| |