# 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()`
  `long`
  `offset()`
  `long`
  `size()`
  `Set<VulkanAccessFlag>`
  `sourceAccessMask()`
  `VulkanQueueFamilyIndex`
  `sourceQueueFamilyIndex()`
  `Set<VulkanAccessFlag>`
  `targetAccessMask()`
  `VulkanQueueFamilyIndex`
  `targetQueueFamilyIndex()`

- ## Method Details

  - ### sourceAccessMask

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

  - ### targetAccessMask

    @Parameter Set<VulkanAccessFlag> targetAccessMask()
    Returns:
      The target access mask

  - ### sourceQueueFamilyIndex

    @Parameter VulkanQueueFamilyIndex sourceQueueFamilyIndex()
    Returns:
      The source queue family for a queue family ownership transfer.

  - ### targetQueueFamilyIndex

    @Parameter VulkanQueueFamilyIndex targetQueueFamilyIndex()
    Returns:
      The target queue family for a queue family ownership transfer.

  - ### buffer

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

  - ### offset

    @Parameter 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

    @Parameter 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.