// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a // Creative Commons Attribution 4.0 International License; see // http://creativecommons.org/licenses/by/4.0/ VkAttachmentReference(3) ======================== Name ---- VkAttachmentReference - Structure specifying an attachment reference C Specification --------------- // refBegin VkAttachmentReference - Structure specifying an attachment reference The sname:VkAttachmentReference structure is defined as: include::../api/structs/VkAttachmentReference.txt[] Members ------- * pname:attachment is the index of the attachment of the render pass, and corresponds to the index of the corresponding element in the pname:pAttachments array of the sname:VkRenderPassCreateInfo structure. If any color or depth/stencil attachments are ename:VK_ATTACHMENT_UNUSED, then no writes occur for those attachments. * pname:layout is a elink:VkImageLayout value specifying the layout the attachment uses during the subpass. The implementation will automatically perform layout transitions as needed between subpasses to make each subpass use the requested layouts. Description ----------- include::../validity/structs/VkAttachmentReference.txt[] See Also -------- elink:VkImageLayout, slink:VkSubpassDescription Document Notes -------------- For more information, see the Vulkan Specification at URL https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkAttachmentReference This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly. include::footer.txt[]