Vulkan/Surface: Add a few wrapper methods

Former-commit-id: 7c299cdd3964279dd6dafb25acc762d753c17ab0
This commit is contained in:
Lynix
2016-05-18 21:32:41 +02:00
parent be76deed06
commit e536f1c962
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;