Vulkan: Allow Device Objects to be move-constructed

Former-commit-id: c7fb30b30d2242e19d531a6860b856660b6b0c01
This commit is contained in:
Lynix
2016-05-14 21:28:59 +02:00
parent 1346c3e2c0
commit 68e3fd8db3
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);