Package org.lwjgl.vulkan
Class VkFramebufferAttachmentImageInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkFramebufferAttachmentImageInfo,VkFramebufferAttachmentImageInfo.Buffer>
-
- org.lwjgl.vulkan.VkFramebufferAttachmentImageInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkFramebufferAttachmentImageInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkFramebufferAttachmentImageInfoKHR.Buffer
- Enclosing class:
- VkFramebufferAttachmentImageInfo
public static class VkFramebufferAttachmentImageInfo.Buffer extends org.lwjgl.system.StructBuffer<VkFramebufferAttachmentImageInfo,VkFramebufferAttachmentImageInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkFramebufferAttachmentImageInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkFramebufferAttachmentImageInfo.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 byVkFramebufferAttachmentImageInfo.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
VkFramebufferAttachmentImageInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkFramebufferAttachmentImageInfo.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkFramebufferAttachmentImageInfo.flags()field.
-
usage
public int usage()
- Returns:
- the value of the
VkFramebufferAttachmentImageInfo.usage()field.
-
width
public int width()
- Returns:
- the value of the
VkFramebufferAttachmentImageInfo.width()field.
-
height
public int height()
- Returns:
- the value of the
VkFramebufferAttachmentImageInfo.height()field.
-
layerCount
public int layerCount()
- Returns:
- the value of the
VkFramebufferAttachmentImageInfo.layerCount()field.
-
viewFormatCount
public int viewFormatCount()
- Returns:
- the value of the
VkFramebufferAttachmentImageInfo.viewFormatCount()field.
-
pViewFormats
@Nullable public java.nio.IntBuffer pViewFormats()
- Returns:
- a
IntBufferview of the data pointed to by theVkFramebufferAttachmentImageInfo.pViewFormats()field.
-
sType
public VkFramebufferAttachmentImageInfo.Buffer sType(int value)
Sets the specified value to theVkFramebufferAttachmentImageInfo.sType()field.
-
sType$Default
public VkFramebufferAttachmentImageInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFOvalue to theVkFramebufferAttachmentImageInfo.sType()field.
-
pNext
public VkFramebufferAttachmentImageInfo.Buffer pNext(long value)
Sets the specified value to theVkFramebufferAttachmentImageInfo.pNext()field.
-
flags
public VkFramebufferAttachmentImageInfo.Buffer flags(int value)
Sets the specified value to theVkFramebufferAttachmentImageInfo.flags()field.
-
usage
public VkFramebufferAttachmentImageInfo.Buffer usage(int value)
Sets the specified value to theVkFramebufferAttachmentImageInfo.usage()field.
-
width
public VkFramebufferAttachmentImageInfo.Buffer width(int value)
Sets the specified value to theVkFramebufferAttachmentImageInfo.width()field.
-
height
public VkFramebufferAttachmentImageInfo.Buffer height(int value)
Sets the specified value to theVkFramebufferAttachmentImageInfo.height()field.
-
layerCount
public VkFramebufferAttachmentImageInfo.Buffer layerCount(int value)
Sets the specified value to theVkFramebufferAttachmentImageInfo.layerCount()field.
-
pViewFormats
public VkFramebufferAttachmentImageInfo.Buffer pViewFormats(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkFramebufferAttachmentImageInfo.pViewFormats()field.
-
-