Added KRDevice::createImage

This commit is contained in:
2022-07-15 23:53:42 -07:00
parent b857654cf6
commit 003bee0d25
2 changed files with 38 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ public:
#endif
);
bool createImage(Vector2i dimensions, VkImage* image, VmaAllocation* allocation);
KrResult selectSurfaceFormat(VkSurfaceKHR& surface, VkSurfaceFormatKHR& surfaceFormat);
KrResult selectDepthFormat(VkFormat& selectedDepthFormat);
KrResult selectPresentMode(VkSurfaceKHR& surface, VkPresentModeKHR& selectedPresentMode);