If the scene fragments are not in the same order as returned by GetSceneComponentsMSFT or the runtime failed to deserialized the binary data then GetSceneComputeStateMSFT must return SCENE_COMPUTE_STATE_COMPLETED_WITH_ERROR_MSFT.
XR_MSFT_scene_understanding_serialization extension must be enabled prior to using XrSceneDeserializeInfoMSFTtype must be TYPE_SCENE_DESERIALIZE_INFO_MSFTnext must be NULL or a valid pointer to the next structure in a structure chainfragmentCount is not 0, fragments must be a pointer to an array of fragmentCount valid XrDeserializeSceneFragmentMSFT structuresXrDeserializeSceneFragmentMSFT, DeserializeSceneMSFT
struct XrSceneDeserializeInfoMSFT {
XrStructureType type;
void const * next;
uint32_t fragmentCount;
XrDeserializeSceneFragmentMSFT const * fragments;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSceneDeserializeInfoMSFT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FRAGMENTCOUNT
The struct member offsets. |
| public static final int | FRAGMENTS
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSceneDeserializeInfoMSFT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrSceneDeserializeInfoMSFT | |
| public static XrSceneDeserializeInfoMSFT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneDeserializeInfoMSFT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneDeserializeInfoMSFT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSceneDeserializeInfoMSFT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrSceneDeserializeInfoMSFT | |
| public static XrSceneDeserializeInfoMSFT | create(long address)
Returns a new |
| public static XrSceneDeserializeInfoMSFT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSceneDeserializeInfoMSFT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSceneDeserializeInfoMSFT | |
| public static XrSceneDeserializeInfoMSFT. | |
| public int | |
| public XrSceneDeserializeInfoMSFT | |
| public XrDeserializeSceneFragmentMSFT. | |
| public XrSceneDeserializeInfoMSFT | fragments(XrDeserializeSceneFragmentMSFT.
Sets the address of the specified |
| public static XrSceneDeserializeInfoMSFT | |
| public static XrSceneDeserializeInfoMSFT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneDeserializeInfoMSFT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneDeserializeInfoMSFT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public XrSceneDeserializeInfoMSFT | |
| public static int | |
| public static void | nfragmentCount(long struct, int value)
Sets the specified value to the |
| public static XrDeserializeSceneFragmentMSFT. | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public XrSceneDeserializeInfoMSFT | set(int type, long next, int fragmentCount, XrDeserializeSceneFragmentMSFT.
Initializes this struct with the specified values. |
| public XrSceneDeserializeInfoMSFT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrSceneDeserializeInfoMSFT | |
| public XrSceneDeserializeInfoMSFT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FRAGMENTCOUNT | back to summary |
|---|---|
| public static final int FRAGMENTCOUNT The struct member offsets. | |
| FRAGMENTS | back to summary |
|---|---|
| public static final int FRAGMENTS The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrSceneDeserializeInfoMSFT | back to summary |
|---|---|
| protected XrSceneDeserializeInfoMSFT(long address, ByteBuffer container) | |
| XrSceneDeserializeInfoMSFT | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSceneDeserializeInfoMSFT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT. Like
| |
| fragmentCount | back to summary |
|---|---|
| public int fragmentCount() the count of
| |
| fragmentCount | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT fragmentCount(int value) Sets the specified value to the | |
| fragments | back to summary |
|---|---|
| public XrDeserializeSceneFragmentMSFT. an array of
| |
| fragments | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT fragments(XrDeserializeSceneFragmentMSFT. Sets the address of the specified | |
| malloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneDeserializeInfoMSFT. Returns a new
| |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT next(long value) Sets the specified value to the | |
| nfragmentCount | back to summary |
|---|---|
| public static int nfragmentCount(long struct) Unsafe version of | |
| nfragmentCount | back to summary |
|---|---|
| public static void nfragmentCount(long struct, int value) Sets the specified value to the | |
| nfragments | back to summary |
|---|---|
| public static XrDeserializeSceneFragmentMSFT. Unsafe version of
| |
| nfragments | back to summary |
|---|---|
| public static void nfragments(long struct, XrDeserializeSceneFragmentMSFT. Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static long nnext(long struct) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static void nnext(long struct, long value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT set(int type, long next, int fragmentCount, XrDeserializeSceneFragmentMSFT. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT set(XrSceneDeserializeInfoMSFT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT type$Default() Sets the | |
XrSceneDeserializeInfoMSFT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSceneDeserializeInfoMSFT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public XrSceneDeserializeInfoMSFT. | fragmentCount(int value)
Sets the specified value to the |
| public XrDeserializeSceneFragmentMSFT. | Returns: aXrDeserializeSceneFragmentMSFT. view of the struct array pointed to by the XrSceneDeserializeInfoMSFT#fragments field.
|
| public XrSceneDeserializeInfoMSFT. | fragments(XrDeserializeSceneFragmentMSFT.
Sets the address of the specified |
| protected XrSceneDeserializeInfoMSFT | |
| public long | |
| public XrSceneDeserializeInfoMSFT. | |
| protected XrSceneDeserializeInfoMSFT. | |
| public int | |
| public XrSceneDeserializeInfoMSFT. | |
| public XrSceneDeserializeInfoMSFT. | type$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSceneDeserializeInfoMSFT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| fragmentCount | back to summary |
|---|---|
public int fragmentCount()
| |
| fragmentCount | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT. Sets the specified value to the | |
| fragments | back to summary |
|---|---|
public XrDeserializeSceneFragmentMSFT.
| |
| fragments | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT. Sets the address of the specified | |
| getElementFactory | back to summary |
|---|---|
| protected XrSceneDeserializeInfoMSFT getElementFactory() Implements abstract org.
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrSceneDeserializeInfoMSFT. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSceneDeserializeInfoMSFT. Sets the | |