Package org.lwjgl.vulkan
Class VkRenderPassCreateInfo2KHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkRenderPassCreateInfo2KHR,VkRenderPassCreateInfo2KHR.Buffer>
-
- org.lwjgl.vulkan.VkRenderPassCreateInfo2KHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkRenderPassCreateInfo2KHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkRenderPassCreateInfo2KHR
public static class VkRenderPassCreateInfo2KHR.Buffer extends org.lwjgl.system.StructBuffer<VkRenderPassCreateInfo2KHR,VkRenderPassCreateInfo2KHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkRenderPassCreateInfo2KHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intattachmentCount()Returns the value of theattachmentCountfield.intcorrelatedViewMaskCount()Returns the value of thecorrelatedViewMaskCountfield.intdependencyCount()Returns the value of thedependencyCountfield.intflags()Returns the value of theflagsfield.VkRenderPassCreateInfo2KHR.Bufferflags(int value)Sets the specified value to theflagsfield.VkAttachmentDescription2KHR.BufferpAttachments()Returns aVkAttachmentDescription2KHR.Bufferview of the struct array pointed to by thepAttachmentsfield.VkRenderPassCreateInfo2KHR.BufferpAttachments(VkAttachmentDescription2KHR.Buffer value)Sets the address of the specifiedVkAttachmentDescription2KHR.Bufferto thepAttachmentsfield.java.nio.IntBufferpCorrelatedViewMasks()Returns aIntBufferview of the data pointed to by thepCorrelatedViewMasksfield.VkRenderPassCreateInfo2KHR.BufferpCorrelatedViewMasks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepCorrelatedViewMasksfield.VkSubpassDependency2KHR.BufferpDependencies()Returns aVkSubpassDependency2KHR.Bufferview of the struct array pointed to by thepDependenciesfield.VkRenderPassCreateInfo2KHR.BufferpDependencies(VkSubpassDependency2KHR.Buffer value)Sets the address of the specifiedVkSubpassDependency2KHR.Bufferto thepDependenciesfield.longpNext()Returns the value of thepNextfield.VkRenderPassCreateInfo2KHR.BufferpNext(long value)Sets the specified value to thepNextfield.VkSubpassDescription2KHR.BufferpSubpasses()Returns aVkSubpassDescription2KHR.Bufferview of the struct array pointed to by thepSubpassesfield.VkRenderPassCreateInfo2KHR.BufferpSubpasses(VkSubpassDescription2KHR.Buffer value)Sets the address of the specifiedVkSubpassDescription2KHR.Bufferto thepSubpassesfield.intsType()Returns the value of thesTypefield.VkRenderPassCreateInfo2KHR.BuffersType(int value)Sets the specified value to thesTypefield.intsubpassCount()Returns the value of thesubpassCountfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkRenderPassCreateInfo2KHR.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 byVkRenderPassCreateInfo2KHR.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.
-
attachmentCount
public int attachmentCount()
Returns the value of theattachmentCountfield.
-
pAttachments
@Nullable public VkAttachmentDescription2KHR.Buffer pAttachments()
Returns aVkAttachmentDescription2KHR.Bufferview of the struct array pointed to by thepAttachmentsfield.
-
subpassCount
public int subpassCount()
Returns the value of thesubpassCountfield.
-
pSubpasses
public VkSubpassDescription2KHR.Buffer pSubpasses()
Returns aVkSubpassDescription2KHR.Bufferview of the struct array pointed to by thepSubpassesfield.
-
dependencyCount
public int dependencyCount()
Returns the value of thedependencyCountfield.
-
pDependencies
@Nullable public VkSubpassDependency2KHR.Buffer pDependencies()
Returns aVkSubpassDependency2KHR.Bufferview of the struct array pointed to by thepDependenciesfield.
-
correlatedViewMaskCount
public int correlatedViewMaskCount()
Returns the value of thecorrelatedViewMaskCountfield.
-
pCorrelatedViewMasks
@Nullable public java.nio.IntBuffer pCorrelatedViewMasks()
Returns aIntBufferview of the data pointed to by thepCorrelatedViewMasksfield.
-
sType
public VkRenderPassCreateInfo2KHR.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkRenderPassCreateInfo2KHR.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkRenderPassCreateInfo2KHR.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
pAttachments
public VkRenderPassCreateInfo2KHR.Buffer pAttachments(@Nullable VkAttachmentDescription2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentDescription2KHR.Bufferto thepAttachmentsfield.
-
pSubpasses
public VkRenderPassCreateInfo2KHR.Buffer pSubpasses(VkSubpassDescription2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDescription2KHR.Bufferto thepSubpassesfield.
-
pDependencies
public VkRenderPassCreateInfo2KHR.Buffer pDependencies(@Nullable VkSubpassDependency2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDependency2KHR.Bufferto thepDependenciesfield.
-
pCorrelatedViewMasks
public VkRenderPassCreateInfo2KHR.Buffer pCorrelatedViewMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepCorrelatedViewMasksfield.
-
-