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 ofVkSubpassDescription
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
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
@Nullable 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
@Nullable public VkAttachmentReference.Buffer pColorAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepColorAttachments
field.
-
pResolveAttachments
@Nullable public VkAttachmentReference.Buffer pResolveAttachments()
Returns aVkAttachmentReference.Buffer
view of the struct array pointed to by thepResolveAttachments
field.
-
pDepthStencilAttachment
@Nullable 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
@Nullable 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(@Nullable 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(@Nullable VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepColorAttachments
field.
-
pResolveAttachments
public VkSubpassDescription.Buffer pResolveAttachments(@Nullable VkAttachmentReference.Buffer value)
Sets the address of the specifiedVkAttachmentReference.Buffer
to thepResolveAttachments
field.
-
pDepthStencilAttachment
public VkSubpassDescription.Buffer pDepthStencilAttachment(@Nullable VkAttachmentReference value)
Sets the address of the specifiedVkAttachmentReference
to thepDepthStencilAttachment
field.
-
pPreserveAttachments
public VkSubpassDescription.Buffer pPreserveAttachments(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepPreserveAttachments
field.
-
-