Vulkan/DeviceObject: Add IsValid()

Former-commit-id: 5ac734d6444206e36570f9b85d01920442913618 [formerly 677ce9e18ce84afae896bb98b0a4bbbf9eea8132]
Former-commit-id: 2fc3167fba652add5a39860cbc95a7094671a6c7
This commit is contained in:
Lynix
2016-07-08 17:59:52 +02:00
parent f1c5f8d0b7
commit 992cd303a7
2 changed files with 10 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ namespace Nz
inline bool Create(const DeviceHandle& device, const CreateInfo& createInfo, const VkAllocationCallbacks* allocator = nullptr);
inline void Destroy();
inline bool IsValid() const;
inline const DeviceHandle& GetDevice() const;
inline VkResult GetLastErrorCode() const;