systemId must be a valid XrSystemId or ERROR_SYSTEM_INVALID must be returned.next, unless otherwise specified via an extension, must contain exactly one graphics API binding structure (a structure whose name begins with “XrGraphicsBinding”) or ERROR_GRAPHICS_DEVICE_INVALID must be returned.type must be TYPE_SESSION_CREATE_INFOnext must be NULL or a valid pointer to the next structure in a structure chain. See also: XrGraphicsBindingEGLMNDX, XrGraphicsBindingOpenGLWaylandKHR, XrGraphicsBindingOpenGLWin32KHR, XrGraphicsBindingOpenGLXcbKHR, XrGraphicsBindingOpenGLXlibKHR, XrGraphicsBindingVulkanKHR, XrHolographicWindowAttachmentMSFT, XrSessionCreateInfoOverlayEXTXcreateFlags must be 0
struct XrSessionCreateInfo {
XrStructureType type;
void const * next;
XrSessionCreateFlags createFlags;
XrSystemId systemId;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSessionCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CREATEFLAGS
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 | SYSTEMID
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSessionCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrSessionCreateInfo | |
| public static XrSessionCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSessionCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSessionCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSessionCreateInfo | 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 XrSessionCreateInfo | |
| public static XrSessionCreateInfo | |
| public static XrSessionCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSessionCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public long | |
| public XrSessionCreateInfo | |
| public static XrSessionCreateInfo | |
| public static XrSessionCreateInfo. | |
| public static XrSessionCreateInfo | |
| public static XrSessionCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSessionCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSessionCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public long | |
| public XrSessionCreateInfo | |
| public XrSessionCreateInfo | next(XrGraphicsBindingEGLMNDX value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrGraphicsBindingOpenGLWaylandKHR value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrGraphicsBindingOpenGLWin32KHR value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrGraphicsBindingOpenGLXcbKHR value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrGraphicsBindingOpenGLXlibKHR value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrGraphicsBindingVulkan2KHR value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrGraphicsBindingVulkanKHR value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrHolographicWindowAttachmentMSFT value)
Prepends the specified |
| public XrSessionCreateInfo | next(XrSessionCreateInfoOverlayEXTX value)
Prepends the specified |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public XrSessionCreateInfo | set(int type, long next, long createFlags, long systemId)
Initializes this struct with the specified values. |
| public XrSessionCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrSessionCreateInfo | |
| public int | |
| public XrSessionCreateInfo | |
| public XrSessionCreateInfo |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CREATEFLAGS | back to summary |
|---|---|
| public static final int CREATEFLAGS 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. | |
| SYSTEMID | back to summary |
|---|---|
| public static final int SYSTEMID The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrSessionCreateInfo | back to summary |
|---|---|
| protected XrSessionCreateInfo(long address, ByteBuffer container) | |
| XrSessionCreateInfo | back to summary |
|---|---|
| public XrSessionCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrSessionCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSessionCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSessionCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSessionCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSessionCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSessionCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSessionCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSessionCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSessionCreateInfo. Create a
| |
| createFlags | back to summary |
|---|---|
| public long createFlags() identifies
| |
| createFlags | back to summary |
|---|---|
| public XrSessionCreateInfo createFlags(long value) Sets the specified value to the | |
| createSafe | back to summary |
|---|---|
| public static XrSessionCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSessionCreateInfo. Like
| |
| malloc | back to summary |
|---|---|
| public static XrSessionCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSessionCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSessionCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSessionCreateInfo. Returns a new
| |
| ncreateFlags | back to summary |
|---|---|
| public static long ncreateFlags(long struct) Unsafe version of | |
| ncreateFlags | back to summary |
|---|---|
| public static void ncreateFlags(long struct, long value) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(long value) Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrGraphicsBindingEGLMNDX value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrGraphicsBindingOpenGLWaylandKHR value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrGraphicsBindingOpenGLWin32KHR value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrGraphicsBindingOpenGLXcbKHR value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrGraphicsBindingOpenGLXlibKHR value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrGraphicsBindingVulkan2KHR value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrGraphicsBindingVulkanKHR value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrHolographicWindowAttachmentMSFT value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo next(XrSessionCreateInfoOverlayEXTX value) Prepends the specified | |
| 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 | |
| nsystemId | back to summary |
|---|---|
| public static long nsystemId(long struct) Unsafe version of | |
| nsystemId | back to summary |
|---|---|
| public static void nsystemId(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 XrSessionCreateInfo set(int type, long next, long createFlags, long systemId) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSessionCreateInfo set(XrSessionCreateInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| systemId | back to summary |
|---|---|
| public long systemId() the
| |
| systemId | back to summary |
|---|---|
| public XrSessionCreateInfo systemId(long value) Sets the specified value to the | |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrSessionCreateInfo type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSessionCreateInfo type$Default() Sets the | |
XrSessionCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSessionCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSessionCreateInfo 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) | |
| createFlags | back to summary |
|---|---|
public long createFlags()
| |
| createFlags | back to summary |
|---|---|
| public XrSessionCreateInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected XrSessionCreateInfo getElementFactory() Implements abstract org.
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrSessionCreateInfo. Prepends the specified | |
| self | back to summary |
|---|---|
| protected XrSessionCreateInfo. Implements abstract org.
| |
| systemId | back to summary |
|---|---|
public long systemId()
| |
| systemId | back to summary |
|---|---|
| public XrSessionCreateInfo. Sets the specified value to the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrSessionCreateInfo. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSessionCreateInfo. Sets the | |