Package org.lwjgl.openxr
Class XrVulkanSwapchainFormatListCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrVulkanSwapchainFormatListCreateInfoKHR,XrVulkanSwapchainFormatListCreateInfoKHR.Buffer>
-
- org.lwjgl.openxr.XrVulkanSwapchainFormatListCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrVulkanSwapchainFormatListCreateInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrVulkanSwapchainFormatListCreateInfoKHR
public static class XrVulkanSwapchainFormatListCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<XrVulkanSwapchainFormatListCreateInfoKHR,XrVulkanSwapchainFormatListCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrVulkanSwapchainFormatListCreateInfoKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()XrVulkanSwapchainFormatListCreateInfoKHR.Buffernext(long value)Sets the specified value to theXrVulkanSwapchainFormatListCreateInfoKHR.next()field.inttype()XrVulkanSwapchainFormatListCreateInfoKHR.Buffertype(int value)Sets the specified value to theXrVulkanSwapchainFormatListCreateInfoKHR.type()field.XrVulkanSwapchainFormatListCreateInfoKHR.Buffertype$Default()Sets theTYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHRvalue to theXrVulkanSwapchainFormatListCreateInfoKHR.type()field.intviewFormatCount()java.nio.IntBufferviewFormats()XrVulkanSwapchainFormatListCreateInfoKHR.BufferviewFormats(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto theXrVulkanSwapchainFormatListCreateInfoKHR.viewFormats()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrVulkanSwapchainFormatListCreateInfoKHR.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 byXrVulkanSwapchainFormatListCreateInfoKHR.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
XrVulkanSwapchainFormatListCreateInfoKHR.type()field.
-
next
public long next()
- Returns:
- the value of the
XrVulkanSwapchainFormatListCreateInfoKHR.next()field.
-
viewFormatCount
public int viewFormatCount()
- Returns:
- the value of the
XrVulkanSwapchainFormatListCreateInfoKHR.viewFormatCount()field.
-
viewFormats
@Nullable public java.nio.IntBuffer viewFormats()
- Returns:
- a
IntBufferview of the data pointed to by theXrVulkanSwapchainFormatListCreateInfoKHR.viewFormats()field.
-
type
public XrVulkanSwapchainFormatListCreateInfoKHR.Buffer type(int value)
Sets the specified value to theXrVulkanSwapchainFormatListCreateInfoKHR.type()field.
-
type$Default
public XrVulkanSwapchainFormatListCreateInfoKHR.Buffer type$Default()
Sets theTYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHRvalue to theXrVulkanSwapchainFormatListCreateInfoKHR.type()field.
-
next
public XrVulkanSwapchainFormatListCreateInfoKHR.Buffer next(long value)
Sets the specified value to theXrVulkanSwapchainFormatListCreateInfoKHR.next()field.
-
viewFormats
public XrVulkanSwapchainFormatListCreateInfoKHR.Buffer viewFormats(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theXrVulkanSwapchainFormatListCreateInfoKHR.viewFormats()field.
-
-