Package org.lwjgl.openxr
Class METASpatialEntitySharing
java.lang.Object
org.lwjgl.openxr.METASpatialEntitySharing
The XR_META_spatial_entity_sharing extension.
The XR_META_spatial_entity_sharing extension enables applications to share spatial entities.
This base extension provides a generic space sharing endpoint. This extension depends on other extensions (such as XR_META_spatial_entity_group_sharing) to define concrete "recipient info" structures, which are passed into the generic endpoint introduced in this extension.
The scope/lifetime of the sharing action is dependent on the recipient type of the sharing. Therefore, the scope/lifetime of the sharing action is defined in the extensions which provide concrete "recipient info" structures.
XR_META_spatial_entity_sharing is a more generic and extendable alternative to XR_FB_spatial_entity_sharing (which is tightly coupled with XrSpaceUserFB).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intXR_MAX_SPACES_PER_SHARE_REQUEST_METAstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnxrShareSpacesMETA(XrSession session, long info, long requestId) Unsafe version of:ShareSpacesMETAstatic intxrShareSpacesMETA(XrSession session, XrShareSpacesInfoMETA info, LongBuffer requestId) Share a spatial entity.
-
Field Details
-
XR_META_spatial_entity_sharing_SPEC_VERSION
public static final int XR_META_spatial_entity_sharing_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_META_SPATIAL_ENTITY_SHARING_EXTENSION_NAME
The extension name.- See Also:
-
XR_MAX_SPACES_PER_SHARE_REQUEST_META
public static final int XR_MAX_SPACES_PER_SHARE_REQUEST_METAXR_MAX_SPACES_PER_SHARE_REQUEST_META- See Also:
-
XR_TYPE_SYSTEM_SPATIAL_ENTITY_SHARING_PROPERTIES_META
public static final int XR_TYPE_SYSTEM_SPATIAL_ENTITY_SHARING_PROPERTIES_METAExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_SHARE_SPACES_INFO_META
public static final int XR_TYPE_SHARE_SPACES_INFO_METAExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_EVENT_DATA_SHARE_SPACES_COMPLETE_META
public static final int XR_TYPE_EVENT_DATA_SHARE_SPACES_COMPLETE_METAExtendsXrStructureType.Enum values:
- See Also:
-
-
Method Details