Package org.lwjgl.vulkan
Class VkInputAttachmentAspectReference.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkInputAttachmentAspectReference,VkInputAttachmentAspectReference.Buffer>
-
- org.lwjgl.vulkan.VkInputAttachmentAspectReference.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkInputAttachmentAspectReference>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkInputAttachmentAspectReferenceKHR.Buffer
- Enclosing class:
- VkInputAttachmentAspectReference
public static class VkInputAttachmentAspectReference.Buffer extends org.lwjgl.system.StructBuffer<VkInputAttachmentAspectReference,VkInputAttachmentAspectReference.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkInputAttachmentAspectReference
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
aspectMask()
Returns the value of theaspectMask
field.VkInputAttachmentAspectReference.Buffer
aspectMask(int value)
Sets the specified value to theaspectMask
field.int
inputAttachmentIndex()
Returns the value of theinputAttachmentIndex
field.VkInputAttachmentAspectReference.Buffer
inputAttachmentIndex(int value)
Sets the specified value to theinputAttachmentIndex
field.int
subpass()
Returns the value of thesubpass
field.VkInputAttachmentAspectReference.Buffer
subpass(int value)
Sets the specified value to thesubpass
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkInputAttachmentAspectReference.Buffer
instance 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 byVkInputAttachmentAspectReference.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
-
subpass
public int subpass()
Returns the value of thesubpass
field.
-
inputAttachmentIndex
public int inputAttachmentIndex()
Returns the value of theinputAttachmentIndex
field.
-
aspectMask
public int aspectMask()
Returns the value of theaspectMask
field.
-
subpass
public VkInputAttachmentAspectReference.Buffer subpass(int value)
Sets the specified value to thesubpass
field.
-
inputAttachmentIndex
public VkInputAttachmentAspectReference.Buffer inputAttachmentIndex(int value)
Sets the specified value to theinputAttachmentIndex
field.
-
aspectMask
public VkInputAttachmentAspectReference.Buffer aspectMask(int value)
Sets the specified value to theaspectMask
field.
-
-