public static class VkRenderPassCreateInfo2KHR.Buffer extends org.lwjgl.system.StructBuffer<VkRenderPassCreateInfo2KHR,VkRenderPassCreateInfo2KHR.Buffer> implements org.lwjgl.system.NativeResource
VkRenderPassCreateInfo2KHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkRenderPassCreateInfo2KHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
attachmentCount()
Returns the value of the
attachmentCount field. |
int |
correlatedViewMaskCount()
Returns the value of the
correlatedViewMaskCount field. |
int |
dependencyCount()
Returns the value of the
dependencyCount field. |
int |
flags()
Returns the value of the
flags field. |
VkRenderPassCreateInfo2KHR.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
VkAttachmentDescription2KHR.Buffer |
pAttachments()
Returns a
VkAttachmentDescription2KHR.Buffer view of the struct array pointed to by the pAttachments field. |
VkRenderPassCreateInfo2KHR.Buffer |
pAttachments(VkAttachmentDescription2KHR.Buffer value)
Sets the address of the specified
VkAttachmentDescription2KHR.Buffer to the pAttachments field. |
java.nio.IntBuffer |
pCorrelatedViewMasks()
Returns a
IntBuffer view of the data pointed to by the pCorrelatedViewMasks field. |
VkRenderPassCreateInfo2KHR.Buffer |
pCorrelatedViewMasks(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pCorrelatedViewMasks field. |
VkSubpassDependency2KHR.Buffer |
pDependencies()
Returns a
VkSubpassDependency2KHR.Buffer view of the struct array pointed to by the pDependencies field. |
VkRenderPassCreateInfo2KHR.Buffer |
pDependencies(VkSubpassDependency2KHR.Buffer value)
Sets the address of the specified
VkSubpassDependency2KHR.Buffer to the pDependencies field. |
long |
pNext()
Returns the value of the
pNext field. |
VkRenderPassCreateInfo2KHR.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSubpassDescription2KHR.Buffer |
pSubpasses()
Returns a
VkSubpassDescription2KHR.Buffer view of the struct array pointed to by the pSubpasses field. |
VkRenderPassCreateInfo2KHR.Buffer |
pSubpasses(VkSubpassDescription2KHR.Buffer value)
Sets the address of the specified
VkSubpassDescription2KHR.Buffer to the pSubpasses field. |
int |
sType()
Returns the value of the
sType field. |
VkRenderPassCreateInfo2KHR.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
subpassCount()
Returns the value of the
subpassCount field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkRenderPassCreateInfo2KHR.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 VkRenderPassCreateInfo2KHR.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 attachmentCount()
attachmentCount field.@Nullable public VkAttachmentDescription2KHR.Buffer pAttachments()
VkAttachmentDescription2KHR.Buffer view of the struct array pointed to by the pAttachments field.public int subpassCount()
subpassCount field.public VkSubpassDescription2KHR.Buffer pSubpasses()
VkSubpassDescription2KHR.Buffer view of the struct array pointed to by the pSubpasses field.public int dependencyCount()
dependencyCount field.@Nullable public VkSubpassDependency2KHR.Buffer pDependencies()
VkSubpassDependency2KHR.Buffer view of the struct array pointed to by the pDependencies field.public int correlatedViewMaskCount()
correlatedViewMaskCount field.@Nullable public java.nio.IntBuffer pCorrelatedViewMasks()
IntBuffer view of the data pointed to by the pCorrelatedViewMasks field.public VkRenderPassCreateInfo2KHR.Buffer sType(int value)
sType field.public VkRenderPassCreateInfo2KHR.Buffer pNext(long value)
pNext field.public VkRenderPassCreateInfo2KHR.Buffer flags(int value)
flags field.public VkRenderPassCreateInfo2KHR.Buffer pAttachments(@Nullable VkAttachmentDescription2KHR.Buffer value)
VkAttachmentDescription2KHR.Buffer to the pAttachments field.public VkRenderPassCreateInfo2KHR.Buffer pSubpasses(VkSubpassDescription2KHR.Buffer value)
VkSubpassDescription2KHR.Buffer to the pSubpasses field.public VkRenderPassCreateInfo2KHR.Buffer pDependencies(@Nullable VkSubpassDependency2KHR.Buffer value)
VkSubpassDependency2KHR.Buffer to the pDependencies field.public VkRenderPassCreateInfo2KHR.Buffer pCorrelatedViewMasks(@Nullable java.nio.IntBuffer value)
IntBuffer to the pCorrelatedViewMasks field.Copyright LWJGL. All Rights Reserved. License terms.