XR_MSFT_scene_understanding extension must be enabled prior to using XrSceneMeshMSFT
struct XrSceneMeshMSFT {
uint64_t meshBufferId;
XrBool32 supportsIndicesUint16;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSceneMeshMSFT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MESHBUFFERID
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUPPORTSINDICESUINT16
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSceneMeshMSFT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrSceneMeshMSFT | |
| public static XrSceneMeshMSFT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneMeshMSFT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneMeshMSFT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSceneMeshMSFT | 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 XrSceneMeshMSFT | |
| public static XrSceneMeshMSFT | |
| public static XrSceneMeshMSFT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSceneMeshMSFT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSceneMeshMSFT | |
| public static XrSceneMeshMSFT. | |
| public static XrSceneMeshMSFT | |
| public static XrSceneMeshMSFT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneMeshMSFT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneMeshMSFT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public XrSceneMeshMSFT | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public XrSceneMeshMSFT | set(long meshBufferId, boolean supportsIndicesUint16)
Initializes this struct with the specified values. |
| public XrSceneMeshMSFT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public boolean | |
| public XrSceneMeshMSFT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MESHBUFFERID | back to summary |
|---|---|
| public static final int MESHBUFFERID The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUPPORTSINDICESUINT16 | back to summary |
|---|---|
| public static final int SUPPORTSINDICESUINT16 The struct member offsets. | |
| XrSceneMeshMSFT | back to summary |
|---|---|
| protected XrSceneMeshMSFT(long address, ByteBuffer container) | |
| XrSceneMeshMSFT | back to summary |
|---|---|
| public XrSceneMeshMSFT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSceneMeshMSFT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSceneMeshMSFT create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneMeshMSFT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneMeshMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSceneMeshMSFT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneMeshMSFT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneMeshMSFT. Like
| |
| malloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneMeshMSFT. Returns a new
| |
| meshBufferId | back to summary |
|---|---|
| public long meshBufferId() the
| |
| meshBufferId | back to summary |
|---|---|
| public XrSceneMeshMSFT meshBufferId(long value) Sets the specified value to the | |
| nmeshBufferId | back to summary |
|---|---|
| public static long nmeshBufferId(long struct) Unsafe version of | |
| nmeshBufferId | back to summary |
|---|---|
| public static void nmeshBufferId(long struct, long value) Unsafe version of | |
| nsupportsIndicesUint16 | back to summary |
|---|---|
| public static int nsupportsIndicesUint16(long struct) Unsafe version of | |
| nsupportsIndicesUint16 | back to summary |
|---|---|
| public static void nsupportsIndicesUint16(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrSceneMeshMSFT set(long meshBufferId, boolean supportsIndicesUint16) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSceneMeshMSFT set(XrSceneMeshMSFT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| supportsIndicesUint16 | back to summary |
|---|---|
| public boolean supportsIndicesUint16()
| |
| supportsIndicesUint16 | back to summary |
|---|---|
| public XrSceneMeshMSFT supportsIndicesUint16(boolean value) Sets the specified value to the | |
XrSceneMeshMSFT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSceneMeshMSFT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XrSceneMeshMSFT | |
| public long | |
| public XrSceneMeshMSFT. | |
| protected XrSceneMeshMSFT. | |
| public boolean | |
| public XrSceneMeshMSFT. | supportsIndicesUint16(boolean value)
Sets the specified value to the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSceneMeshMSFT 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) | |
| getElementFactory | back to summary |
|---|---|
| protected XrSceneMeshMSFT getElementFactory() Implements abstract org.
| |
| meshBufferId | back to summary |
|---|---|
public long meshBufferId()
| |
| meshBufferId | back to summary |
|---|---|
| public XrSceneMeshMSFT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrSceneMeshMSFT. Implements abstract org.
| |
| supportsIndicesUint16 | back to summary |
|---|---|
public boolean supportsIndicesUint16()
| |
| supportsIndicesUint16 | back to summary |
|---|---|
| public XrSceneMeshMSFT. Sets the specified value to the | |