public static class VkRenderPassCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkRenderPassCreateInfo,VkRenderPassCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkRenderPassCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkRenderPassCreateInfo.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 |
dependencyCount()
Returns the value of the
dependencyCount field. |
int |
flags()
Returns the value of the
flags field. |
VkRenderPassCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
VkAttachmentDescription.Buffer |
pAttachments()
Returns a
VkAttachmentDescription.Buffer view of the struct array pointed to by the pAttachments field. |
VkRenderPassCreateInfo.Buffer |
pAttachments(VkAttachmentDescription.Buffer value)
Sets the address of the specified
VkAttachmentDescription.Buffer to the pAttachments field. |
VkSubpassDependency.Buffer |
pDependencies()
Returns a
VkSubpassDependency.Buffer view of the struct array pointed to by the pDependencies field. |
VkRenderPassCreateInfo.Buffer |
pDependencies(VkSubpassDependency.Buffer value)
Sets the address of the specified
VkSubpassDependency.Buffer to the pDependencies field. |
long |
pNext()
Returns the value of the
pNext field. |
VkRenderPassCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSubpassDescription.Buffer |
pSubpasses()
Returns a
VkSubpassDescription.Buffer view of the struct array pointed to by the pSubpasses field. |
VkRenderPassCreateInfo.Buffer |
pSubpasses(VkSubpassDescription.Buffer value)
Sets the address of the specified
VkSubpassDescription.Buffer to the pSubpasses field. |
int |
sType()
Returns the value of the
sType field. |
VkRenderPassCreateInfo.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)
VkRenderPassCreateInfo.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 VkRenderPassCreateInfo.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 VkAttachmentDescription.Buffer pAttachments()
VkAttachmentDescription.Buffer view of the struct array pointed to by the pAttachments field.public int subpassCount()
subpassCount field.public VkSubpassDescription.Buffer pSubpasses()
VkSubpassDescription.Buffer view of the struct array pointed to by the pSubpasses field.public int dependencyCount()
dependencyCount field.@Nullable public VkSubpassDependency.Buffer pDependencies()
VkSubpassDependency.Buffer view of the struct array pointed to by the pDependencies field.public VkRenderPassCreateInfo.Buffer sType(int value)
sType field.public VkRenderPassCreateInfo.Buffer pNext(long value)
pNext field.public VkRenderPassCreateInfo.Buffer flags(int value)
flags field.public VkRenderPassCreateInfo.Buffer pAttachments(@Nullable VkAttachmentDescription.Buffer value)
VkAttachmentDescription.Buffer to the pAttachments field.public VkRenderPassCreateInfo.Buffer pSubpasses(VkSubpassDescription.Buffer value)
VkSubpassDescription.Buffer to the pSubpasses field.public VkRenderPassCreateInfo.Buffer pDependencies(@Nullable VkSubpassDependency.Buffer value)
VkSubpassDependency.Buffer to the pDependencies field.Copyright LWJGL. All Rights Reserved. License terms.