moved Swapchain's codes to SwapchainModule

This commit is contained in:
2024-11-06 00:34:23 +08:00
parent 173d3e075a
commit c3a5518b38
6 changed files with 27 additions and 19 deletions

View File

@@ -10,6 +10,12 @@ class SwapchainModule:public GraphModule
RTSwapchain *swapchain_rt=nullptr;
private:
bool CreateSwapchainFBO(Swapchain *);
Swapchain *CreateSwapchain(const VkExtent2D &acquire_extent);
public:
GRAPH_MODULE_CONSTRUCT(Swapchain)