add VKDevice::GetSwapchainSize() function

This commit is contained in:
hyzboy 2020-07-03 21:12:33 +08:00
parent c667e026ec
commit b417b08f59

View File

@ -64,6 +64,8 @@ public:
public:
const VkExtent2D & GetSwapchainSize ()const {return swapchain->extent;}
bool Resize (const VkExtent2D &);
bool Resize (const uint32_t &w,const uint32_t &h)
{