# 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()`
  `int`
  `dstSubpass()`
  `Set<VulkanAccessFlag>`
  `srcAccessMask()`
  `Set<VulkanPipelineStageFlag>`
  `srcStageMask()`
  `int`
  `srcSubpass()`

- ## Field Details

  - ### EXTERNAL

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

- ## Method Details

  - ### srcSubpass

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

  - ### dstSubpass

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

  - ### srcStageMask

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

  - ### dstStageMask

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

  - ### srcAccessMask

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

  - ### dstAccessMask

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

  - ### dependencyFlags

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