Class VkSubpassBeginInfo.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkSubpassBeginInfo>, NativeResource, Pointer
Direct Known Subclasses:
VkSubpassBeginInfoKHR.Buffer
Enclosing class:
VkSubpassBeginInfo

public static class VkSubpassBeginInfo.Buffer extends StructBuffer<VkSubpassBeginInfo,VkSubpassBeginInfo.Buffer> implements NativeResource
An array of VkSubpassBeginInfo structs.
  • Constructor Details Link icon

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new VkSubpassBeginInfo.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 by VkSubpassBeginInfo.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer Link icon

      public Buffer(long address, int cap)
  • Method Details Link icon

    • sType Link icon

      public int sType()
      Returns:
      the value of the sType field.
    • pNext Link icon

      public long pNext()
      Returns:
      the value of the pNext field.
    • contents Link icon

      public int contents()
      Returns:
      the value of the contents field.
    • sType Link icon

      public VkSubpassBeginInfo.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default Link icon

      public VkSubpassBeginInfo.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_SUBPASS_BEGIN_INFO value to the sType field.
    • pNext Link icon

      public VkSubpassBeginInfo.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • contents Link icon

      public VkSubpassBeginInfo.Buffer contents(int value)
      Sets the specified value to the contents field.