Lugdunum  0.1.0
Buffer.inl
Go to the documentation of this file.
1 inline void Buffer::setSize(VkDeviceSize size) {
2  _size = size;
3 }
4 
5 inline void Buffer::setFlags(VkBufferCreateFlags flags) {
6  _flags = flags;
7 }
8 
9 inline void Buffer::setUsage(VkBufferUsageFlags usage) {
10  _usage = usage;
11 }
12 
13 inline void Buffer::setExclusive(bool exclusive) {
14  _exclusive = exclusive;
15 }
16 
17 inline void Buffer::setQueueFamilyIndices(std::set<uint32_t> queueFamilyIndices) {
18  _queueFamilyIndices = queueFamilyIndices;
19 }