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

25 lines
574 B
C++

#ifndef __VK_DEVICE_HPP
#define __VK_DEVICE_HPP
#include "./object.hpp"
#include "./fwd.hpp"
namespace vk {
struct device : public instantiated<device> {
device (const physical_device&,
const VkDeviceCreateInfo&);
VkPhysicalDeviceMemoryProperties
physical_properties (void) const;
void flush (const VkMappedMemoryRange *first,
const VkMappedMemoryRange *last);
void invalidate (const VkMappedMemoryRange *first,
const VkMappedMemoryRange *last);
};
}
#endif