Class VkSemaphoreSubmitInfo.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkSemaphoreSubmitInfo.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 VkSemaphoreSubmitInfo.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.
    • semaphore

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

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

      public long stageMask()
      Returns:
      the value of the stageMask field.
    • deviceIndex

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

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

      public VkSemaphoreSubmitInfo.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO value to the sType field.
    • pNext

      public VkSemaphoreSubmitInfo.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • semaphore

      public VkSemaphoreSubmitInfo.Buffer semaphore(long value)
      Sets the specified value to the semaphore field.
    • value

      public VkSemaphoreSubmitInfo.Buffer value(long value)
      Sets the specified value to the value field.
    • stageMask

      public VkSemaphoreSubmitInfo.Buffer stageMask(long value)
      Sets the specified value to the stageMask field.
    • deviceIndex

      public VkSemaphoreSubmitInfo.Buffer deviceIndex(int value)
      Sets the specified value to the deviceIndex field.