Creating image views for swap chain

This commit is contained in:
2020-07-23 23:21:13 -07:00
parent af43934a01
commit b405c3014f
2 changed files with 40 additions and 0 deletions

View File

@@ -182,6 +182,10 @@ private:
VkQueue graphicsQueue;
VkQueue presentQueue;
VkSwapchainKHR swapChain;
std::vector<VkImage> swapChainImages;
VkFormat swapChainImageFormat;
VkExtent2D swapChainExtent;
std::vector<VkImageView> swapChainImageViews;
#ifdef WIN32
HWND hWnd;
#endif