Package org.lwjgl.vulkan
Class VkRenderingAttachmentInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkRenderingAttachmentInfo,VkRenderingAttachmentInfo.Buffer>
-
- org.lwjgl.vulkan.VkRenderingAttachmentInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkRenderingAttachmentInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkRenderingAttachmentInfoKHR.Buffer
- Enclosing class:
- VkRenderingAttachmentInfo
public static class VkRenderingAttachmentInfo.Buffer extends org.lwjgl.system.StructBuffer<VkRenderingAttachmentInfo,VkRenderingAttachmentInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkRenderingAttachmentInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkRenderingAttachmentInfo.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 byVkRenderingAttachmentInfo.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
VkRenderingAttachmentInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkRenderingAttachmentInfo.pNext()field.
-
imageView
public long imageView()
- Returns:
- the value of the
VkRenderingAttachmentInfo.imageView()field.
-
imageLayout
public int imageLayout()
- Returns:
- the value of the
VkRenderingAttachmentInfo.imageLayout()field.
-
resolveMode
public int resolveMode()
- Returns:
- the value of the
VkRenderingAttachmentInfo.resolveMode()field.
-
resolveImageView
public long resolveImageView()
- Returns:
- the value of the
VkRenderingAttachmentInfo.resolveImageView()field.
-
resolveImageLayout
public int resolveImageLayout()
- Returns:
- the value of the
VkRenderingAttachmentInfo.resolveImageLayout()field.
-
loadOp
public int loadOp()
- Returns:
- the value of the
VkRenderingAttachmentInfo.loadOp()field.
-
storeOp
public int storeOp()
- Returns:
- the value of the
VkRenderingAttachmentInfo.storeOp()field.
-
clearValue
public VkClearValue clearValue()
- Returns:
- a
VkClearValueview of theVkRenderingAttachmentInfo.clearValue()field.
-
sType
public VkRenderingAttachmentInfo.Buffer sType(int value)
Sets the specified value to theVkRenderingAttachmentInfo.sType()field.
-
sType$Default
public VkRenderingAttachmentInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_RENDERING_ATTACHMENT_INFOvalue to theVkRenderingAttachmentInfo.sType()field.
-
pNext
public VkRenderingAttachmentInfo.Buffer pNext(long value)
Sets the specified value to theVkRenderingAttachmentInfo.pNext()field.
-
imageView
public VkRenderingAttachmentInfo.Buffer imageView(long value)
Sets the specified value to theVkRenderingAttachmentInfo.imageView()field.
-
imageLayout
public VkRenderingAttachmentInfo.Buffer imageLayout(int value)
Sets the specified value to theVkRenderingAttachmentInfo.imageLayout()field.
-
resolveMode
public VkRenderingAttachmentInfo.Buffer resolveMode(int value)
Sets the specified value to theVkRenderingAttachmentInfo.resolveMode()field.
-
resolveImageView
public VkRenderingAttachmentInfo.Buffer resolveImageView(long value)
Sets the specified value to theVkRenderingAttachmentInfo.resolveImageView()field.
-
resolveImageLayout
public VkRenderingAttachmentInfo.Buffer resolveImageLayout(int value)
Sets the specified value to theVkRenderingAttachmentInfo.resolveImageLayout()field.
-
loadOp
public VkRenderingAttachmentInfo.Buffer loadOp(int value)
Sets the specified value to theVkRenderingAttachmentInfo.loadOp()field.
-
storeOp
public VkRenderingAttachmentInfo.Buffer storeOp(int value)
Sets the specified value to theVkRenderingAttachmentInfo.storeOp()field.
-
clearValue
public VkRenderingAttachmentInfo.Buffer clearValue(VkClearValue value)
Copies the specifiedVkClearValueto theVkRenderingAttachmentInfo.clearValue()field.
-
clearValue
public VkRenderingAttachmentInfo.Buffer clearValue(java.util.function.Consumer<VkClearValue> consumer)
Passes theVkRenderingAttachmentInfo.clearValue()field to the specifiedConsumer.
-
-