Class VkDeviceGroupPresentInfoKHR

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SWAPCHAINCOUNT, PDEVICEMASKS, MODE

        The struct member offsets.
    • Constructor Detail

      • VkDeviceGroupPresentInfoKHR

        public VkDeviceGroupPresentInfoKHR​(java.nio.ByteBuffer container)
        Creates a VkDeviceGroupPresentInfoKHR 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()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • swapchainCount

        public int swapchainCount()
        Returns the value of the swapchainCount field.
      • pDeviceMasks

        @Nullable
        public java.nio.IntBuffer pDeviceMasks()
        Returns a IntBuffer view of the data pointed to by the pDeviceMasks field.
      • mode

        public int mode()
        Returns the value of the mode field.
      • pDeviceMasks

        public VkDeviceGroupPresentInfoKHR pDeviceMasks​(@Nullable
                                                        java.nio.IntBuffer value)
        Sets the address of the specified IntBuffer to the pDeviceMasks field.
      • set

        public VkDeviceGroupPresentInfoKHR set​(int sType,
                                               long pNext,
                                               @Nullable
                                               java.nio.IntBuffer pDeviceMasks,
                                               int mode)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

        public static VkDeviceGroupPresentInfoKHR mallocStack()
        Returns a new VkDeviceGroupPresentInfoKHR instance allocated on the thread-local MemoryStack.
      • callocStack

        public static VkDeviceGroupPresentInfoKHR callocStack()
        Returns a new VkDeviceGroupPresentInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

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

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

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

        public static int nswapchainCount​(long struct)
        Unsafe version of swapchainCount().
      • npDeviceMasks

        @Nullable
        public static java.nio.IntBuffer npDeviceMasks​(long struct)
        Unsafe version of pDeviceMasks.
      • nmode

        public static int nmode​(long struct)
        Unsafe version of mode().
      • 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.
      • nswapchainCount

        public static void nswapchainCount​(long struct,
                                           int value)
        Sets the specified value to the swapchainCount field of the specified struct.
      • npDeviceMasks

        public static void npDeviceMasks​(long struct,
                                         @Nullable
                                         java.nio.IntBuffer value)
        Unsafe version of pDeviceMasks.
      • nmode

        public static void nmode​(long struct,
                                 int value)
        Unsafe version of mode.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate
      • validate

        public static void validate​(long array,
                                    int count)
        Calls validate(long) for each struct contained in the specified struct array.
        Parameters:
        array - the struct array to validate
        count - the number of structs in array