Package org.lwjgl.vulkan
Class VkRenderPassAttachmentBeginInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkRenderPassAttachmentBeginInfo,VkRenderPassAttachmentBeginInfo.Buffer>
-
- org.lwjgl.vulkan.VkRenderPassAttachmentBeginInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkRenderPassAttachmentBeginInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkRenderPassAttachmentBeginInfoKHR.Buffer
- Enclosing class:
- VkRenderPassAttachmentBeginInfo
public static class VkRenderPassAttachmentBeginInfo.Buffer extends org.lwjgl.system.StructBuffer<VkRenderPassAttachmentBeginInfo,VkRenderPassAttachmentBeginInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkRenderPassAttachmentBeginInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intattachmentCount()java.nio.LongBufferpAttachments()VkRenderPassAttachmentBeginInfo.BufferpAttachments(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto theVkRenderPassAttachmentBeginInfo.pAttachments()field.longpNext()VkRenderPassAttachmentBeginInfo.BufferpNext(long value)Sets the specified value to theVkRenderPassAttachmentBeginInfo.pNext()field.intsType()VkRenderPassAttachmentBeginInfo.BuffersType(int value)Sets the specified value to theVkRenderPassAttachmentBeginInfo.sType()field.VkRenderPassAttachmentBeginInfo.BuffersType$Default()Sets theSTRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFOvalue to theVkRenderPassAttachmentBeginInfo.sType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkRenderPassAttachmentBeginInfo.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 byVkRenderPassAttachmentBeginInfo.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
VkRenderPassAttachmentBeginInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkRenderPassAttachmentBeginInfo.pNext()field.
-
attachmentCount
public int attachmentCount()
- Returns:
- the value of the
VkRenderPassAttachmentBeginInfo.attachmentCount()field.
-
pAttachments
@Nullable public java.nio.LongBuffer pAttachments()
- Returns:
- a
LongBufferview of the data pointed to by theVkRenderPassAttachmentBeginInfo.pAttachments()field.
-
sType
public VkRenderPassAttachmentBeginInfo.Buffer sType(int value)
Sets the specified value to theVkRenderPassAttachmentBeginInfo.sType()field.
-
sType$Default
public VkRenderPassAttachmentBeginInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFOvalue to theVkRenderPassAttachmentBeginInfo.sType()field.
-
pNext
public VkRenderPassAttachmentBeginInfo.Buffer pNext(long value)
Sets the specified value to theVkRenderPassAttachmentBeginInfo.pNext()field.
-
pAttachments
public VkRenderPassAttachmentBeginInfo.Buffer pAttachments(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto theVkRenderPassAttachmentBeginInfo.pAttachments()field.
-
-