This structure is used by the GetSpaceRoomLayoutFB function to provide the application with the XrUuidEXT handles representing the various surfaces of a room.
XR_FB_scene extension must be enabled prior to using XrRoomLayoutFBtype must be TYPE_ROOM_LAYOUT_FBnext must be NULL or a valid pointer to the next structure in a structure chainwallUuidCapacityInput is not 0, wallUuids must be a pointer to an array of wallUuidCapacityInput XrUuidEXT structuresXrUuidEXT, GetSpaceRoomLayoutFB
struct XrRoomLayoutFB {
XrStructureType type;
void const * next;
XrUuidEXT floorUuid;
XrUuidEXT ceilingUuid;
uint32_t wallUuidCapacityInput;
uint32_t wallUuidCountOutput;
XrUuidEXT * wallUuids;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrRoomLayoutFB.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CEILINGUUID
The struct member offsets. |
| public static final int | FLOORUUID
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. |
| public static final int | WALLUUIDCAPACITYINPUT
The struct member offsets. |
| public static final int | WALLUUIDCOUNTOUTPUT
The struct member offsets. |
| public static final int | WALLUUIDS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrRoomLayoutFB(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrRoomLayoutFB | |
| public static XrRoomLayoutFB. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrRoomLayoutFB | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrRoomLayoutFB. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public XrUuidEXT | |
| public XrRoomLayoutFB | |
| public XrRoomLayoutFB | |
| protected XrRoomLayoutFB | 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 XrRoomLayoutFB | |
| public static XrRoomLayoutFB | |
| public static XrRoomLayoutFB. | create(int
the buffer capacity capacity)Returns a new |
| public static XrRoomLayoutFB. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrRoomLayoutFB | |
| public static XrRoomLayoutFB. | |
| public XrUuidEXT | |
| public XrRoomLayoutFB | |
| public XrRoomLayoutFB | |
| public static XrRoomLayoutFB | |
| public static XrRoomLayoutFB. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrRoomLayoutFB | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrRoomLayoutFB. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XrUuidEXT | |
| public static void | |
| public long | |
| public XrRoomLayoutFB | |
| public static XrUuidEXT | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nwallUuidCapacityInput(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static XrUuidEXT. | |
| public static void | |
| public XrRoomLayoutFB | |
| public XrRoomLayoutFB | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrRoomLayoutFB | |
| public XrRoomLayoutFB | |
| public int | wallUuidCapacityInput()
the capacity of the |
| public XrRoomLayoutFB | |
| public int | wallUuidCountOutput()
the count of |
| public XrRoomLayoutFB | |
| public XrUuidEXT. | |
| public XrRoomLayoutFB | wallUuids(XrUuidEXT.
Sets the address of the specified |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CEILINGUUID | back to summary |
|---|---|
| public static final int CEILINGUUID The struct member offsets. | |
| FLOORUUID | back to summary |
|---|---|
| public static final int FLOORUUID 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. | |
| WALLUUIDCAPACITYINPUT | back to summary |
|---|---|
| public static final int WALLUUIDCAPACITYINPUT The struct member offsets. | |
| WALLUUIDCOUNTOUTPUT | back to summary |
|---|---|
| public static final int WALLUUIDCOUNTOUTPUT The struct member offsets. | |
| WALLUUIDS | back to summary |
|---|---|
| public static final int WALLUUIDS The struct member offsets. | |
| XrRoomLayoutFB | back to summary |
|---|---|
| protected XrRoomLayoutFB(long address, ByteBuffer container) | |
| XrRoomLayoutFB | back to summary |
|---|---|
| public XrRoomLayoutFB(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrRoomLayoutFB calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrRoomLayoutFB. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrRoomLayoutFB calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrRoomLayoutFB. Returns a new
| |
| ceilingUuid | back to summary |
|---|---|
| public XrUuidEXT ceilingUuid() the UUID of the spatial entity representing the room ceiling | |
| ceilingUuid | back to summary |
|---|---|
| public XrRoomLayoutFB ceilingUuid(XrUuidEXT value) Copies the specified | |
| ceilingUuid | back to summary |
|---|---|
| public XrRoomLayoutFB ceilingUuid(Consumer<XrUuidEXT> consumer) Passes the | |
| create | back to summary |
|---|---|
| protected XrRoomLayoutFB create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrRoomLayoutFB create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrRoomLayoutFB create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrRoomLayoutFB. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrRoomLayoutFB. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrRoomLayoutFB createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrRoomLayoutFB. Like
| |
| floorUuid | back to summary |
|---|---|
| public XrUuidEXT floorUuid() the UUID of the spatial entity representing the room floor | |
| floorUuid | back to summary |
|---|---|
| public XrRoomLayoutFB floorUuid(XrUuidEXT value) | |
| floorUuid | back to summary |
|---|---|
| public XrRoomLayoutFB floorUuid(Consumer<XrUuidEXT> consumer) | |
| malloc | back to summary |
|---|---|
| public static XrRoomLayoutFB malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrRoomLayoutFB. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrRoomLayoutFB malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrRoomLayoutFB. Returns a new
| |
| nceilingUuid | back to summary |
|---|---|
| public static XrUuidEXT nceilingUuid(long struct) Unsafe version of | |
| nceilingUuid | back to summary |
|---|---|
| public static void nceilingUuid(long struct, XrUuidEXT value) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrRoomLayoutFB next(long value) Sets the specified value to the | |
| nfloorUuid | back to summary |
|---|---|
| public static XrUuidEXT nfloorUuid(long struct) Unsafe version of | |
| nfloorUuid | back to summary |
|---|---|
| public static void nfloorUuid(long struct, XrUuidEXT value) 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 | |
| nwallUuidCapacityInput | back to summary |
|---|---|
| public static int nwallUuidCapacityInput(long struct) Unsafe version of | |
| nwallUuidCapacityInput | back to summary |
|---|---|
| public static void nwallUuidCapacityInput(long struct, int value) Sets the specified value to the | |
| nwallUuidCountOutput | back to summary |
|---|---|
| public static int nwallUuidCountOutput(long struct) Unsafe version of | |
| nwallUuidCountOutput | back to summary |
|---|---|
| public static void nwallUuidCountOutput(long struct, int value) Unsafe version of | |
| nwallUuids | back to summary |
|---|---|
| public static XrUuidEXT. Unsafe version of
| |
| nwallUuids | back to summary |
|---|---|
| public static void nwallUuids(long struct, XrUuidEXT. Unsafe version of | |
| set | back to summary |
|---|---|
| public XrRoomLayoutFB set(int type, long next, XrUuidEXT floorUuid, XrUuidEXT ceilingUuid, int wallUuidCapacityInput, int wallUuidCountOutput, XrUuidEXT. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrRoomLayoutFB set(XrRoomLayoutFB 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 XrRoomLayoutFB type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrRoomLayoutFB type$Default() Sets the | |
| wallUuidCapacityInput | back to summary |
|---|---|
| public int wallUuidCapacityInput() the capacity of the
| |
| wallUuidCapacityInput | back to summary |
|---|---|
| public XrRoomLayoutFB wallUuidCapacityInput(int value) Sets the specified value to the | |
| wallUuidCountOutput | back to summary |
|---|---|
| public int wallUuidCountOutput() the count of
| |
| wallUuidCountOutput | back to summary |
|---|---|
| public XrRoomLayoutFB wallUuidCountOutput(int value) Sets the specified value to the | |
| wallUuids | back to summary |
|---|---|
| public XrUuidEXT. a pointer to an array of
| |
| wallUuids | back to summary |
|---|---|
| public XrRoomLayoutFB wallUuids(XrUuidEXT. Sets the address of the specified | |
XrRoomLayoutFB structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrRoomLayoutFB |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrRoomLayoutFB 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) | |
| ceilingUuid | back to summary |
|---|---|
public XrUuidEXT ceilingUuid()
| |
| ceilingUuid | back to summary |
|---|---|
| public XrRoomLayoutFB. Copies the specified | |
| ceilingUuid | back to summary |
|---|---|
| public XrRoomLayoutFB. Passes the | |
| floorUuid | back to summary |
|---|---|
public XrUuidEXT floorUuid()
| |
| floorUuid | back to summary |
|---|---|
| public XrRoomLayoutFB. Copies the specified | |
| floorUuid | back to summary |
|---|---|
| public XrRoomLayoutFB. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected XrRoomLayoutFB getElementFactory() Implements abstract org.
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrRoomLayoutFB. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrRoomLayoutFB. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrRoomLayoutFB. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrRoomLayoutFB. Sets the | |
| wallUuidCapacityInput | back to summary |
|---|---|
public int wallUuidCapacityInput()
| |
| wallUuidCapacityInput | back to summary |
|---|---|
| public XrRoomLayoutFB. Sets the specified value to the | |
| wallUuidCountOutput | back to summary |
|---|---|
public int wallUuidCountOutput()
| |
| wallUuidCountOutput | back to summary |
|---|---|
| public XrRoomLayoutFB. Sets the specified value to the | |
| wallUuids | back to summary |
|---|---|
public XrUuidEXT.
| |
| wallUuids | back to summary |
|---|---|
| public XrRoomLayoutFB. Sets the address of the specified | |