libcruft-vk/device.hpp

25 lines
574 B
C++
Raw Normal View History

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