# Interface VulkanSubpassDependencyType

All Known Implementing Classes:
  `VulkanSubpassDependency`

@Immutable public interface VulkanSubpassDependencyType
Structure specifying a subpass dependency.

See Also:
  - "VkSubpassDependency"

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `EXTERNAL`
  The external subpass.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<VulkanDependencyFlag>`
  `dependencyFlags()`
  `Set<VulkanAccessFlag>`
  `dstAccessMask()`
  `Set<VulkanPipelineStageFlag>`
  `dstStageMask()`
  `default int`
  `dstSubpass()`
  `Set<VulkanAccessFlag>`
  `srcAccessMask()`
  `Set<VulkanPipelineStageFlag>`
  `srcStageMask()`
  `default int`
  `srcSubpass()`

- ## Field Details

  - ### EXTERNAL

    static final int EXTERNAL
    The external subpass.
    See Also:
      - Constant Field Values

- ## Method Details

  - ### srcSubpass

    @Default default int srcSubpass()
    Returns:
      The subpass index of the first subpass in the dependency, or VK_SUBPASS_EXTERNAL.

  - ### dstSubpass

    @Default default int dstSubpass()
    Returns:
      The subpass index of the second subpass in the dependency, or VK_SUBPASS_EXTERNAL.

  - ### srcStageMask

    Set<VulkanPipelineStageFlag> srcStageMask()
    Returns:
      The source stage mask

  - ### dstStageMask

    Set<VulkanPipelineStageFlag> dstStageMask()
    Returns:
      The destination stage mask

  - ### srcAccessMask

    Set<VulkanAccessFlag> srcAccessMask()
    Returns:
      The source access mask

  - ### dstAccessMask

    Set<VulkanAccessFlag> dstAccessMask()
    Returns:
      The destination access mask

  - ### dependencyFlags

    Set<VulkanDependencyFlag> dependencyFlags()
    Returns:
      The dependency flags for the subpass