Interface VulkanBufferCreateInfoType

All Known Implementing Classes:
VulkanBufferCreateInfo

@Immutable public interface VulkanBufferCreateInfoType
Information required to create a buffer.
See Also:
  • "VkBufferCreateInfo"
  • Method Details

    • flags

      Returns:
      A bitmask of VkBufferCreateFlagBits specifying additional parameters of the buffer.
    • size

      @Default default long size()
      Returns:
      The size in bytes of the buffer to be created.
    • usageFlags

      Set<VulkanBufferUsageFlag> usageFlags()
      Returns:
      A bitmask of VkBufferUsageFlagBits specifying allowed usages of the buffer.
    • sharingMode

      @Default default VulkanSharingMode sharingMode()
      Returns:
      A VkSharingMode value specifying the sharing mode of the buffer when it will be accessed by multiple queue families.
    • queueFamilyIndices

      List<VulkanQueueFamilyIndex> queueFamilyIndices()
      Returns:
      A list of queue families that will access this buffer (ignored if sharingMode is not VK_SHARING_MODE_CONCURRENT).