Class XrGraphicsBindingVulkanKHR

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, INSTANCE, PHYSICALDEVICE, DEVICE, QUEUEFAMILYINDEX, QUEUEINDEX

        The struct member offsets.
    • Constructor Detail

      • XrGraphicsBindingVulkanKHR

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

        public int type()
        the XrStructureType of this structure.
      • next

        public long next()
        NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.
      • instance

        public long instance()
        a valid Vulkan VkInstance.
      • physicalDevice

        public long physicalDevice()
        a valid Vulkan VkPhysicalDevice.
      • device

        public long device()
        a valid Vulkan VkDevice.
      • queueFamilyIndex

        public int queueFamilyIndex()
        a valid queue family index on device.
      • queueIndex

        public int queueIndex()
        a valid queue index on device to be used for synchronization.
      • set

        public XrGraphicsBindingVulkanKHR set​(int type,
                                              long next,
                                              org.lwjgl.vulkan.VkInstance instance,
                                              org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
                                              org.lwjgl.vulkan.VkDevice device,
                                              int queueFamilyIndex,
                                              int queueIndex)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

        public static int ntype​(long struct)
        Unsafe version of type().
      • nnext

        public static long nnext​(long struct)
        Unsafe version of next().
      • ninstance

        public static long ninstance​(long struct)
        Unsafe version of instance().
      • nphysicalDevice

        public static long nphysicalDevice​(long struct)
        Unsafe version of physicalDevice().
      • ndevice

        public static long ndevice​(long struct)
        Unsafe version of device().
      • nqueueFamilyIndex

        public static int nqueueFamilyIndex​(long struct)
        Unsafe version of queueFamilyIndex().
      • nqueueIndex

        public static int nqueueIndex​(long struct)
        Unsafe version of queueIndex().
      • ntype

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nnext

        public static void nnext​(long struct,
                                 long value)
        Unsafe version of next.
      • ninstance

        public static void ninstance​(long struct,
                                     org.lwjgl.vulkan.VkInstance value)
        Unsafe version of instance.
      • nphysicalDevice

        public static void nphysicalDevice​(long struct,
                                           org.lwjgl.vulkan.VkPhysicalDevice value)
        Unsafe version of physicalDevice.
      • ndevice

        public static void ndevice​(long struct,
                                   org.lwjgl.vulkan.VkDevice value)
        Unsafe version of device.
      • nqueueFamilyIndex

        public static void nqueueFamilyIndex​(long struct,
                                             int value)
        Unsafe version of queueFamilyIndex.
      • nqueueIndex

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

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