Package org.lwjgl.vulkan
Class VkImageFormatListCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkImageFormatListCreateInfo,VkImageFormatListCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkImageFormatListCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkImageFormatListCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkImageFormatListCreateInfoKHR.Buffer
- Enclosing class:
- VkImageFormatListCreateInfo
public static class VkImageFormatListCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkImageFormatListCreateInfo,VkImageFormatListCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkImageFormatListCreateInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longpNext()VkImageFormatListCreateInfo.BufferpNext(long value)Sets the specified value to theVkImageFormatListCreateInfo.pNext()field.java.nio.IntBufferpViewFormats()VkImageFormatListCreateInfo.BufferpViewFormats(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto theVkImageFormatListCreateInfo.pViewFormats()field.intsType()VkImageFormatListCreateInfo.BuffersType(int value)Sets the specified value to theVkImageFormatListCreateInfo.sType()field.VkImageFormatListCreateInfo.BuffersType$Default()Sets theSTRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFOvalue to theVkImageFormatListCreateInfo.sType()field.intviewFormatCount()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkImageFormatListCreateInfo.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 byVkImageFormatListCreateInfo.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
-
sType
public int sType()
- Returns:
- the value of the
VkImageFormatListCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkImageFormatListCreateInfo.pNext()field.
-
viewFormatCount
public int viewFormatCount()
- Returns:
- the value of the
VkImageFormatListCreateInfo.viewFormatCount()field.
-
pViewFormats
@Nullable public java.nio.IntBuffer pViewFormats()
- Returns:
- a
IntBufferview of the data pointed to by theVkImageFormatListCreateInfo.pViewFormats()field.
-
sType
public VkImageFormatListCreateInfo.Buffer sType(int value)
Sets the specified value to theVkImageFormatListCreateInfo.sType()field.
-
sType$Default
public VkImageFormatListCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFOvalue to theVkImageFormatListCreateInfo.sType()field.
-
pNext
public VkImageFormatListCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkImageFormatListCreateInfo.pNext()field.
-
pViewFormats
public VkImageFormatListCreateInfo.Buffer pViewFormats(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkImageFormatListCreateInfo.pViewFormats()field.
-
-