#ifndef __VK_DEVICE_MEMORY_HPP #define __VK_DEVICE_MEMORY_HPP #include "./object.hpp" #include "./fwd.hpp" namespace vk { struct device_memory : public owned { void* map (const device&, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags); void unmap (const device&); VkDeviceSize commitment (const device&) const; }; } #endif