C Specification

typedef struct XrVulkanInstanceCreateInfoKHR {
    XrStructureType                   type;
    const void*                       next;
    XrSystemId                        systemId;
    XrVulkanInstanceCreateFlagsKHR    createFlags;
    PFN_vkGetInstanceProcAddr         pfnGetInstanceProcAddr;
    const VkInstanceCreateInfo*       vulkanCreateInfo;
    const VkAllocationCallbacks*      vulkanAllocator;
} XrVulkanInstanceCreateInfoKHR;

Members

Member Descriptions

Description

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

  • type must be XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR

  • 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

  • vulkanCreateInfo must be a pointer to a valid VkInstanceCreateInfo 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.