// Copyright (c) 2020-2024, The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

include::{generated}/meta/XR_KHR_swapchain_usage_input_attachment_bit.adoc[]

*Last Modified Date*::
    2021-05-11
*IP Status*::
    No known IP claims.
*Contributors*::
    Jakob Bornecrantz, Collabora +
    Rylie Pavlik, Collabora +

*Overview*

This extension enables an application to specify that swapchain images
should be created in a way so that they can be used as input attachments.
At the time of writing this bit only affects Vulkan swapchains.

*New Object Types*

*New Flag Types*

*New Enum Constants*

elink:XrSwapchainUsageFlagBits enumeration is extended with:

* ename:XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR - indicates that the
  image format may: be used as an input attachment.

*New Enums*

*New Structures*

*New Functions*

*Issues*

*Version History*

* Revision 1, 2020-07-23 (Jakob Bornecrantz)
** Initial draft
* Revision 2, 2020-07-24 (Jakob Bornecrantz)
** Added note about only affecting Vulkan
** Changed from MNDX to MND
* Revision 3, 2021-05-11 (Rylie Pavlik, Collabora, Ltd.)
** Updated for promotion from MND to KHR
