libcruft-vk/device_memory.hpp

21 lines
454 B
C++
Raw Normal View History

2016-02-24 11:11:41 +11:00
#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