Interface VulkanBufferCreateInfoType
- All Known Implementing Classes:
VulkanBufferCreateInfo
@Immutable
public interface VulkanBufferCreateInfoType
Information required to create a buffer.
- See Also:
-
Method Summary
-
Method Details
-
flags
Set<VulkanBufferCreateFlag> 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
- 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).
-