Package org.lwjgl.vulkan
Class VkRenderingAttachmentInfoKHR.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
-
- org.lwjgl.vulkan.VkRenderingAttachmentInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkRenderingAttachmentInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkRenderingAttachmentInfoKHR
public static class VkRenderingAttachmentInfoKHR.Buffer extends VkRenderingAttachmentInfo.Buffer
An array ofVkRenderingAttachmentInfoKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkRenderingAttachmentInfoKHR.BufferclearValue(java.util.function.Consumer<VkClearValue> consumer)Passes theclearValuefield to the specifiedConsumer.VkRenderingAttachmentInfoKHR.BufferclearValue(VkClearValue value)Copies the specifiedVkClearValueto theclearValuefield.VkRenderingAttachmentInfoKHR.BufferimageLayout(int value)Sets the specified value to theimageLayoutfield.VkRenderingAttachmentInfoKHR.BufferimageView(long value)Sets the specified value to theimageViewfield.VkRenderingAttachmentInfoKHR.BufferloadOp(int value)Sets the specified value to theloadOpfield.VkRenderingAttachmentInfoKHR.BufferpNext(long value)Sets the specified value to thepNextfield.VkRenderingAttachmentInfoKHR.BufferresolveImageLayout(int value)Sets the specified value to theresolveImageLayoutfield.VkRenderingAttachmentInfoKHR.BufferresolveImageView(long value)Sets the specified value to theresolveImageViewfield.VkRenderingAttachmentInfoKHR.BufferresolveMode(int value)Sets the specified value to theresolveModefield.VkRenderingAttachmentInfoKHR.BufferstoreOp(int value)Sets the specified value to thestoreOpfield.VkRenderingAttachmentInfoKHR.BuffersType(int value)Sets the specified value to thesTypefield.VkRenderingAttachmentInfoKHR.BuffersType$Default()Sets theSTRUCTURE_TYPE_RENDERING_ATTACHMENT_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
-
Methods inherited from class org.lwjgl.vulkan.VkRenderingAttachmentInfo.Buffer
clearValue, imageLayout, imageView, loadOp, pNext, resolveImageLayout, resolveImageView, resolveMode, storeOp, sType
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkRenderingAttachmentInfoKHR.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 VkRenderingAttachmentInfoKHR.Buffer sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkRenderingAttachmentInfo.Buffer
-
sType$Default
public VkRenderingAttachmentInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_RENDERING_ATTACHMENT_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkRenderingAttachmentInfo.Buffer
-
pNext
public VkRenderingAttachmentInfoKHR.Buffer pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkRenderingAttachmentInfo.Buffer
-
imageView
public VkRenderingAttachmentInfoKHR.Buffer imageView(long value)
Sets the specified value to theimageViewfield.- Overrides:
imageViewin classVkRenderingAttachmentInfo.Buffer
-
imageLayout
public VkRenderingAttachmentInfoKHR.Buffer imageLayout(int value)
Sets the specified value to theimageLayoutfield.- Overrides:
imageLayoutin classVkRenderingAttachmentInfo.Buffer
-
resolveMode
public VkRenderingAttachmentInfoKHR.Buffer resolveMode(int value)
Sets the specified value to theresolveModefield.- Overrides:
resolveModein classVkRenderingAttachmentInfo.Buffer
-
resolveImageView
public VkRenderingAttachmentInfoKHR.Buffer resolveImageView(long value)
Sets the specified value to theresolveImageViewfield.- Overrides:
resolveImageViewin classVkRenderingAttachmentInfo.Buffer
-
resolveImageLayout
public VkRenderingAttachmentInfoKHR.Buffer resolveImageLayout(int value)
Sets the specified value to theresolveImageLayoutfield.- Overrides:
resolveImageLayoutin classVkRenderingAttachmentInfo.Buffer
-
loadOp
public VkRenderingAttachmentInfoKHR.Buffer loadOp(int value)
Sets the specified value to theloadOpfield.- Overrides:
loadOpin classVkRenderingAttachmentInfo.Buffer
-
storeOp
public VkRenderingAttachmentInfoKHR.Buffer storeOp(int value)
Sets the specified value to thestoreOpfield.- Overrides:
storeOpin classVkRenderingAttachmentInfo.Buffer
-
clearValue
public VkRenderingAttachmentInfoKHR.Buffer clearValue(VkClearValue value)
Copies the specifiedVkClearValueto theclearValuefield.- Overrides:
clearValuein classVkRenderingAttachmentInfo.Buffer
-
clearValue
public VkRenderingAttachmentInfoKHR.Buffer clearValue(java.util.function.Consumer<VkClearValue> consumer)
Passes theclearValuefield to the specifiedConsumer.- Overrides:
clearValuein classVkRenderingAttachmentInfo.Buffer
-
-