Interface VulkanBufferCreateInfoType

All Known Implementing Classes:
VulkanBufferCreateInfo

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

    • flags

      @Parameter Set<VulkanBufferCreateFlag> flags()
      Returns:
      A bitmask of VkBufferCreateFlagBits specifying additional parameters of the buffer.
    • size

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

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

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

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