Class VkSemaphoreSubmitInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SEMAPHORE, VALUE, STAGEMASK, DEVICEINDEX

        The struct member offsets.
    • Constructor Detail

      • VkSemaphoreSubmitInfo

        public VkSemaphoreSubmitInfo​(java.nio.ByteBuffer container)
        Creates a VkSemaphoreSubmitInfo 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

        public long pNext()
        NULL or a pointer to a structure extending this structure.
      • semaphore

        public long semaphore()
        a VkSemaphore affected by this operation.
      • value

        public long value()
        either the value used to signal semaphore or the value waited on by semaphore, if semaphore is a timeline semaphore. Otherwise it is ignored.
      • deviceIndex

        public int deviceIndex()
        the index of the device within a device group that executes the semaphore wait or signal operation.
      • set

        public VkSemaphoreSubmitInfo set​(int sType,
                                         long pNext,
                                         long semaphore,
                                         long value,
                                         long stageMask,
                                         int deviceIndex)
        Initializes this struct with the specified values.
      • malloc

        public static VkSemaphoreSubmitInfo malloc()
        Returns a new VkSemaphoreSubmitInfo instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static VkSemaphoreSubmitInfo calloc()
        Returns a new VkSemaphoreSubmitInfo instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static VkSemaphoreSubmitInfo create()
        Returns a new VkSemaphoreSubmitInfo instance allocated with BufferUtils.
      • create

        public static VkSemaphoreSubmitInfo create​(long address)
        Returns a new VkSemaphoreSubmitInfo instance for the specified memory address.
      • createSafe

        @Nullable
        public static VkSemaphoreSubmitInfo createSafe​(long address)
        Like create, but returns null if address is NULL.
      • malloc

        public static VkSemaphoreSubmitInfo malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkSemaphoreSubmitInfo instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkSemaphoreSubmitInfo calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkSemaphoreSubmitInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • malloc

        public static VkSemaphoreSubmitInfo.Buffer malloc​(int capacity,
                                                          org.lwjgl.system.MemoryStack stack)
        Returns a new VkSemaphoreSubmitInfo.Buffer instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • calloc

        public static VkSemaphoreSubmitInfo.Buffer calloc​(int capacity,
                                                          org.lwjgl.system.MemoryStack stack)
        Returns a new VkSemaphoreSubmitInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • nsemaphore

        public static long nsemaphore​(long struct)
        Unsafe version of semaphore().
      • nvalue

        public static long nvalue​(long struct)
        Unsafe version of value().
      • nstageMask

        public static long nstageMask​(long struct)
        Unsafe version of stageMask().
      • ndeviceIndex

        public static int ndeviceIndex​(long struct)
        Unsafe version of deviceIndex().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.
      • nsemaphore

        public static void nsemaphore​(long struct,
                                      long value)
        Unsafe version of semaphore.
      • nvalue

        public static void nvalue​(long struct,
                                  long value)
        Unsafe version of value.
      • nstageMask

        public static void nstageMask​(long struct,
                                      long value)
        Unsafe version of stageMask.
      • ndeviceIndex

        public static void ndeviceIndex​(long struct,
                                        int value)
        Unsafe version of deviceIndex.