Package org.lwjgl.vulkan
Class VkSubpassDescription.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkSubpassDescription,VkSubpassDescription.Buffer>
-
- org.lwjgl.vulkan.VkSubpassDescription.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkSubpassDescription
public static final class VkSubpassDescription.Buffer extends StructBuffer<VkSubpassDescription,VkSubpassDescription.Buffer>
An array ofVkSubpassDescriptionstructs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newVkSubpassDescription.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcolorAttachmentCount()Returns the value of thecolorAttachmentCountfield.VkSubpassDescription.BuffercolorAttachmentCount(int value)Sets the specified value to thecolorAttachmentCountfield.intflags()Returns the value of theflagsfield.VkSubpassDescription.Bufferflags(int value)Sets the specified value to theflagsfield.intinputAttachmentCount()Returns the value of theinputAttachmentCountfield.VkAttachmentReference.BufferpColorAttachments()Returns aVkAttachmentReference.Bufferview of the struct array pointed to by thepColorAttachmentsfield.VkSubpassDescription.BufferpColorAttachments(VkAttachmentReference.Buffer value)Sets the address of the specifiedVkAttachmentReference.Bufferto thepColorAttachmentsfield.VkAttachmentReferencepDepthStencilAttachment()Returns aVkAttachmentReferenceview of the struct pointed to by thepDepthStencilAttachmentfield.VkSubpassDescription.BufferpDepthStencilAttachment(VkAttachmentReference value)Sets the address of the specifiedVkAttachmentReferenceto thepDepthStencilAttachmentfield.VkAttachmentReference.BufferpInputAttachments()Returns aVkAttachmentReference.Bufferview of the struct array pointed to by thepInputAttachmentsfield.VkSubpassDescription.BufferpInputAttachments(VkAttachmentReference.Buffer value)Sets the address of the specifiedVkAttachmentReference.Bufferto thepInputAttachmentsfield.intpipelineBindPoint()Returns the value of thepipelineBindPointfield.VkSubpassDescription.BufferpipelineBindPoint(int value)Sets the specified value to thepipelineBindPointfield.java.nio.IntBufferpPreserveAttachments()Returns aIntBufferview of the data pointed to by thepPreserveAttachmentsfield.VkSubpassDescription.BufferpPreserveAttachments(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepPreserveAttachmentsfield.intpreserveAttachmentCount()Returns the value of thepreserveAttachmentCountfield.VkAttachmentReference.BufferpResolveAttachments()Returns aVkAttachmentReference.Bufferview of the struct array pointed to by thepResolveAttachmentsfield.VkSubpassDescription.BufferpResolveAttachments(VkAttachmentReference.Buffer value)Sets the address of the specifiedVkAttachmentReference.Bufferto thepResolveAttachmentsfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
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.
-
-
Method Detail
-
flags
public int flags()
Returns the value of theflagsfield.
-
pipelineBindPoint
public int pipelineBindPoint()
Returns the value of thepipelineBindPointfield.
-
inputAttachmentCount
public int inputAttachmentCount()
Returns the value of theinputAttachmentCountfield.
-
pInputAttachments
public VkAttachmentReference.Buffer pInputAttachments()
Returns aVkAttachmentReference.Bufferview of the struct array pointed to by thepInputAttachmentsfield.
-
colorAttachmentCount
public int colorAttachmentCount()
Returns the value of thecolorAttachmentCountfield.
-
pColorAttachments
public VkAttachmentReference.Buffer pColorAttachments()
Returns aVkAttachmentReference.Bufferview of the struct array pointed to by thepColorAttachmentsfield.
-
pResolveAttachments
public VkAttachmentReference.Buffer pResolveAttachments()
Returns aVkAttachmentReference.Bufferview of the struct array pointed to by thepResolveAttachmentsfield.
-
pDepthStencilAttachment
public VkAttachmentReference pDepthStencilAttachment()
Returns aVkAttachmentReferenceview of the struct pointed to by thepDepthStencilAttachmentfield.
-
preserveAttachmentCount
public int preserveAttachmentCount()
Returns the value of thepreserveAttachmentCountfield.
-
pPreserveAttachments
public java.nio.IntBuffer pPreserveAttachments()
Returns aIntBufferview of the data pointed to by thepPreserveAttachmentsfield.
-
flags
public VkSubpassDescription.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
pipelineBindPoint
public VkSubpassDescription.Buffer pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPointfield.
-
pInputAttachments
public VkSubpassDescription.Buffer pInputAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Bufferto thepInputAttachmentsfield.
-
colorAttachmentCount
public VkSubpassDescription.Buffer colorAttachmentCount(int value)
Sets the specified value to thecolorAttachmentCountfield.
-
pColorAttachments
public VkSubpassDescription.Buffer pColorAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Bufferto thepColorAttachmentsfield.
-
pResolveAttachments
public VkSubpassDescription.Buffer pResolveAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Bufferto thepResolveAttachmentsfield.
-
pDepthStencilAttachment
public VkSubpassDescription.Buffer pDepthStencilAttachment(VkAttachmentReference value)
Sets the address of the specifiedVkAttachmentReferenceto thepDepthStencilAttachmentfield.
-
pPreserveAttachments
public VkSubpassDescription.Buffer pPreserveAttachments(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepPreserveAttachmentsfield.
-
-