public static class VkSubpassDescription.Buffer extends org.lwjgl.system.StructBuffer<VkSubpassDescription,VkSubpassDescription.Buffer> implements org.lwjgl.system.NativeResource
VkSubpassDescription structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSubpassDescription.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. |
VkSubpassDescription.Buffer |
colorAttachmentCount(int value)
Sets the specified value to the
colorAttachmentCount field. |
int |
flags()
Returns the value of the
flags field. |
VkSubpassDescription.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
inputAttachmentCount()
Returns the value of the
inputAttachmentCount field. |
VkAttachmentReference.Buffer |
pColorAttachments()
Returns a
VkAttachmentReference.Buffer view of the struct array pointed to by the pColorAttachments field. |
VkSubpassDescription.Buffer |
pColorAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specified
VkAttachmentReference.Buffer to the pColorAttachments field. |
VkAttachmentReference |
pDepthStencilAttachment()
Returns a
VkAttachmentReference view of the struct pointed to by the pDepthStencilAttachment field. |
VkSubpassDescription.Buffer |
pDepthStencilAttachment(VkAttachmentReference value)
Sets the address of the specified
VkAttachmentReference to the pDepthStencilAttachment field. |
VkAttachmentReference.Buffer |
pInputAttachments()
Returns a
VkAttachmentReference.Buffer view of the struct array pointed to by the pInputAttachments field. |
VkSubpassDescription.Buffer |
pInputAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specified
VkAttachmentReference.Buffer to the pInputAttachments field. |
int |
pipelineBindPoint()
Returns the value of the
pipelineBindPoint field. |
VkSubpassDescription.Buffer |
pipelineBindPoint(int value)
Sets the specified value to the
pipelineBindPoint field. |
java.nio.IntBuffer |
pPreserveAttachments()
Returns a
IntBuffer view of the data pointed to by the pPreserveAttachments field. |
VkSubpassDescription.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. |
VkAttachmentReference.Buffer |
pResolveAttachments()
Returns a
VkAttachmentReference.Buffer view of the struct array pointed to by the pResolveAttachments field. |
VkSubpassDescription.Buffer |
pResolveAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specified
VkAttachmentReference.Buffer to the pResolveAttachments field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkSubpassDescription.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 VkSubpassDescription.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 flags()
flags field.public int pipelineBindPoint()
pipelineBindPoint field.public int inputAttachmentCount()
inputAttachmentCount field.@Nullable public VkAttachmentReference.Buffer pInputAttachments()
VkAttachmentReference.Buffer view of the struct array pointed to by the pInputAttachments field.public int colorAttachmentCount()
colorAttachmentCount field.@Nullable public VkAttachmentReference.Buffer pColorAttachments()
VkAttachmentReference.Buffer view of the struct array pointed to by the pColorAttachments field.@Nullable public VkAttachmentReference.Buffer pResolveAttachments()
VkAttachmentReference.Buffer view of the struct array pointed to by the pResolveAttachments field.@Nullable public VkAttachmentReference pDepthStencilAttachment()
VkAttachmentReference 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 VkSubpassDescription.Buffer flags(int value)
flags field.public VkSubpassDescription.Buffer pipelineBindPoint(int value)
pipelineBindPoint field.public VkSubpassDescription.Buffer pInputAttachments(@Nullable VkAttachmentReference.Buffer value)
VkAttachmentReference.Buffer to the pInputAttachments field.public VkSubpassDescription.Buffer colorAttachmentCount(int value)
colorAttachmentCount field.public VkSubpassDescription.Buffer pColorAttachments(@Nullable VkAttachmentReference.Buffer value)
VkAttachmentReference.Buffer to the pColorAttachments field.public VkSubpassDescription.Buffer pResolveAttachments(@Nullable VkAttachmentReference.Buffer value)
VkAttachmentReference.Buffer to the pResolveAttachments field.public VkSubpassDescription.Buffer pDepthStencilAttachment(@Nullable VkAttachmentReference value)
VkAttachmentReference to the pDepthStencilAttachment field.public VkSubpassDescription.Buffer pPreserveAttachments(@Nullable java.nio.IntBuffer value)
IntBuffer to the pPreserveAttachments field.Copyright LWJGL. All Rights Reserved. License terms.