# Interface VulkanAttachmentReferenceType

All Known Implementing Classes:
  `VulkanAttachmentReference`

@Immutable public interface VulkanAttachmentReferenceType
Structure specifying an attachment reference.

See Also:
  - "VkAttachmentReference"

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `attachment()`
  `VulkanImageLayout`
  `layout()`

- ## Method Details

  - ### attachment

    @Parameter int attachment()
    Returns:
      The index of the attachment of the render pass

  - ### layout

    @Parameter VulkanImageLayout layout()
    Returns:
      The layout the attachment uses during the subpass.