# Interface VulkanBufferMemoryBarrierType

All Known Implementing Classes:
  `VulkanBufferMemoryBarrier`

@Immutable public interface VulkanBufferMemoryBarrierType
Structure specifying the parameters of a buffer memory barrier.

See Also:
  - "VkBufferMemoryBarrier"

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VulkanBufferType`
  `buffer()`
  `Set<VulkanAccessFlag>`
  `dstAccessMask()`
  `VulkanQueueFamilyIndex`
  `dstQueueFamilyIndex()`
  `Set<VulkanPipelineStageFlag>`
  `dstStageMask()`
  `default long`
  `offset()`
  `default long`
  `size()`
  `Set<VulkanAccessFlag>`
  `srcAccessMask()`
  `VulkanQueueFamilyIndex`
  `srcQueueFamilyIndex()`
  `Set<VulkanPipelineStageFlag>`
  `srcStageMask()`

- ## Method Details

  - ### srcStageMask

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

  - ### srcAccessMask

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

  - ### dstStageMask

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

  - ### dstAccessMask

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

  - ### srcQueueFamilyIndex

    VulkanQueueFamilyIndex srcQueueFamilyIndex()
    Returns:
      The source queue family for a queue family ownership transfer.

  - ### dstQueueFamilyIndex

    VulkanQueueFamilyIndex dstQueueFamilyIndex()
    Returns:
      The target queue family for a queue family ownership transfer.

  - ### buffer

    VulkanBufferType buffer()
    Returns:
      The buffer affected by this barrier.

  - ### offset

    @Default default long offset()
    Returns:
      An offset in bytes into the backing memory for buffer; this is relative to the base offset as bound to the buffer

  - ### size

    @Default default long size()
    Returns:
      A size in bytes of the affected area of backing memory for buffer, or VK_WHOLE_SIZE to use the range from offset to the end of the buffer.