-
- All Known Implementing Classes:
VulkanBufferCreateInfo
@Immutable public interface VulkanBufferCreateInfoType
Information required to create a buffer.- See Also:
- "VkBufferCreateInfo"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<VulkanBufferCreateFlag>
flags()
java.util.List<java.lang.Integer>
queueFamilyIndices()
VulkanSharingMode
sharingMode()
long
size()
java.util.Set<VulkanBufferUsageFlag>
usageFlags()
-
-
-
Method Detail
-
flags
@Parameter java.util.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 java.util.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 java.util.List<java.lang.Integer> queueFamilyIndices()
- Returns:
- A list of queue families that will access this buffer (ignored if sharingMode is not VK_SHARING_MODE_CONCURRENT).
-
-