Class VkFrameBoundaryEXT.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkFrameBoundaryEXT>, NativeResource, Pointer
Enclosing class:
VkFrameBoundaryEXT

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkFrameBoundaryEXT.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 VkFrameBoundaryEXT.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 Details

    • sType

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

      public long pNext()
      Returns:
      the value of the pNext field.
    • flags

      public int flags()
      Returns:
      the value of the flags field.
    • frameID

      public long frameID()
      Returns:
      the value of the frameID field.
    • imageCount

      public int imageCount()
      Returns:
      the value of the imageCount field.
    • pImages

      public @Nullable LongBuffer pImages()
      Returns:
      a LongBuffer view of the data pointed to by the pImages field.
    • bufferCount

      public int bufferCount()
      Returns:
      the value of the bufferCount field.
    • pBuffers

      public @Nullable LongBuffer pBuffers()
      Returns:
      a LongBuffer view of the data pointed to by the pBuffers field.
    • tagName

      public long tagName()
      Returns:
      the value of the tagName field.
    • tagSize

      public long tagSize()
      Returns:
      the value of the tagSize field.
    • pTag

      public @Nullable ByteBuffer pTag()
      Returns:
      a ByteBuffer view of the data pointed to by the pTag field.
    • sType

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

      public VkFrameBoundaryEXT.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_FRAME_BOUNDARY_EXT value to the sType field.
    • pNext

      public VkFrameBoundaryEXT.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • flags

      public VkFrameBoundaryEXT.Buffer flags(int value)
      Sets the specified value to the flags field.
    • frameID

      public VkFrameBoundaryEXT.Buffer frameID(long value)
      Sets the specified value to the frameID field.
    • imageCount

      public VkFrameBoundaryEXT.Buffer imageCount(int value)
      Sets the specified value to the imageCount field.
    • pImages

      public VkFrameBoundaryEXT.Buffer pImages(@Nullable LongBuffer value)
      Sets the address of the specified LongBuffer to the pImages field.
    • bufferCount

      public VkFrameBoundaryEXT.Buffer bufferCount(int value)
      Sets the specified value to the bufferCount field.
    • pBuffers

      public VkFrameBoundaryEXT.Buffer pBuffers(@Nullable LongBuffer value)
      Sets the address of the specified LongBuffer to the pBuffers field.
    • tagName

      public VkFrameBoundaryEXT.Buffer tagName(long value)
      Sets the specified value to the tagName field.
    • tagSize

      public VkFrameBoundaryEXT.Buffer tagSize(long value)
      Sets the specified value to the tagSize field.
    • pTag

      public VkFrameBoundaryEXT.Buffer pTag(@Nullable ByteBuffer value)
      Sets the address of the specified ByteBuffer to the pTag field.