Vulkan: Allow Device Objects to be move-constructed

Former-commit-id: 3f0d936867d1830478c5a23c3076f532ea26dc94
This commit is contained in:
Lynix
2016-05-14 21:28:59 +02:00
parent e1382845b4
commit e5528abb0f
6 changed files with 23 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ namespace Nz
public:
inline DeviceObject(Device& instance);
DeviceObject(const DeviceObject&) = delete;
DeviceObject(DeviceObject&&) = delete;
DeviceObject(DeviceObject&&);
inline ~DeviceObject();
inline bool Create(const CreateInfo& createInfo, const VkAllocationCallbacks* allocator = nullptr);