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

      @NativeType("VkStructureType") public int sType()
      Returns:
      the value of the sType field.
    • pNext

      @NativeType("void const *") public long pNext()
      Returns:
      the value of the pNext field.
    • waitSemaphoreCount

      @NativeType("uint32_t") public int waitSemaphoreCount()
      Returns:
      the value of the waitSemaphoreCount field.
    • pWaitSemaphoreDeviceIndices

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

      @NativeType("uint32_t") public int commandBufferCount()
      Returns:
      the value of the commandBufferCount field.
    • pCommandBufferDeviceMasks

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

      @NativeType("uint32_t") public int signalSemaphoreCount()
      Returns:
      the value of the signalSemaphoreCount field.
    • pSignalSemaphoreDeviceIndices

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

      public VkDeviceGroupSubmitInfo.Buffer sType(@NativeType("VkStructureType") 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(@NativeType("void const *") long value)
      Sets the specified value to the pNext field.
    • pWaitSemaphoreDeviceIndices

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

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

      public VkDeviceGroupSubmitInfo.Buffer pSignalSemaphoreDeviceIndices(@NativeType("uint32_t const *") @Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pSignalSemaphoreDeviceIndices field.