C Specification

typedef struct XrVulkanSwapchainFormatListCreateInfoKHR {
    XrStructureType             type;
    const void* XR_MAY_ALIAS    next;
    uint32_t                    viewFormatCount;
    const VkFormat*             viewFormats;
} XrVulkanSwapchainFormatListCreateInfoKHR;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to an extension-specific structure.

  • viewFormatCount is the number of view formats passed in viewFormats.

  • viewFormats is an array of VkFormat.

Description

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

  • type must be XR_TYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHR

  • next must be NULL

  • If viewFormatCount is not 0, viewFormatCount must be a valid uint32_t value

  • If viewFormatCount is not 0, viewFormats must be a pointer to an array of viewFormatCount VkFormat values

See Also

Document Notes

For more information, see the OpenXR Specification at URL

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

Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.