Package org.lwjgl.vulkan
Class VkRenderPassCreateInfo2.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkRenderPassCreateInfo2,VkRenderPassCreateInfo2.Buffer>
-
- org.lwjgl.vulkan.VkRenderPassCreateInfo2.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkRenderPassCreateInfo2>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkRenderPassCreateInfo2KHR.Buffer
- Enclosing class:
- VkRenderPassCreateInfo2
public static class VkRenderPassCreateInfo2.Buffer extends org.lwjgl.system.StructBuffer<VkRenderPassCreateInfo2,VkRenderPassCreateInfo2.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkRenderPassCreateInfo2structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkRenderPassCreateInfo2.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 byVkRenderPassCreateInfo2.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 the
VkRenderPassCreateInfo2.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkRenderPassCreateInfo2.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkRenderPassCreateInfo2.flags()field.
-
attachmentCount
public int attachmentCount()
- Returns:
- the value of the
VkRenderPassCreateInfo2.attachmentCount()field.
-
pAttachments
@Nullable public VkAttachmentDescription2.Buffer pAttachments()
- Returns:
- a
VkAttachmentDescription2.Bufferview of the struct array pointed to by theVkRenderPassCreateInfo2.pAttachments()field.
-
subpassCount
public int subpassCount()
- Returns:
- the value of the
VkRenderPassCreateInfo2.subpassCount()field.
-
pSubpasses
public VkSubpassDescription2.Buffer pSubpasses()
- Returns:
- a
VkSubpassDescription2.Bufferview of the struct array pointed to by theVkRenderPassCreateInfo2.pSubpasses()field.
-
dependencyCount
public int dependencyCount()
- Returns:
- the value of the
VkRenderPassCreateInfo2.dependencyCount()field.
-
pDependencies
@Nullable public VkSubpassDependency2.Buffer pDependencies()
- Returns:
- a
VkSubpassDependency2.Bufferview of the struct array pointed to by theVkRenderPassCreateInfo2.pDependencies()field.
-
correlatedViewMaskCount
public int correlatedViewMaskCount()
- Returns:
- the value of the
VkRenderPassCreateInfo2.correlatedViewMaskCount()field.
-
pCorrelatedViewMasks
@Nullable public java.nio.IntBuffer pCorrelatedViewMasks()
- Returns:
- a
IntBufferview of the data pointed to by theVkRenderPassCreateInfo2.pCorrelatedViewMasks()field.
-
sType
public VkRenderPassCreateInfo2.Buffer sType(int value)
Sets the specified value to theVkRenderPassCreateInfo2.sType()field.
-
sType$Default
public VkRenderPassCreateInfo2.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2value to theVkRenderPassCreateInfo2.sType()field.
-
pNext
public VkRenderPassCreateInfo2.Buffer pNext(long value)
Sets the specified value to theVkRenderPassCreateInfo2.pNext()field.
-
pNext
public VkRenderPassCreateInfo2.Buffer pNext(VkRenderPassFragmentDensityMapCreateInfoEXT value)
Prepends the specifiedVkRenderPassFragmentDensityMapCreateInfoEXTvalue to thepNextchain.
-
flags
public VkRenderPassCreateInfo2.Buffer flags(int value)
Sets the specified value to theVkRenderPassCreateInfo2.flags()field.
-
pAttachments
public VkRenderPassCreateInfo2.Buffer pAttachments(@Nullable VkAttachmentDescription2.Buffer value)
Sets the address of the specifiedVkAttachmentDescription2.Bufferto theVkRenderPassCreateInfo2.pAttachments()field.
-
pSubpasses
public VkRenderPassCreateInfo2.Buffer pSubpasses(VkSubpassDescription2.Buffer value)
Sets the address of the specifiedVkSubpassDescription2.Bufferto theVkRenderPassCreateInfo2.pSubpasses()field.
-
pDependencies
public VkRenderPassCreateInfo2.Buffer pDependencies(@Nullable VkSubpassDependency2.Buffer value)
Sets the address of the specifiedVkSubpassDependency2.Bufferto theVkRenderPassCreateInfo2.pDependencies()field.
-
pCorrelatedViewMasks
public VkRenderPassCreateInfo2.Buffer pCorrelatedViewMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkRenderPassCreateInfo2.pCorrelatedViewMasks()field.
-
-