Package org.lwjgl.vulkan
Class VkSubpassDescription.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSubpassDescription,VkSubpassDescription.Buffer>
-
- org.lwjgl.vulkan.VkSubpassDescription.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkSubpassDescription>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkSubpassDescription
public static class VkSubpassDescription.Buffer extends org.lwjgl.system.StructBuffer<VkSubpassDescription,VkSubpassDescription.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSubpassDescriptionstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSubpassDescription.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 byVkSubpassDescription.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
-
flags
public int flags()
- Returns:
- the value of the
VkSubpassDescription.flags()field.
-
pipelineBindPoint
public int pipelineBindPoint()
- Returns:
- the value of the
VkSubpassDescription.pipelineBindPoint()field.
-
inputAttachmentCount
public int inputAttachmentCount()
- Returns:
- the value of the
VkSubpassDescription.inputAttachmentCount()field.
-
pInputAttachments
@Nullable public VkAttachmentReference.Buffer pInputAttachments()
- Returns:
- a
VkAttachmentReference.Bufferview of the struct array pointed to by theVkSubpassDescription.pInputAttachments()field.
-
colorAttachmentCount
public int colorAttachmentCount()
- Returns:
- the value of the
VkSubpassDescription.colorAttachmentCount()field.
-
pColorAttachments
@Nullable public VkAttachmentReference.Buffer pColorAttachments()
- Returns:
- a
VkAttachmentReference.Bufferview of the struct array pointed to by theVkSubpassDescription.pColorAttachments()field.
-
pResolveAttachments
@Nullable public VkAttachmentReference.Buffer pResolveAttachments()
- Returns:
- a
VkAttachmentReference.Bufferview of the struct array pointed to by theVkSubpassDescription.pResolveAttachments()field.
-
pDepthStencilAttachment
@Nullable public VkAttachmentReference pDepthStencilAttachment()
- Returns:
- a
VkAttachmentReferenceview of the struct pointed to by theVkSubpassDescription.pDepthStencilAttachment()field.
-
preserveAttachmentCount
public int preserveAttachmentCount()
- Returns:
- the value of the
VkSubpassDescription.preserveAttachmentCount()field.
-
pPreserveAttachments
@Nullable public java.nio.IntBuffer pPreserveAttachments()
- Returns:
- a
IntBufferview of the data pointed to by theVkSubpassDescription.pPreserveAttachments()field.
-
flags
public VkSubpassDescription.Buffer flags(int value)
Sets the specified value to theVkSubpassDescription.flags()field.
-
pipelineBindPoint
public VkSubpassDescription.Buffer pipelineBindPoint(int value)
Sets the specified value to theVkSubpassDescription.pipelineBindPoint()field.
-
pInputAttachments
public VkSubpassDescription.Buffer pInputAttachments(@Nullable VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Bufferto theVkSubpassDescription.pInputAttachments()field.
-
colorAttachmentCount
public VkSubpassDescription.Buffer colorAttachmentCount(int value)
Sets the specified value to theVkSubpassDescription.colorAttachmentCount()field.
-
pColorAttachments
public VkSubpassDescription.Buffer pColorAttachments(@Nullable VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Bufferto theVkSubpassDescription.pColorAttachments()field.
-
pResolveAttachments
public VkSubpassDescription.Buffer pResolveAttachments(@Nullable VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Bufferto theVkSubpassDescription.pResolveAttachments()field.
-
pDepthStencilAttachment
public VkSubpassDescription.Buffer pDepthStencilAttachment(@Nullable VkAttachmentReference value)
Sets the address of the specifiedVkAttachmentReferenceto theVkSubpassDescription.pDepthStencilAttachment()field.
-
pPreserveAttachments
public VkSubpassDescription.Buffer pPreserveAttachments(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkSubpassDescription.pPreserveAttachments()field.
-
-