This extension extends the scene understanding extension and enables scenes to be serialized or deserialized. It enables computing a new scene into a serialized binary stream and it enables deserializing a binary stream into an XrSceneMSFT handle.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_MSFT_SCENE_UNDERSTANDING_SERIALIZATION_EXTENSION_NAME
The extension name. |
| public static final int | XR_MSFT_scene_understanding_serialization_SPEC_VERSION
The extension specification version. |
| public static final int | XR_SCENE_COMPONENT_TYPE_SERIALIZED_SCENE_FRAGMENT_MSFT
Extends |
| public static final int | XR_SCENE_COMPUTE_FEATURE_SERIALIZE_SCENE_MSFT
Extends |
| public static final int | XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT
Extends |
| public static final int | XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, long deserializeInfo)
Unsafe version of: |
| public static int | nxrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, long getInfo, int
the number of bytes that should be read. countInput, long readOutput, long buffer)Unsafe version of: |
| public static int | xrDeserializeSceneMSFT(XrSceneObserverMSFT
a handle to an sceneObserver, XrSceneDeserializeInfoMSFT XrSceneObserverMSFT previously created with CreateSceneObserverMSFT.a pointer to an deserializeInfo)XrSceneDeserializeInfoMSFT structure.Deserialize scene. |
| public static int | xrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT
the scene, XrSerializedSceneFragmentDataGetInfoMSFT XrSceneMSFT handle to read from.a pointer to an getInfo, IntBuffer XrSerializedSceneFragmentDataGetInfoMSFT structure.the number of bytes read. readOutput, ByteBuffer a pointer to the buffer where the data should be copied. buffer)Get serialized scene fragment data. |
| XR_MSFT_SCENE_UNDERSTANDING_SERIALIZATION_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_MSFT_SCENE_UNDERSTANDING_SERIALIZATION_EXTENSION_NAME The extension name. | |
| XR_MSFT_scene_understanding_serialization_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_MSFT_scene_understanding_serialization_SPEC_VERSION The extension specification version. | |
| XR_SCENE_COMPONENT_TYPE_SERIALIZED_SCENE_FRAGMENT_MSFT | back to summary |
|---|---|
| public static final int XR_SCENE_COMPONENT_TYPE_SERIALIZED_SCENE_FRAGMENT_MSFT Extends | |
| XR_SCENE_COMPUTE_FEATURE_SERIALIZE_SCENE_MSFT | back to summary |
|---|---|
| public static final int XR_SCENE_COMPUTE_FEATURE_SERIALIZE_SCENE_MSFT Extends | |
| XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT | back to summary |
|---|---|
| public static final int XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT Extends Enum values: | |
| XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT | back to summary |
|---|---|
| public static final int XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT Extends Enum values: | |
| MSFTSceneUnderstandingSerialization | back to summary |
|---|---|
| protected MSFTSceneUnderstandingSerialization() | |
| nxrDeserializeSceneMSFT | back to summary |
|---|---|
| public static int nxrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, long deserializeInfo) Unsafe version of: | |
| nxrGetSerializedSceneFragmentDataMSFT | back to summary |
|---|---|
| public static int nxrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, long getInfo, int countInput, long readOutput, long buffer) Unsafe version of:
| |
| xrDeserializeSceneMSFT | back to summary |
|---|---|
| public static int xrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, XrSceneDeserializeInfoMSFT deserializeInfo) Deserialize scene. C SpecificationThe
DescriptionThe The runtime must return The When Valid Usage (Implicit)
Return Codes
See Also
| |
| xrGetSerializedSceneFragmentDataMSFT | back to summary |
|---|---|
| public static int xrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, XrSerializedSceneFragmentDataGetInfoMSFT getInfo, IntBuffer readOutput, ByteBuffer buffer) Get serialized scene fragment data. C SpecificationThe application can call the The
DescriptionThe runtime must return Valid Usage (Implicit)
Return Codes
See Also
| |