Class VkSemaphoreTypeCreateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SEMAPHORETYPE, INITIALVALUE

        The struct member offsets.
    • Constructor Detail

      • VkSemaphoreTypeCreateInfo

        public VkSemaphoreTypeCreateInfo​(java.nio.ByteBuffer container)
        Creates a VkSemaphoreTypeCreateInfo 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.
      • semaphoreType

        public int semaphoreType()
        a VkSemaphoreType value specifying the type of the semaphore.
      • set

        public VkSemaphoreTypeCreateInfo set​(int sType,
                                             long pNext,
                                             int semaphoreType,
                                             long initialValue)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

        public static VkSemaphoreTypeCreateInfo.Buffer calloc​(int capacity,
                                                              org.lwjgl.system.MemoryStack stack)
        Returns a new VkSemaphoreTypeCreateInfo.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().
      • nsemaphoreType

        public static int nsemaphoreType​(long struct)
        Unsafe version of semaphoreType().
      • ninitialValue

        public static long ninitialValue​(long struct)
        Unsafe version of initialValue().
      • 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.
      • nsemaphoreType

        public static void nsemaphoreType​(long struct,
                                          int value)
        Unsafe version of semaphoreType.
      • ninitialValue

        public static void ninitialValue​(long struct,
                                         long value)
        Unsafe version of initialValue.