libcruft-vk/device_memory.hpp
2016-02-24 11:11:41 +11:00

21 lines
454 B
C++

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