Package org.lwjgl.vulkan
Class VkFramebufferAttachmentsCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkFramebufferAttachmentsCreateInfo,VkFramebufferAttachmentsCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkFramebufferAttachmentsCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkFramebufferAttachmentsCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkFramebufferAttachmentsCreateInfoKHR.Buffer
- Enclosing class:
- VkFramebufferAttachmentsCreateInfo
public static class VkFramebufferAttachmentsCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkFramebufferAttachmentsCreateInfo,VkFramebufferAttachmentsCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkFramebufferAttachmentsCreateInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intattachmentImageInfoCount()VkFramebufferAttachmentImageInfo.BufferpAttachmentImageInfos()VkFramebufferAttachmentsCreateInfo.BufferpAttachmentImageInfos(VkFramebufferAttachmentImageInfo.Buffer value)Sets the address of the specifiedVkFramebufferAttachmentImageInfo.Bufferto theVkFramebufferAttachmentsCreateInfo.pAttachmentImageInfos()field.longpNext()VkFramebufferAttachmentsCreateInfo.BufferpNext(long value)Sets the specified value to theVkFramebufferAttachmentsCreateInfo.pNext()field.intsType()VkFramebufferAttachmentsCreateInfo.BuffersType(int value)Sets the specified value to theVkFramebufferAttachmentsCreateInfo.sType()field.VkFramebufferAttachmentsCreateInfo.BuffersType$Default()Sets theSTRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFOvalue to theVkFramebufferAttachmentsCreateInfo.sType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkFramebufferAttachmentsCreateInfo.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 byVkFramebufferAttachmentsCreateInfo.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
VkFramebufferAttachmentsCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkFramebufferAttachmentsCreateInfo.pNext()field.
-
attachmentImageInfoCount
public int attachmentImageInfoCount()
- Returns:
- the value of the
VkFramebufferAttachmentsCreateInfo.attachmentImageInfoCount()field.
-
pAttachmentImageInfos
@Nullable public VkFramebufferAttachmentImageInfo.Buffer pAttachmentImageInfos()
- Returns:
- a
VkFramebufferAttachmentImageInfo.Bufferview of the struct array pointed to by theVkFramebufferAttachmentsCreateInfo.pAttachmentImageInfos()field.
-
sType
public VkFramebufferAttachmentsCreateInfo.Buffer sType(int value)
Sets the specified value to theVkFramebufferAttachmentsCreateInfo.sType()field.
-
sType$Default
public VkFramebufferAttachmentsCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFOvalue to theVkFramebufferAttachmentsCreateInfo.sType()field.
-
pNext
public VkFramebufferAttachmentsCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkFramebufferAttachmentsCreateInfo.pNext()field.
-
pAttachmentImageInfos
public VkFramebufferAttachmentsCreateInfo.Buffer pAttachmentImageInfos(@Nullable VkFramebufferAttachmentImageInfo.Buffer value)
Sets the address of the specifiedVkFramebufferAttachmentImageInfo.Bufferto theVkFramebufferAttachmentsCreateInfo.pAttachmentImageInfos()field.
-
-