# Interface VulkanAttachmentReferenceType

All Known Implementing Classes:
  `VulkanAttachmentReference`

@Immutable public interface VulkanAttachmentReferenceType
Structure specifying an attachment reference.

See Also:
  - "VkAttachmentReference2"

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<VulkanImageAspectFlag>`
  `aspectMask()`
  `int`
  `attachment()`
  `default VulkanImageLayout`
  `layout()`

- ## Method Details

  - ### attachment

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

  - ### layout

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

  - ### aspectMask

    Set<VulkanImageAspectFlag> aspectMask()
    Returns:
      A mask of which aspect(s) can be accessed within the specified subpass as an input attachment.