C Specification

typedef struct XrVulkanDeviceCreateInfoKHR {
    XrStructureType                 type;
    const void*                     next;
    XrSystemId                      systemId;
    XrVulkanDeviceCreateFlagsKHR    createFlags;
    PFN_vkGetInstanceProcAddr       pfnGetInstanceProcAddr;
    VkPhysicalDevice                vulkanPhysicalDevice;
    const VkDeviceCreateInfo*       vulkanCreateInfo;
    const VkAllocationCallbacks*    vulkanAllocator;
} XrVulkanDeviceCreateInfoKHR;


Member Descriptions


Valid Usage (Implicit)
  • The [XR_KHR_vulkan_enable2] extension must be enabled prior to using XrVulkanDeviceCreateInfoKHR


  • next must be NULL or a valid pointer to the next structure in a structure chain

  • createFlags must be 0

  • pfnGetInstanceProcAddr must be a valid PFN_vkGetInstanceProcAddr value

  • vulkanPhysicalDevice must be a valid VkPhysicalDevice value

  • vulkanCreateInfo must be a pointer to a valid VkDeviceCreateInfo value

  • If vulkanAllocator is not NULL, vulkanAllocator must be a pointer to a valid VkAllocationCallbacks value

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2021, The Khronos Group Inc.