Package org.lwjgl.vulkan
Class VkSubpassDescription2KHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSubpassDescription2KHR,VkSubpassDescription2KHR.Buffer>
-
- org.lwjgl.vulkan.VkSubpassDescription2KHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkSubpassDescription2KHR>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkSubpassDescription2KHR
public static class VkSubpassDescription2KHR.Buffer extends org.lwjgl.system.StructBuffer<VkSubpassDescription2KHR,VkSubpassDescription2KHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSubpassDescription2KHR
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
colorAttachmentCount()
Returns the value of thecolorAttachmentCount
field.VkSubpassDescription2KHR.Buffer
colorAttachmentCount(int value)
Sets the specified value to thecolorAttachmentCount
field.int
flags()
Returns the value of theflags
field.VkSubpassDescription2KHR.Buffer
flags(int value)
Sets the specified value to theflags
field.int
inputAttachmentCount()
Returns the value of theinputAttachmentCount
field.VkAttachmentReference2KHR.Buffer
pColorAttachments()
Returns aVkAttachmentReference2KHR.Buffer
view of the struct array pointed to by thepColorAttachments
field.VkSubpassDescription2KHR.Buffer
pColorAttachments(VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Buffer
to thepColorAttachments
field.VkAttachmentReference2KHR
pDepthStencilAttachment()
Returns aVkAttachmentReference2KHR
view of the struct pointed to by thepDepthStencilAttachment
field.VkSubpassDescription2KHR.Buffer
pDepthStencilAttachment(VkAttachmentReference2KHR value)
Sets the address of the specifiedVkAttachmentReference2KHR
to thepDepthStencilAttachment
field.VkAttachmentReference2KHR.Buffer
pInputAttachments()
Returns aVkAttachmentReference2KHR.Buffer
view of the struct array pointed to by thepInputAttachments
field.VkSubpassDescription2KHR.Buffer
pInputAttachments(VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Buffer
to thepInputAttachments
field.int
pipelineBindPoint()
Returns the value of thepipelineBindPoint
field.VkSubpassDescription2KHR.Buffer
pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.long
pNext()
Returns the value of thepNext
field.VkSubpassDescription2KHR.Buffer
pNext(long value)
Sets the specified value to thepNext
field.java.nio.IntBuffer
pPreserveAttachments()
Returns aIntBuffer
view of the data pointed to by thepPreserveAttachments
field.VkSubpassDescription2KHR.Buffer
pPreserveAttachments(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepPreserveAttachments
field.int
preserveAttachmentCount()
Returns the value of thepreserveAttachmentCount
field.VkAttachmentReference2KHR.Buffer
pResolveAttachments()
Returns aVkAttachmentReference2KHR.Buffer
view of the struct array pointed to by thepResolveAttachments
field.VkSubpassDescription2KHR.Buffer
pResolveAttachments(VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Buffer
to thepResolveAttachments
field.int
sType()
Returns the value of thesType
field.VkSubpassDescription2KHR.Buffer
sType(int value)
Sets the specified value to thesType
field.int
viewMask()
Returns the value of theviewMask
field.VkSubpassDescription2KHR.Buffer
viewMask(int value)
Sets the specified value to theviewMask
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSubpassDescription2KHR.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 byVkSubpassDescription2KHR.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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
pipelineBindPoint
public int pipelineBindPoint()
Returns the value of thepipelineBindPoint
field.
-
viewMask
public int viewMask()
Returns the value of theviewMask
field.
-
inputAttachmentCount
public int inputAttachmentCount()
Returns the value of theinputAttachmentCount
field.
-
pInputAttachments
@Nullable public VkAttachmentReference2KHR.Buffer pInputAttachments()
Returns aVkAttachmentReference2KHR.Buffer
view of the struct array pointed to by thepInputAttachments
field.
-
colorAttachmentCount
public int colorAttachmentCount()
Returns the value of thecolorAttachmentCount
field.
-
pColorAttachments
@Nullable public VkAttachmentReference2KHR.Buffer pColorAttachments()
Returns aVkAttachmentReference2KHR.Buffer
view of the struct array pointed to by thepColorAttachments
field.
-
pResolveAttachments
@Nullable public VkAttachmentReference2KHR.Buffer pResolveAttachments()
Returns aVkAttachmentReference2KHR.Buffer
view of the struct array pointed to by thepResolveAttachments
field.
-
pDepthStencilAttachment
@Nullable public VkAttachmentReference2KHR pDepthStencilAttachment()
Returns aVkAttachmentReference2KHR
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.
-
sType
public VkSubpassDescription2KHR.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkSubpassDescription2KHR.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkSubpassDescription2KHR.Buffer flags(int value)
Sets the specified value to theflags
field.
-
pipelineBindPoint
public VkSubpassDescription2KHR.Buffer pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.
-
viewMask
public VkSubpassDescription2KHR.Buffer viewMask(int value)
Sets the specified value to theviewMask
field.
-
pInputAttachments
public VkSubpassDescription2KHR.Buffer pInputAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Buffer
to thepInputAttachments
field.
-
colorAttachmentCount
public VkSubpassDescription2KHR.Buffer colorAttachmentCount(int value)
Sets the specified value to thecolorAttachmentCount
field.
-
pColorAttachments
public VkSubpassDescription2KHR.Buffer pColorAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Buffer
to thepColorAttachments
field.
-
pResolveAttachments
public VkSubpassDescription2KHR.Buffer pResolveAttachments(@Nullable VkAttachmentReference2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentReference2KHR.Buffer
to thepResolveAttachments
field.
-
pDepthStencilAttachment
public VkSubpassDescription2KHR.Buffer pDepthStencilAttachment(@Nullable VkAttachmentReference2KHR value)
Sets the address of the specifiedVkAttachmentReference2KHR
to thepDepthStencilAttachment
field.
-
pPreserveAttachments
public VkSubpassDescription2KHR.Buffer pPreserveAttachments(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepPreserveAttachments
field.
-
-