XR_MSFT_scene_understanding extension must be enabled prior to using XrSceneBoundsMSFTspace must be a valid XrSpace handlesphereCount is not 0, spheres must be a pointer to an array of sphereCount XrSceneSphereBoundMSFT structuresboxCount is not 0, boxes must be a pointer to an array of boxCount XrSceneOrientedBoxBoundMSFT structuresfrustumCount is not 0, frustums must be a pointer to an array of frustumCount XrSceneFrustumBoundMSFT structuresXrNewSceneComputeInfoMSFT, XrSceneFrustumBoundMSFT, XrSceneOrientedBoxBoundMSFT, XrSceneSphereBoundMSFT, ComputeNewSceneMSFT
struct XrSceneBoundsMSFT {
XrSpace space;
XrTime time;
uint32_t sphereCount;
XrSceneSphereBoundMSFT const * spheres;
uint32_t boxCount;
XrSceneOrientedBoxBoundMSFT const * boxes;
uint32_t frustumCount;
XrSceneFrustumBoundMSFT const * frustums;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSceneBoundsMSFT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BOXCOUNT
The struct member offsets. |
| public static final int | BOXES
The struct member offsets. |
| public static final int | FRUSTUMCOUNT
The struct member offsets. |
| public static final int | FRUSTUMS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPACE
The struct member offsets. |
| public static final int | SPHERECOUNT
The struct member offsets. |
| public static final int | SPHERES
The struct member offsets. |
| public static final int | TIME
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSceneBoundsMSFT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public XrSceneBoundsMSFT | |
| public XrSceneOrientedBoxBoundMSFT. | |
| public XrSceneBoundsMSFT | boxes(XrSceneOrientedBoxBoundMSFT.
Sets the address of the specified |
| public static XrSceneBoundsMSFT | |
| public static XrSceneBoundsMSFT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneBoundsMSFT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneBoundsMSFT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSceneBoundsMSFT | 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 XrSceneBoundsMSFT | |
| public static XrSceneBoundsMSFT | |
| public static XrSceneBoundsMSFT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSceneBoundsMSFT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSceneBoundsMSFT | |
| public static XrSceneBoundsMSFT. | |
| public int | |
| public XrSceneBoundsMSFT | |
| public XrSceneFrustumBoundMSFT. | |
| public XrSceneBoundsMSFT | frustums(XrSceneFrustumBoundMSFT.
Sets the address of the specified |
| public static XrSceneBoundsMSFT | |
| public static XrSceneBoundsMSFT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneBoundsMSFT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneBoundsMSFT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | nboxCount(long struct, int value)
Sets the specified value to the |
| public static XrSceneOrientedBoxBoundMSFT. | |
| public static void | |
| public static int | |
| public static void | nfrustumCount(long struct, int value)
Sets the specified value to the |
| public static XrSceneFrustumBoundMSFT. | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | nsphereCount(long struct, int value)
Sets the specified value to the |
| public static XrSceneSphereBoundMSFT. | |
| public static void | |
| public static long | |
| public static void | |
| public XrSceneBoundsMSFT | set(XrSpace space, long time, int sphereCount, XrSceneSphereBoundMSFT.
Initializes this struct with the specified values. |
| public XrSceneBoundsMSFT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrSceneBoundsMSFT | |
| public int | |
| public XrSceneBoundsMSFT | |
| public XrSceneSphereBoundMSFT. | |
| public XrSceneBoundsMSFT | spheres(XrSceneSphereBoundMSFT.
Sets the address of the specified |
| public long | |
| public XrSceneBoundsMSFT | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BOXCOUNT | back to summary |
|---|---|
| public static final int BOXCOUNT The struct member offsets. | |
| BOXES | back to summary |
|---|---|
| public static final int BOXES The struct member offsets. | |
| FRUSTUMCOUNT | back to summary |
|---|---|
| public static final int FRUSTUMCOUNT The struct member offsets. | |
| FRUSTUMS | back to summary |
|---|---|
| public static final int FRUSTUMS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SPACE | back to summary |
|---|---|
| public static final int SPACE The struct member offsets. | |
| SPHERECOUNT | back to summary |
|---|---|
| public static final int SPHERECOUNT The struct member offsets. | |
| SPHERES | back to summary |
|---|---|
| public static final int SPHERES The struct member offsets. | |
| TIME | back to summary |
|---|---|
| public static final int TIME The struct member offsets. | |
| XrSceneBoundsMSFT | back to summary |
|---|---|
| protected XrSceneBoundsMSFT(long address, ByteBuffer container) | |
| XrSceneBoundsMSFT | back to summary |
|---|---|
| public XrSceneBoundsMSFT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| boxCount | back to summary |
|---|---|
| public int boxCount() the number of oriented box bounds.
| |
| boxCount | back to summary |
|---|---|
| public XrSceneBoundsMSFT boxCount(int value) Sets the specified value to the | |
| boxes | back to summary |
|---|---|
| public XrSceneOrientedBoxBoundMSFT. an array of
| |
| boxes | back to summary |
|---|---|
| public XrSceneBoundsMSFT boxes(XrSceneOrientedBoxBoundMSFT. Sets the address of the specified | |
| calloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSceneBoundsMSFT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSceneBoundsMSFT create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneBoundsMSFT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneBoundsMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSceneBoundsMSFT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneBoundsMSFT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneBoundsMSFT. Like
| |
| frustumCount | back to summary |
|---|---|
| public int frustumCount() the number of frustum bounds.
| |
| frustumCount | back to summary |
|---|---|
| public XrSceneBoundsMSFT frustumCount(int value) Sets the specified value to the | |
| frustums | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT. an array of
| |
| frustums | back to summary |
|---|---|
| public XrSceneBoundsMSFT frustums(XrSceneFrustumBoundMSFT. Sets the address of the specified | |
| malloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneBoundsMSFT. Returns a new
| |
| nboxCount | back to summary |
|---|---|
| public static int nboxCount(long struct) Unsafe version of | |
| nboxCount | back to summary |
|---|---|
| public static void nboxCount(long struct, int value) Sets the specified value to the | |
| nboxes | back to summary |
|---|---|
| public static XrSceneOrientedBoxBoundMSFT. Unsafe version of
| |
| nboxes | back to summary |
|---|---|
| public static void nboxes(long struct, XrSceneOrientedBoxBoundMSFT. Unsafe version of | |
| nfrustumCount | back to summary |
|---|---|
| public static int nfrustumCount(long struct) Unsafe version of | |
| nfrustumCount | back to summary |
|---|---|
| public static void nfrustumCount(long struct, int value) Sets the specified value to the | |
| nfrustums | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Unsafe version of
| |
| nfrustums | back to summary |
|---|---|
| public static void nfrustums(long struct, XrSceneFrustumBoundMSFT. Unsafe version of | |
| nspace | back to summary |
|---|---|
| public static long nspace(long struct) Unsafe version of | |
| nspace | back to summary |
|---|---|
| public static void nspace(long struct, XrSpace value) Unsafe version of | |
| nsphereCount | back to summary |
|---|---|
| public static int nsphereCount(long struct) Unsafe version of | |
| nsphereCount | back to summary |
|---|---|
| public static void nsphereCount(long struct, int value) Sets the specified value to the | |
| nspheres | back to summary |
|---|---|
| public static XrSceneSphereBoundMSFT. Unsafe version of
| |
| nspheres | back to summary |
|---|---|
| public static void nspheres(long struct, XrSceneSphereBoundMSFT. Unsafe version of | |
| ntime | back to summary |
|---|---|
| public static long ntime(long struct) Unsafe version of | |
| ntime | back to summary |
|---|---|
| public static void ntime(long struct, long value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrSceneBoundsMSFT set(XrSpace space, long time, int sphereCount, XrSceneSphereBoundMSFT. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSceneBoundsMSFT set(XrSceneBoundsMSFT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| space | back to summary |
|---|---|
| public long space() a handle to the
| |
| space | back to summary |
|---|---|
| public XrSceneBoundsMSFT space(XrSpace value) Sets the specified value to the | |
| sphereCount | back to summary |
|---|---|
| public int sphereCount() the number of sphere bounds.
| |
| sphereCount | back to summary |
|---|---|
| public XrSceneBoundsMSFT sphereCount(int value) Sets the specified value to the | |
| spheres | back to summary |
|---|---|
| public XrSceneSphereBoundMSFT. an array of
| |
| spheres | back to summary |
|---|---|
| public XrSceneBoundsMSFT spheres(XrSceneSphereBoundMSFT. Sets the address of the specified | |
| time | back to summary |
|---|---|
| public long time() the
| |
| time | back to summary |
|---|---|
| public XrSceneBoundsMSFT time(long value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
XrSceneBoundsMSFT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSceneBoundsMSFT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSceneBoundsMSFT 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) | |
| boxCount | back to summary |
|---|---|
public int boxCount()
| |
| boxCount | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the specified value to the | |
| boxes | back to summary |
|---|---|
public XrSceneOrientedBoxBoundMSFT.
| |
| boxes | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the address of the specified | |
| frustumCount | back to summary |
|---|---|
public int frustumCount()
| |
| frustumCount | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the specified value to the | |
| frustums | back to summary |
|---|---|
public XrSceneFrustumBoundMSFT.
| |
| frustums | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the address of the specified | |
| getElementFactory | back to summary |
|---|---|
| protected XrSceneBoundsMSFT getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected XrSceneBoundsMSFT. Implements abstract org.
| |
| space | back to summary |
|---|---|
public long space()
| |
| space | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the specified value to the | |
| sphereCount | back to summary |
|---|---|
public int sphereCount()
| |
| sphereCount | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the specified value to the | |
| spheres | back to summary |
|---|---|
public XrSceneSphereBoundMSFT.
| |
| spheres | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the address of the specified | |
| time | back to summary |
|---|---|
public long time()
| |
| time | back to summary |
|---|---|
| public XrSceneBoundsMSFT. Sets the specified value to the | |