Class VkDeviceGroupSubmitInfo.Buffer

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

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

    • Buffer

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

      public int waitSemaphoreCount()
      Returns:
      the value of the waitSemaphoreCount field.
    • pWaitSemaphoreDeviceIndices

      public @Nullable IntBuffer pWaitSemaphoreDeviceIndices()
      Returns:
      a IntBuffer view of the data pointed to by the pWaitSemaphoreDeviceIndices field.
    • commandBufferCount

      public int commandBufferCount()
      Returns:
      the value of the commandBufferCount field.
    • pCommandBufferDeviceMasks

      public @Nullable IntBuffer pCommandBufferDeviceMasks()
      Returns:
      a IntBuffer view of the data pointed to by the pCommandBufferDeviceMasks field.
    • signalSemaphoreCount

      public int signalSemaphoreCount()
      Returns:
      the value of the signalSemaphoreCount field.
    • pSignalSemaphoreDeviceIndices

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

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

      public VkDeviceGroupSubmitInfo.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO value to the sType field.
    • pNext

      public VkDeviceGroupSubmitInfo.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • pWaitSemaphoreDeviceIndices

      public VkDeviceGroupSubmitInfo.Buffer pWaitSemaphoreDeviceIndices(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pWaitSemaphoreDeviceIndices field.
    • pCommandBufferDeviceMasks

      public VkDeviceGroupSubmitInfo.Buffer pCommandBufferDeviceMasks(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pCommandBufferDeviceMasks field.
    • pSignalSemaphoreDeviceIndices

      public VkDeviceGroupSubmitInfo.Buffer pSignalSemaphoreDeviceIndices(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pSignalSemaphoreDeviceIndices field.