Package org.lwjgl.openxr
Class XrVulkanInstanceCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrVulkanInstanceCreateInfoKHR,XrVulkanInstanceCreateInfoKHR.Buffer>
-
- org.lwjgl.openxr.XrVulkanInstanceCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrVulkanInstanceCreateInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrVulkanInstanceCreateInfoKHR
public static class XrVulkanInstanceCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<XrVulkanInstanceCreateInfoKHR,XrVulkanInstanceCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrVulkanInstanceCreateInfoKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcreateFlags()XrVulkanInstanceCreateInfoKHR.BuffercreateFlags(long value)Sets the specified value to thecreateFlagsfield.longnext()XrVulkanInstanceCreateInfoKHR.Buffernext(long value)Sets the specified value to thenextfield.longpfnGetInstanceProcAddr()XrVulkanInstanceCreateInfoKHR.BufferpfnGetInstanceProcAddr(long value)Sets the specified value to theXrVulkanInstanceCreateInfoKHR.pfnGetInstanceProcAddr()field.longsystemId()XrVulkanInstanceCreateInfoKHR.BuffersystemId(long value)Sets the specified value to theXrVulkanInstanceCreateInfoKHR.systemId()field.inttype()XrVulkanInstanceCreateInfoKHR.Buffertype(int value)Sets the specified value to thetypefield.XrVulkanInstanceCreateInfoKHR.Buffertype$Default()Sets theTYPE_VULKAN_INSTANCE_CREATE_INFO_KHRvalue to thetypefield.org.lwjgl.vulkan.VkAllocationCallbacksvulkanAllocator()XrVulkanInstanceCreateInfoKHR.BuffervulkanAllocator(org.lwjgl.vulkan.VkAllocationCallbacks value)Sets the address of the specifiedVkAllocationCallbacksto theXrVulkanInstanceCreateInfoKHR.vulkanAllocator()field.org.lwjgl.vulkan.VkInstanceCreateInfovulkanCreateInfo()XrVulkanInstanceCreateInfoKHR.BuffervulkanCreateInfo(org.lwjgl.vulkan.VkInstanceCreateInfo value)Sets the address of the specifiedVkInstanceCreateInfoto theXrVulkanInstanceCreateInfoKHR.vulkanCreateInfo()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrVulkanInstanceCreateInfoKHR.Bufferinstance backed by the specified container. 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 byXrVulkanInstanceCreateInfoKHR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
type
public int type()
- Returns:
- the value of the
typefield.
-
next
public long next()
- Returns:
- the value of the
nextfield.
-
systemId
public long systemId()
- Returns:
- the value of the
XrVulkanInstanceCreateInfoKHR.systemId()field.
-
createFlags
public long createFlags()
- Returns:
- the value of the
createFlagsfield.
-
pfnGetInstanceProcAddr
public long pfnGetInstanceProcAddr()
- Returns:
- the value of the
XrVulkanInstanceCreateInfoKHR.pfnGetInstanceProcAddr()field.
-
vulkanCreateInfo
public org.lwjgl.vulkan.VkInstanceCreateInfo vulkanCreateInfo()
- Returns:
- a
VkInstanceCreateInfoview of the struct pointed to by theXrVulkanInstanceCreateInfoKHR.vulkanCreateInfo()field.
-
vulkanAllocator
@Nullable public org.lwjgl.vulkan.VkAllocationCallbacks vulkanAllocator()
- Returns:
- a
VkAllocationCallbacksview of the struct pointed to by theXrVulkanInstanceCreateInfoKHR.vulkanAllocator()field.
-
type
public XrVulkanInstanceCreateInfoKHR.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrVulkanInstanceCreateInfoKHR.Buffer type$Default()
Sets theTYPE_VULKAN_INSTANCE_CREATE_INFO_KHRvalue to thetypefield.
-
next
public XrVulkanInstanceCreateInfoKHR.Buffer next(long value)
Sets the specified value to thenextfield.
-
systemId
public XrVulkanInstanceCreateInfoKHR.Buffer systemId(long value)
Sets the specified value to theXrVulkanInstanceCreateInfoKHR.systemId()field.
-
createFlags
public XrVulkanInstanceCreateInfoKHR.Buffer createFlags(long value)
Sets the specified value to thecreateFlagsfield.
-
pfnGetInstanceProcAddr
public XrVulkanInstanceCreateInfoKHR.Buffer pfnGetInstanceProcAddr(long value)
Sets the specified value to theXrVulkanInstanceCreateInfoKHR.pfnGetInstanceProcAddr()field.
-
vulkanCreateInfo
public XrVulkanInstanceCreateInfoKHR.Buffer vulkanCreateInfo(org.lwjgl.vulkan.VkInstanceCreateInfo value)
Sets the address of the specifiedVkInstanceCreateInfoto theXrVulkanInstanceCreateInfoKHR.vulkanCreateInfo()field.
-
vulkanAllocator
public XrVulkanInstanceCreateInfoKHR.Buffer vulkanAllocator(@Nullable org.lwjgl.vulkan.VkAllocationCallbacks value)
Sets the address of the specifiedVkAllocationCallbacksto theXrVulkanInstanceCreateInfoKHR.vulkanAllocator()field.
-
-