XR_KHR_vulkan_enable2 extension must be enabled prior to using XrVulkanInstanceCreateInfoKHRtype must be TYPE_VULKAN_INSTANCE_CREATE_INFO_KHRnext must be NULL or a valid pointer to the next structure in a structure chaincreateFlags must be 0pfnGetInstanceProcAddr must be a valid PFN_vkGetInstanceProcAddr valuevulkanCreateInfo must be a pointer to a valid VkInstanceCreateInfo valuevulkanAllocator is not NULL, vulkanAllocator must be a pointer to a valid VkAllocationCallbacks value
struct XrVulkanInstanceCreateInfoKHR {
XrStructureType type;
void const * next;
XrSystemId systemId;
XrVulkanInstanceCreateFlagsKHR createFlags;
PFN_vkGetInstanceProcAddr pfnGetInstanceProcAddr;
VkInstanceCreateInfo const * vulkanCreateInfo;
VkAllocationCallbacks const * vulkanAllocator;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrVulkanInstanceCreateInfoKHR.
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 | PFNGETINSTANCEPROCADDR
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. |
| public static final int | VULKANALLOCATOR
The struct member offsets. |
| public static final int | VULKANCREATEINFO
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrVulkanInstanceCreateInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR | |
| public static XrVulkanInstanceCreateInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrVulkanInstanceCreateInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrVulkanInstanceCreateInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrVulkanInstanceCreateInfoKHR | 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 XrVulkanInstanceCreateInfoKHR | |
| public static XrVulkanInstanceCreateInfoKHR | create(long address)
Returns a new |
| public static XrVulkanInstanceCreateInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static XrVulkanInstanceCreateInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public long | |
| public XrVulkanInstanceCreateInfoKHR | |
| public static XrVulkanInstanceCreateInfoKHR | |
| public static XrVulkanInstanceCreateInfoKHR. | |
| public static XrVulkanInstanceCreateInfoKHR | |
| public static XrVulkanInstanceCreateInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrVulkanInstanceCreateInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrVulkanInstanceCreateInfoKHR. | 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 XrVulkanInstanceCreateInfoKHR | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static VkAllocationCallbacks | |
| public static void | |
| public static VkInstanceCreateInfo | |
| public static void | |
| public long | |
| public XrVulkanInstanceCreateInfoKHR | |
| public XrVulkanInstanceCreateInfoKHR | set(int type, long next, long systemId, long createFlags, long pfnGetInstanceProcAddr, VkInstanceCreateInfo vulkanCreateInfo, VkAllocationCallbacks vulkanAllocator)
Initializes this struct with the specified values. |
| public XrVulkanInstanceCreateInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrVulkanInstanceCreateInfoKHR | |
| public int | |
| public XrVulkanInstanceCreateInfoKHR | |
| public XrVulkanInstanceCreateInfoKHR | |
| public static void | |
| public VkAllocationCallbacks | |
| public XrVulkanInstanceCreateInfoKHR | vulkanAllocator(VkAllocationCallbacks value)
Sets the address of the specified |
| public VkInstanceCreateInfo | |
| public XrVulkanInstanceCreateInfoKHR | vulkanCreateInfo(VkInstanceCreateInfo value)
Sets the address of the specified |
| 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. | |
| PFNGETINSTANCEPROCADDR | back to summary |
|---|---|
| public static final int PFNGETINSTANCEPROCADDR 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. | |
| VULKANALLOCATOR | back to summary |
|---|---|
| public static final int VULKANALLOCATOR The struct member offsets. | |
| VULKANCREATEINFO | back to summary |
|---|---|
| public static final int VULKANCREATEINFO The struct member offsets. | |
| XrVulkanInstanceCreateInfoKHR | back to summary |
|---|---|
| protected XrVulkanInstanceCreateInfoKHR(long address, ByteBuffer container) | |
| XrVulkanInstanceCreateInfoKHR | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrVulkanInstanceCreateInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR. Create a
| |
| createFlags | back to summary |
|---|---|
| public long createFlags() a bitmask of
| |
| createFlags | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR createFlags(long value) Sets the specified value to the | |
| createSafe | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrVulkanInstanceCreateInfoKHR. 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 XrVulkanInstanceCreateInfoKHR next(long value) Sets the specified value to the | |
| 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 | |
| npfnGetInstanceProcAddr | back to summary |
|---|---|
| public static long npfnGetInstanceProcAddr(long struct) Unsafe version of | |
| npfnGetInstanceProcAddr | back to summary |
|---|---|
| public static void npfnGetInstanceProcAddr(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 | |
| nvulkanAllocator | back to summary |
|---|---|
| public static VkAllocationCallbacks nvulkanAllocator(long struct) Unsafe version of
| |
| nvulkanAllocator | back to summary |
|---|---|
| public static void nvulkanAllocator(long struct, VkAllocationCallbacks value) Unsafe version of | |
| nvulkanCreateInfo | back to summary |
|---|---|
| public static VkInstanceCreateInfo nvulkanCreateInfo(long struct) Unsafe version of | |
| nvulkanCreateInfo | back to summary |
|---|---|
| public static void nvulkanCreateInfo(long struct, VkInstanceCreateInfo value) Unsafe version of | |
| pfnGetInstanceProcAddr | back to summary |
|---|---|
| public long pfnGetInstanceProcAddr() a function pointer to
| |
| pfnGetInstanceProcAddr | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR pfnGetInstanceProcAddr(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR set(int type, long next, long systemId, long createFlags, long pfnGetInstanceProcAddr, VkInstanceCreateInfo vulkanCreateInfo, VkAllocationCallbacks vulkanAllocator) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR set(XrVulkanInstanceCreateInfoKHR 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() an
| |
| systemId | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR systemId(long value) Sets the specified value to the | |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR type$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| vulkanAllocator | back to summary |
|---|---|
| public VkAllocationCallbacks vulkanAllocator() the
| |
| vulkanAllocator | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR vulkanAllocator(VkAllocationCallbacks value) Sets the address of the specified | |
| vulkanCreateInfo | back to summary |
|---|---|
| public VkInstanceCreateInfo vulkanCreateInfo() the
| |
| vulkanCreateInfo | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR vulkanCreateInfo(VkInstanceCreateInfo value) Sets the address of the specified | |
XrVulkanInstanceCreateInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrVulkanInstanceCreateInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrVulkanInstanceCreateInfoKHR 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 XrVulkanInstanceCreateInfoKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected XrVulkanInstanceCreateInfoKHR getElementFactory() Implements abstract org.
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR. Sets the specified value to the | |
| pfnGetInstanceProcAddr | back to summary |
|---|---|
public long pfnGetInstanceProcAddr()
| |
| pfnGetInstanceProcAddr | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrVulkanInstanceCreateInfoKHR. Implements abstract org.
| |
| systemId | back to summary |
|---|---|
public long systemId()
| |
| systemId | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR. Sets the specified value to the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR. Sets the | |
| vulkanAllocator | back to summary |
|---|---|
public VkAllocationCallbacks vulkanAllocator()
| |
| vulkanAllocator | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR. Sets the address of the specified | |
| vulkanCreateInfo | back to summary |
|---|---|
public VkInstanceCreateInfo vulkanCreateInfo()
| |
| vulkanCreateInfo | back to summary |
|---|---|
| public XrVulkanInstanceCreateInfoKHR. Sets the address of the specified | |