30 void setSize(VkDeviceSize size);
31 void setFlags(VkBufferCreateFlags flags);
32 void setUsage(VkBufferUsageFlags usage);
38 std::unique_ptr<API::Buffer>
build(VkResult* returnResult =
nullptr);
void setFlags(VkBufferCreateFlags flags)
Buffer(const API::Device &device)
void setQueueFamilyIndices(std::set< uint32_t > queueFamilyIndices)
bool build(API::Buffer &instance, VkResult *returnResult=nullptr)
void setSize(VkDeviceSize size)
VkBufferUsageFlags _usage
std::set< uint32_t > _queueFamilyIndices
VkBufferCreateFlags _flags
const API::Device & _device
void setExclusive(bool exclusive)
void setUsage(VkBufferUsageFlags usage)
Buffer & operator=(const Buffer &)=delete