Class VkTimelineSemaphoreSubmitInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkTimelineSemaphoreSubmitInfo>
org.lwjgl.vulkan.VkTimelineSemaphoreSubmitInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkTimelineSemaphoreSubmitInfoKHR

public class VkTimelineSemaphoreSubmitInfo extends org.lwjgl.system.Struct<VkTimelineSemaphoreSubmitInfo> implements org.lwjgl.system.NativeResource
Structure specifying signal and wait values for timeline semaphores.
Description

If the semaphore in VkSubmitInfo::pWaitSemaphores or VkSubmitInfo::pSignalSemaphores corresponding to an entry in pWaitSemaphoreValues or pSignalSemaphoreValues respectively was not created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE, the implementation must ignore the value in the pWaitSemaphoreValues or pSignalSemaphoreValues entry.

Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO
  • If waitSemaphoreValueCount is not 0, and pWaitSemaphoreValues is not NULL, pWaitSemaphoreValues must be a valid pointer to an array of waitSemaphoreValueCount uint64_t values
  • If signalSemaphoreValueCount is not 0, and pSignalSemaphoreValues is not NULL, pSignalSemaphoreValues must be a valid pointer to an array of signalSemaphoreValueCount uint64_t values

Layout


 struct VkTimelineSemaphoreSubmitInfo {
     VkStructureType sType();
     void const * pNext();
     uint32_t waitSemaphoreValueCount();
     uint64_t const * pWaitSemaphoreValues();
     uint32_t signalSemaphoreValueCount();
     uint64_t const * pSignalSemaphoreValues();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • WAITSEMAPHOREVALUECOUNT

      public static final int WAITSEMAPHOREVALUECOUNT
      The struct member offsets.
    • PWAITSEMAPHOREVALUES

      public static final int PWAITSEMAPHOREVALUES
      The struct member offsets.
    • SIGNALSEMAPHOREVALUECOUNT

      public static final int SIGNALSEMAPHOREVALUECOUNT
      The struct member offsets.
    • PSIGNALSEMAPHOREVALUES

      public static final int PSIGNALSEMAPHOREVALUES
      The struct member offsets.
  • Constructor Details

    • VkTimelineSemaphoreSubmitInfo

      public VkTimelineSemaphoreSubmitInfo(ByteBuffer container)
      Creates a VkTimelineSemaphoreSubmitInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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

  • Method Details