Package org.lwjgl.openxr
Class XrGraphicsBindingVulkanKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrGraphicsBindingVulkanKHR,XrGraphicsBindingVulkanKHR.Buffer>
-
- org.lwjgl.openxr.XrGraphicsBindingVulkanKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrGraphicsBindingVulkanKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
XrGraphicsBindingVulkan2KHR.Buffer
- Enclosing class:
- XrGraphicsBindingVulkanKHR
public static class XrGraphicsBindingVulkanKHR.Buffer extends org.lwjgl.system.StructBuffer<XrGraphicsBindingVulkanKHR,XrGraphicsBindingVulkanKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrGraphicsBindingVulkanKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrGraphicsBindingVulkanKHR.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 byXrGraphicsBindingVulkanKHR.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
XrGraphicsBindingVulkanKHR.type()field.
-
next
public long next()
- Returns:
- the value of the
XrGraphicsBindingVulkanKHR.next()field.
-
instance
public long instance()
- Returns:
- the value of the
XrGraphicsBindingVulkanKHR.instance()field.
-
physicalDevice
public long physicalDevice()
- Returns:
- the value of the
XrGraphicsBindingVulkanKHR.physicalDevice()field.
-
device
public long device()
- Returns:
- the value of the
XrGraphicsBindingVulkanKHR.device()field.
-
queueFamilyIndex
public int queueFamilyIndex()
- Returns:
- the value of the
XrGraphicsBindingVulkanKHR.queueFamilyIndex()field.
-
queueIndex
public int queueIndex()
- Returns:
- the value of the
XrGraphicsBindingVulkanKHR.queueIndex()field.
-
type
public XrGraphicsBindingVulkanKHR.Buffer type(int value)
Sets the specified value to theXrGraphicsBindingVulkanKHR.type()field.
-
type$Default
public XrGraphicsBindingVulkanKHR.Buffer type$Default()
Sets theTYPE_GRAPHICS_BINDING_VULKAN_KHRvalue to theXrGraphicsBindingVulkanKHR.type()field.
-
next
public XrGraphicsBindingVulkanKHR.Buffer next(long value)
Sets the specified value to theXrGraphicsBindingVulkanKHR.next()field.
-
instance
public XrGraphicsBindingVulkanKHR.Buffer instance(org.lwjgl.vulkan.VkInstance value)
Sets the specified value to theXrGraphicsBindingVulkanKHR.instance()field.
-
physicalDevice
public XrGraphicsBindingVulkanKHR.Buffer physicalDevice(org.lwjgl.vulkan.VkPhysicalDevice value)
Sets the specified value to theXrGraphicsBindingVulkanKHR.physicalDevice()field.
-
device
public XrGraphicsBindingVulkanKHR.Buffer device(org.lwjgl.vulkan.VkDevice value)
Sets the specified value to theXrGraphicsBindingVulkanKHR.device()field.
-
queueFamilyIndex
public XrGraphicsBindingVulkanKHR.Buffer queueFamilyIndex(int value)
Sets the specified value to theXrGraphicsBindingVulkanKHR.queueFamilyIndex()field.
-
queueIndex
public XrGraphicsBindingVulkanKHR.Buffer queueIndex(int value)
Sets the specified value to theXrGraphicsBindingVulkanKHR.queueIndex()field.
-
-