# Interface VulkanAttachmentDescriptionType

All Known Implementing Classes:
  `VulkanAttachmentDescription`

@Immutable public interface VulkanAttachmentDescriptionType
Structure specifying an attachment description

See Also:
  - "VkAttachmentDescription"

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default VulkanImageLayout`
  `finalLayout()`
  `Set<VulkanAttachmentDescriptionFlag>`
  `flags()`
  `default VulkanFormat`
  `format()`
  `default VulkanImageLayout`
  `initialLayout()`
  `default VulkanAttachmentLoadOp`
  `loadOp()`
  `default VulkanSampleCountFlag`
  `samples()`
  `default VulkanAttachmentLoadOp`
  `stencilLoadOp()`
  `default VulkanAttachmentStoreOp`
  `stencilStoreOp()`
  `default VulkanAttachmentStoreOp`
  `storeOp()`

- ## Method Details

  - ### flags

    Set<VulkanAttachmentDescriptionFlag> flags()
    Returns:
      flags specifying additional properties of the attachment.

  - ### format

    @Default default VulkanFormat format()
    Returns:
      the format of the image view that will be used for the attachment.

  - ### samples

    @Default default VulkanSampleCountFlag samples()
    Returns:
      the number of samples of the image.

  - ### loadOp

    @Default default VulkanAttachmentLoadOp loadOp()
    Returns:
      A value specifying how the contents of color and depth components of the attachment are treated at the beginning of the subpass where it is first used.

  - ### storeOp

    @Default default VulkanAttachmentStoreOp storeOp()
    Returns:
      A value specifying how the contents of color and depth components of the attachment are treated at the end of the subpass where it is last used.

  - ### stencilLoadOp

    @Default default VulkanAttachmentLoadOp stencilLoadOp()
    Returns:
      A value specifying how the contents of stencil components of the attachment are treated at the beginning of the subpass where it is first used.

  - ### stencilStoreOp

    @Default default VulkanAttachmentStoreOp stencilStoreOp()
    Returns:
      A value specifying how the contents of stencil components of the attachment are treated at the end of the last subpass where it is used.

  - ### initialLayout

    @Default default VulkanImageLayout initialLayout()
    Returns:
      The layout the attachment image subresource will be in when a render pass instance begins.

  - ### finalLayout

    @Default default VulkanImageLayout finalLayout()
    Returns:
      The layout the attachment image subresource will be transitioned to when a render pass instance ends. During a render pass instance, an attachment can use a different layout in each subpass, if desired.