Vulkan/Surface: Add a few wrapper methods

Former-commit-id: 2d21ec0d2407caf74eac11da6da5c7776cfc584a
This commit is contained in:
Lynix
2016-05-18 21:32:41 +02:00
parent 87629156ed
commit 591498e340
2 changed files with 78 additions and 0 deletions

View File

@@ -64,6 +64,11 @@ namespace Nz
inline void Destroy();
bool GetCapabilities(VkPhysicalDevice physicalDevice, VkSurfaceCapabilitiesKHR* surfaceCapabilities);
bool GetFormats(VkPhysicalDevice physicalDevice, std::vector<VkSurfaceFormatKHR>* surfaceFormats);
bool GetPresentModes(VkPhysicalDevice physicalDevice, std::vector<VkPresentModeKHR>* presentModes);
bool GetSupportPresentation(VkPhysicalDevice physicalDevice, UInt32 queueFamilyIndex, bool* supported);
inline bool IsSupported() const;
inline VkResult GetLastErrorCode() const;