Package org.lwjgl.vulkan
Class VkSubpassDescription2KHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSubpassDescription2KHR,VkSubpassDescription2KHR.Buffer>
-
- org.lwjgl.vulkan.VkSubpassDescription2KHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkSubpassDescription2KHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkSubpassDescription2KHR
public static class VkSubpassDescription2KHR.Buffer extends org.lwjgl.system.StructBuffer<VkSubpassDescription2KHR,VkSubpassDescription2KHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSubpassDescription2KHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcolorAttachmentCount()Returns the value of thecolorAttachmentCountfield.VkSubpassDescription2KHR.BuffercolorAttachmentCount(int value)Sets the specified value to thecolorAttachmentCountfield.intflags()Returns the value of theflagsfield.VkSubpassDescription2KHR.Bufferflags(int value)Sets the specified value to theflagsfield.intinputAttachmentCount()Returns the value of theinputAttachmentCountfield.VkAttachmentReference2KHR.BufferpColorAttachments()Returns aVkAttachmentReference2KHR.Bufferview of the struct array pointed to by thepColorAttachmentsfield.VkSubpassDescription2KHR.BufferpColorAttachments(VkAttachmentReference2KHR.Buffer value)Sets the address of the specifiedVkAttachmentReference2KHR.Bufferto thepColorAttachmentsfield.VkAttachmentReference2KHRpDepthStencilAttachment()Returns aVkAttachmentReference2KHRview of the struct pointed to by thepDepthStencilAttachmentfield.VkSubpassDescription2KHR.BufferpDepthStencilAttachment(VkAttachmentReference2KHR value)Sets the address of the specifiedVkAttachmentReference2KHRto thepDepthStencilAttachmentfield.VkAttachmentReference2KHR.BufferpInputAttachments()Returns aVkAttachmentReference2KHR.Bufferview of the struct array pointed to by thepInputAttachmentsfield.VkSubpassDescription2KHR.BufferpInputAttachments(VkAttachmentReference2KHR.Buffer value)Sets the address of the specifiedVkAttachmentReference2KHR.Bufferto thepInputAttachmentsfield.intpipelineBindPoint()Returns the value of thepipelineBindPointfield.VkSubpassDescription2KHR.BufferpipelineBindPoint(int value)Sets the specified value to thepipelineBindPointfield.longpNext()Returns the value of thepNextfield.VkSubpassDescription2KHR.BufferpNext(long value)Sets the specified value to thepNextfield.java.nio.IntBufferpPreserveAttachments()Returns aIntBufferview of the data pointed to by thepPreserveAttachmentsfield.VkSubpassDescription2KHR.BufferpPreserveAttachments(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepPreserveAttachmentsfield.intpreserveAttachmentCount()Returns the value of thepreserveAttachmentCountfield.VkAttachmentReference2KHR.BufferpResolveAttachments()Returns aVkAttachmentReference2KHR.Bufferview of the struct array pointed to by thepResolveAttachmentsfield.VkSubpassDescription2KHR.BufferpResolveAttachments(VkAttachmentReference2KHR.Buffer value)Sets the address of the specifiedVkAttachmentReference2KHR.Bufferto thepResolveAttachmentsfield.intsType()Returns the value of thesTypefield.VkSubpassDescription2KHR.BuffersType(int value)Sets the specified value to thesTypefield.intviewMask()Returns the value of theviewMaskfield.VkSubpassDescription2KHR.BufferviewMask(int value)Sets the specified value to theviewMaskfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSubpassDescription2KHR.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 byVkSubpassDescription2KHR.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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
pipelineBindPoint
public int pipelineBindPoint()
Returns the value of thepipelineBindPointfield.
-
viewMask
public int viewMask()
Returns the value of theviewMaskfield.
-
inputAttachmentCount
public int inputAttachmentCount()
Returns the value of theinputAttachmentCountfield.
-
pInputAttachments
@Nullable public VkAttachmentReference2KHR.Buffer pInputAttachments()
Returns aVkAttachmentReference2KHR.Bufferview of the struct array pointed to by thepInputAttachmentsfield.
-
colorAttachmentCount
public int colorAttachmentCount()
Returns the value of thecolorAttachmentCountfield.
-
pColorAttachments
@Nullable public VkAttachmentReference2KHR.Buffer pColorAttachments()
Returns aVkAttachmentReference2KHR.Bufferview of the struct array pointed to by thepColorAttachmentsfield.
-
pResolveAttachments
@Nullable public VkAttachmentReference2KHR.Buffer pResolveAttachments()
Returns aVkAttachmentReference2KHR.Bufferview of the struct array pointed to by thepResolveAttachmentsfield.
-
pDepthStencilAttachment
@Nullable public VkAttachmentReference2KHR pDepthStencilAttachment()
Returns aVkAttachmentReference2KHRview of the struct pointed to by thepDepthStencilAttachmentfield.
-
preserveAttachmentCount
public int preserveAttachmentCount()
Returns the value of thepreserveAttachmentCountfield.
-
pPreserveAttachments
@Nullable public java.nio.IntBuffer pPreserveAttachments()
Returns aIntBufferview of the data pointed to by thepPreserveAttachmentsfield.
-
sType
public VkSubpassDescription2KHR.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSubpassDescription2KHR.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkSubpassDescription2KHR.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
pipelineBindPoint
public VkSubpassDescription2KHR.Buffer pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPointfield.
-
viewMask
public VkSubpassDescription2KHR.Buffer viewMask(int value)
Sets the specified value to theviewMaskfield.
-
pInputAttachments
public VkSubpassDescription2KHR.Buffer pInputAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Bufferto thepInputAttachmentsfield.
-
colorAttachmentCount
public VkSubpassDescription2KHR.Buffer colorAttachmentCount(int value)
Sets the specified value to thecolorAttachmentCountfield.
-
pColorAttachments
public VkSubpassDescription2KHR.Buffer pColorAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Bufferto thepColorAttachmentsfield.
-
pResolveAttachments
public VkSubpassDescription2KHR.Buffer pResolveAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Bufferto thepResolveAttachmentsfield.
-
pDepthStencilAttachment
public VkSubpassDescription2KHR.Buffer pDepthStencilAttachment(@Nullable VkAttachmentReference2KHR value)
Sets the address of the specifiedVkAttachmentReference2KHRto thepDepthStencilAttachmentfield.
-
pPreserveAttachments
public VkSubpassDescription2KHR.Buffer pPreserveAttachments(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepPreserveAttachmentsfield.
-
-