type must be TYPE_INSTANCE_CREATE_INFOnext must be NULL or a valid pointer to the next structure in a structure chain. See also: XrDebugUtilsMessengerCreateInfoEXTcreateFlags must be 0applicationInfo must be a valid XrApplicationInfo structureenabledApiLayerCount is not 0, enabledApiLayerNames must be a pointer to an array of enabledApiLayerCount null-terminated UTF-8 stringsenabledExtensionCount is not 0, enabledExtensionNames must be a pointer to an array of enabledExtensionCount null-terminated UTF-8 stringsXrApplicationInfo, CreateInstance
struct XrInstanceCreateInfo {
XrStructureType type;
void const * next;
XrInstanceCreateFlags createFlags;
XrApplicationInfo applicationInfo;
uint32_t enabledApiLayerCount;
char const * const * enabledApiLayerNames;
uint32_t enabledExtensionCount;
char const * const * enabledExtensionNames;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrInstanceCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | APPLICATIONINFO
The struct member offsets. |
| public static final int | CREATEFLAGS
The struct member offsets. |
| public static final int | ENABLEDAPILAYERCOUNT
The struct member offsets. |
| public static final int | ENABLEDAPILAYERNAMES
The struct member offsets. |
| public static final int | ENABLEDEXTENSIONCOUNT
The struct member offsets. |
| public static final int | ENABLEDEXTENSIONNAMES
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 | XrInstanceCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public XrApplicationInfo | |
| public XrInstanceCreateInfo | applicationInfo(XrApplicationInfo value)
Copies the specified |
| public XrInstanceCreateInfo | applicationInfo(Consumer<XrApplicationInfo> consumer)
Passes the |
| public static XrInstanceCreateInfo | |
| public static XrInstanceCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrInstanceCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrInstanceCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrInstanceCreateInfo | 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 XrInstanceCreateInfo | |
| public static XrInstanceCreateInfo | |
| public static XrInstanceCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static XrInstanceCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public long | |
| public XrInstanceCreateInfo | |
| public static XrInstanceCreateInfo | |
| public static XrInstanceCreateInfo. | |
| public int | |
| public PointerBuffer | enabledApiLayerNames()
a pointer to an array of |
| public XrInstanceCreateInfo | enabledApiLayerNames(PointerBuffer value)
Sets the address of the specified |
| public int | |
| public PointerBuffer | enabledExtensionNames()
a pointer to an array of |
| public XrInstanceCreateInfo | enabledExtensionNames(PointerBuffer value)
Sets the address of the specified |
| public static XrInstanceCreateInfo | |
| public static XrInstanceCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrInstanceCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrInstanceCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XrApplicationInfo | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | nenabledApiLayerCount(long struct, int value)
Sets the specified value to the |
| public static PointerBuffer | |
| public static void | |
| public static int | |
| public static void | nenabledExtensionCount(long struct, int value)
Sets the specified value to the |
| public static PointerBuffer | |
| public static void | |
| public long | |
| public XrInstanceCreateInfo | |
| public XrInstanceCreateInfo | next(XrDebugUtilsMessengerCreateInfoEXT value)
Prepends the specified |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public XrInstanceCreateInfo | set(int type, long next, long createFlags, XrApplicationInfo applicationInfo, PointerBuffer enabledApiLayerNames, PointerBuffer enabledExtensionNames)
Initializes this struct with the specified values. |
| public XrInstanceCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrInstanceCreateInfo | |
| public XrInstanceCreateInfo | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| APPLICATIONINFO | back to summary |
|---|---|
| public static final int APPLICATIONINFO The struct member offsets. | |
| CREATEFLAGS | back to summary |
|---|---|
| public static final int CREATEFLAGS The struct member offsets. | |
| ENABLEDAPILAYERCOUNT | back to summary |
|---|---|
| public static final int ENABLEDAPILAYERCOUNT The struct member offsets. | |
| ENABLEDAPILAYERNAMES | back to summary |
|---|---|
| public static final int ENABLEDAPILAYERNAMES The struct member offsets. | |
| ENABLEDEXTENSIONCOUNT | back to summary |
|---|---|
| public static final int ENABLEDEXTENSIONCOUNT The struct member offsets. | |
| ENABLEDEXTENSIONNAMES | back to summary |
|---|---|
| public static final int ENABLEDEXTENSIONNAMES 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. | |
| XrInstanceCreateInfo | back to summary |
|---|---|
| protected XrInstanceCreateInfo(long address, ByteBuffer container) | |
| XrInstanceCreateInfo | back to summary |
|---|---|
| public XrInstanceCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| applicationInfo | back to summary |
|---|---|
| public XrApplicationInfo applicationInfo() an instance of | |
| applicationInfo | back to summary |
|---|---|
| public XrInstanceCreateInfo applicationInfo(XrApplicationInfo value) Copies the specified | |
| applicationInfo | back to summary |
|---|---|
| public XrInstanceCreateInfo applicationInfo(Consumer<XrApplicationInfo> consumer) Passes the | |
| calloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrInstanceCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrInstanceCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrInstanceCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrInstanceCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrInstanceCreateInfo. Create a
| |
| createFlags | back to summary |
|---|---|
| public long createFlags() a bitmask of
| |
| createFlags | back to summary |
|---|---|
| public XrInstanceCreateInfo createFlags(long value) Sets the specified value to the | |
| createSafe | back to summary |
|---|---|
| public static XrInstanceCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrInstanceCreateInfo. Like
| |
| enabledApiLayerCount | back to summary |
|---|---|
| public int enabledApiLayerCount() the number of global API layers to enable.
| |
| enabledApiLayerNames | back to summary |
|---|---|
| public PointerBuffer enabledApiLayerNames() a pointer to an array of
| |
| enabledApiLayerNames | back to summary |
|---|---|
| public XrInstanceCreateInfo enabledApiLayerNames(PointerBuffer value) Sets the address of the specified | |
| enabledExtensionCount | back to summary |
|---|---|
| public int enabledExtensionCount() the number of global extensions to enable.
| |
| enabledExtensionNames | back to summary |
|---|---|
| public PointerBuffer enabledExtensionNames() a pointer to an array of
| |
| enabledExtensionNames | back to summary |
|---|---|
| public XrInstanceCreateInfo enabledExtensionNames(PointerBuffer value) Sets the address of the specified | |
| malloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrInstanceCreateInfo. Returns a new
| |
| napplicationInfo | back to summary |
|---|---|
| public static XrApplicationInfo napplicationInfo(long struct) Unsafe version of | |
| napplicationInfo | back to summary |
|---|---|
| public static void napplicationInfo(long struct, XrApplicationInfo value) Unsafe version of | |
| 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 | |
| nenabledApiLayerCount | back to summary |
|---|---|
| public static int nenabledApiLayerCount(long struct) Unsafe version of | |
| nenabledApiLayerCount | back to summary |
|---|---|
| public static void nenabledApiLayerCount(long struct, int value) Sets the specified value to the | |
| nenabledApiLayerNames | back to summary |
|---|---|
| public static PointerBuffer nenabledApiLayerNames(long struct) Unsafe version of
| |
| nenabledApiLayerNames | back to summary |
|---|---|
| public static void nenabledApiLayerNames(long struct, PointerBuffer value) Unsafe version of | |
| nenabledExtensionCount | back to summary |
|---|---|
| public static int nenabledExtensionCount(long struct) Unsafe version of | |
| nenabledExtensionCount | back to summary |
|---|---|
| public static void nenabledExtensionCount(long struct, int value) Sets the specified value to the | |
| nenabledExtensionNames | back to summary |
|---|---|
| public static PointerBuffer nenabledExtensionNames(long struct) Unsafe version of
| |
| nenabledExtensionNames | back to summary |
|---|---|
| public static void nenabledExtensionNames(long struct, PointerBuffer value) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrInstanceCreateInfo next(long value) Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrInstanceCreateInfo next(XrDebugUtilsMessengerCreateInfoEXT 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 | |
| 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 XrInstanceCreateInfo set(int type, long next, long createFlags, XrApplicationInfo applicationInfo, PointerBuffer enabledApiLayerNames, PointerBuffer enabledExtensionNames) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrInstanceCreateInfo set(XrInstanceCreateInfo 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 XrInstanceCreateInfo type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrInstanceCreateInfo type$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
XrInstanceCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrInstanceCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrInstanceCreateInfo 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) | |
| applicationInfo | back to summary |
|---|---|
public XrApplicationInfo applicationInfo()
| |
| applicationInfo | back to summary |
|---|---|
| public XrInstanceCreateInfo. Copies the specified | |
| applicationInfo | back to summary |
|---|---|
| public XrInstanceCreateInfo. Passes the | |
| createFlags | back to summary |
|---|---|
public long createFlags()
| |
| createFlags | back to summary |
|---|---|
| public XrInstanceCreateInfo. Sets the specified value to the | |
| enabledApiLayerCount | back to summary |
|---|---|
public int enabledApiLayerCount()
| |
| enabledApiLayerNames | back to summary |
|---|---|
public PointerBuffer enabledApiLayerNames()
| |
| enabledApiLayerNames | back to summary |
|---|---|
| public XrInstanceCreateInfo. Sets the address of the specified | |
| enabledExtensionCount | back to summary |
|---|---|
public int enabledExtensionCount()
| |
| enabledExtensionNames | back to summary |
|---|---|
public PointerBuffer enabledExtensionNames()
| |
| enabledExtensionNames | back to summary |
|---|---|
| public XrInstanceCreateInfo. Sets the address of the specified | |
| getElementFactory | back to summary |
|---|---|
| protected XrInstanceCreateInfo getElementFactory() Implements abstract org.
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrInstanceCreateInfo. Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrInstanceCreateInfo. Prepends the specified | |
| self | back to summary |
|---|---|
| protected XrInstanceCreateInfo. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrInstanceCreateInfo. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrInstanceCreateInfo. Sets the | |