6#include <vulkan/vulkan.h>
25 VkPhysicalDevice physical_device,
37 VkDeviceSize
size()
const {
return m_size; }
50 void * m_mapped_memory;
Definition: Buffer.hpp:11
VkBuffer buffer
Definition: Buffer.hpp:41
VkDeviceSize size() const
Definition: Buffer.hpp:37
VkDeviceMemory memory
Definition: Buffer.hpp:42
Buffer & operator=(const Buffer &)=delete
Buffer(const Buffer &)=delete
void * mappedMemory()
Definition: Buffer.cpp:127
~Buffer()
Definition: Buffer.cpp:68
Buffer()
Definition: Buffer.cpp:5
void clear()
Definition: Buffer.cpp:109
Definition: Buffer.hpp:16
VkDeviceSize size
Definition: Buffer.hpp:17
VkMemoryPropertyFlags memory_properties
Definition: Buffer.hpp:19
VkBufferUsageFlags usage
Definition: Buffer.hpp:18