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 ofVkSubpassDescription
structs.
-
-
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.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
colorAttachmentCount()
Returns the value of thecolorAttachmentCount
field.VkSubpassDescription.Buffer
colorAttachmentCount(int value)
Sets the specified value to thecolorAttachmentCount
field.int
flags()
Returns the value of theflags
field.VkSubpassDescription.Buffer
flags(int value)
Sets the specified value to theflags
field.int
inputAttachmentCount()
Returns the value of theinputAttachmentCount
field.VkAttachmentReference.Buffer
pColorAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepColorAttachments
field.VkSubpassDescription.Buffer
pColorAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepColorAttachments
field.VkAttachmentReference
pDepthStencilAttachment()
Returns aVkAttachmentReference
view of the struct pointed to by thepDepthStencilAttachment
field.VkSubpassDescription.Buffer
pDepthStencilAttachment(VkAttachmentReference value)
Sets the address of the specifiedVkAttachmentReference
to thepDepthStencilAttachment
field.VkAttachmentReference.Buffer
pInputAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepInputAttachments
field.VkSubpassDescription.Buffer
pInputAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepInputAttachments
field.int
pipelineBindPoint()
Returns the value of thepipelineBindPoint
field.VkSubpassDescription.Buffer
pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.java.nio.IntBuffer
pPreserveAttachments()
Returns aIntBuffer
view of the data pointed to by thepPreserveAttachments
field.VkSubpassDescription.Buffer
pPreserveAttachments(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepPreserveAttachments
field.int
preserveAttachmentCount()
Returns the value of thepreserveAttachmentCount
field.VkAttachmentReference.Buffer
pResolveAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepResolveAttachments
field.VkSubpassDescription.Buffer
pResolveAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepResolveAttachments
field.-
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.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 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 theflags
field.
-
pipelineBindPoint
public int pipelineBindPoint()
Returns the value of thepipelineBindPoint
field.
-
inputAttachmentCount
public int inputAttachmentCount()
Returns the value of theinputAttachmentCount
field.
-
pInputAttachments
public VkAttachmentReference.Buffer pInputAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepInputAttachments
field.
-
colorAttachmentCount
public int colorAttachmentCount()
Returns the value of thecolorAttachmentCount
field.
-
pColorAttachments
public VkAttachmentReference.Buffer pColorAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepColorAttachments
field.
-
pResolveAttachments
public VkAttachmentReference.Buffer pResolveAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepResolveAttachments
field.
-
pDepthStencilAttachment
public VkAttachmentReference pDepthStencilAttachment()
Returns aVkAttachmentReference
view of the struct pointed to by thepDepthStencilAttachment
field.
-
preserveAttachmentCount
public int preserveAttachmentCount()
Returns the value of thepreserveAttachmentCount
field.
-
pPreserveAttachments
public java.nio.IntBuffer pPreserveAttachments()
Returns aIntBuffer
view of the data pointed to by thepPreserveAttachments
field.
-
flags
public VkSubpassDescription.Buffer flags(int value)
Sets the specified value to theflags
field.
-
pipelineBindPoint
public VkSubpassDescription.Buffer pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.
-
pInputAttachments
public VkSubpassDescription.Buffer pInputAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepInputAttachments
field.
-
colorAttachmentCount
public VkSubpassDescription.Buffer colorAttachmentCount(int value)
Sets the specified value to thecolorAttachmentCount
field.
-
pColorAttachments
public VkSubpassDescription.Buffer pColorAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepColorAttachments
field.
-
pResolveAttachments
public VkSubpassDescription.Buffer pResolveAttachments(VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepResolveAttachments
field.
-
pDepthStencilAttachment
public VkSubpassDescription.Buffer pDepthStencilAttachment(VkAttachmentReference value)
Sets the address of the specifiedVkAttachmentReference
to thepDepthStencilAttachment
field.
-
pPreserveAttachments
public VkSubpassDescription.Buffer pPreserveAttachments(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepPreserveAttachments
field.
-
-