public static class VkSubpassDescription2KHR.Buffer extends org.lwjgl.system.StructBuffer<VkSubpassDescription2KHR,VkSubpassDescription2KHR.Buffer> implements org.lwjgl.system.NativeResource
VkSubpassDescription2KHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSubpassDescription2KHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
colorAttachmentCount()
Returns the value of the
colorAttachmentCount field. |
VkSubpassDescription2KHR.Buffer |
colorAttachmentCount(int value)
Sets the specified value to the
colorAttachmentCount field. |
int |
flags()
Returns the value of the
flags field. |
VkSubpassDescription2KHR.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
inputAttachmentCount()
Returns the value of the
inputAttachmentCount field. |
VkAttachmentReference2KHR.Buffer |
pColorAttachments()
Returns a
VkAttachmentReference2KHR.Buffer view of the struct array pointed to by the pColorAttachments field. |
VkSubpassDescription2KHR.Buffer |
pColorAttachments(VkAttachmentReference2KHR.Buffer value)
Sets the address of the specified
VkAttachmentReference2KHR.Buffer to the pColorAttachments field. |
VkAttachmentReference2KHR |
pDepthStencilAttachment()
Returns a
VkAttachmentReference2KHR view of the struct pointed to by the pDepthStencilAttachment field. |
VkSubpassDescription2KHR.Buffer |
pDepthStencilAttachment(VkAttachmentReference2KHR value)
Sets the address of the specified
VkAttachmentReference2KHR to the pDepthStencilAttachment field. |
VkAttachmentReference2KHR.Buffer |
pInputAttachments()
Returns a
VkAttachmentReference2KHR.Buffer view of the struct array pointed to by the pInputAttachments field. |
VkSubpassDescription2KHR.Buffer |
pInputAttachments(VkAttachmentReference2KHR.Buffer value)
Sets the address of the specified
VkAttachmentReference2KHR.Buffer to the pInputAttachments field. |
int |
pipelineBindPoint()
Returns the value of the
pipelineBindPoint field. |
VkSubpassDescription2KHR.Buffer |
pipelineBindPoint(int value)
Sets the specified value to the
pipelineBindPoint field. |
long |
pNext()
Returns the value of the
pNext field. |
VkSubpassDescription2KHR.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.IntBuffer |
pPreserveAttachments()
Returns a
IntBuffer view of the data pointed to by the pPreserveAttachments field. |
VkSubpassDescription2KHR.Buffer |
pPreserveAttachments(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pPreserveAttachments field. |
int |
preserveAttachmentCount()
Returns the value of the
preserveAttachmentCount field. |
VkAttachmentReference2KHR.Buffer |
pResolveAttachments()
Returns a
VkAttachmentReference2KHR.Buffer view of the struct array pointed to by the pResolveAttachments field. |
VkSubpassDescription2KHR.Buffer |
pResolveAttachments(VkAttachmentReference2KHR.Buffer value)
Sets the address of the specified
VkAttachmentReference2KHR.Buffer to the pResolveAttachments field. |
int |
sType()
Returns the value of the
sType field. |
VkSubpassDescription2KHR.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
viewMask()
Returns the value of the
viewMask field. |
VkSubpassDescription2KHR.Buffer |
viewMask(int value)
Sets the specified value to the
viewMask field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkSubpassDescription2KHR.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
by VkSubpassDescription2KHR.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public int flags()
flags field.public int pipelineBindPoint()
pipelineBindPoint field.public int viewMask()
viewMask field.public int inputAttachmentCount()
inputAttachmentCount field.@Nullable public VkAttachmentReference2KHR.Buffer pInputAttachments()
VkAttachmentReference2KHR.Buffer view of the struct array pointed to by the pInputAttachments field.public int colorAttachmentCount()
colorAttachmentCount field.@Nullable public VkAttachmentReference2KHR.Buffer pColorAttachments()
VkAttachmentReference2KHR.Buffer view of the struct array pointed to by the pColorAttachments field.@Nullable public VkAttachmentReference2KHR.Buffer pResolveAttachments()
VkAttachmentReference2KHR.Buffer view of the struct array pointed to by the pResolveAttachments field.@Nullable public VkAttachmentReference2KHR pDepthStencilAttachment()
VkAttachmentReference2KHR view of the struct pointed to by the pDepthStencilAttachment field.public int preserveAttachmentCount()
preserveAttachmentCount field.@Nullable public java.nio.IntBuffer pPreserveAttachments()
IntBuffer view of the data pointed to by the pPreserveAttachments field.public VkSubpassDescription2KHR.Buffer sType(int value)
sType field.public VkSubpassDescription2KHR.Buffer pNext(long value)
pNext field.public VkSubpassDescription2KHR.Buffer flags(int value)
flags field.public VkSubpassDescription2KHR.Buffer pipelineBindPoint(int value)
pipelineBindPoint field.public VkSubpassDescription2KHR.Buffer viewMask(int value)
viewMask field.public VkSubpassDescription2KHR.Buffer pInputAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
VkAttachmentReference2KHR.Buffer to the pInputAttachments field.public VkSubpassDescription2KHR.Buffer colorAttachmentCount(int value)
colorAttachmentCount field.public VkSubpassDescription2KHR.Buffer pColorAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
VkAttachmentReference2KHR.Buffer to the pColorAttachments field.public VkSubpassDescription2KHR.Buffer pResolveAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
VkAttachmentReference2KHR.Buffer to the pResolveAttachments field.public VkSubpassDescription2KHR.Buffer pDepthStencilAttachment(@Nullable VkAttachmentReference2KHR value)
VkAttachmentReference2KHR to the pDepthStencilAttachment field.public VkSubpassDescription2KHR.Buffer pPreserveAttachments(@Nullable java.nio.IntBuffer value)
IntBuffer to the pPreserveAttachments field.Copyright LWJGL. All Rights Reserved. License terms.