moved few codes to SwapchainModule

This commit is contained in:
2024-10-29 00:50:32 +08:00
parent 4f870edc3b
commit d1ad3f35ac
3 changed files with 128 additions and 1 deletions

View File

@@ -6,11 +6,16 @@ VK_NAMESPACE_BEGIN
class SwapchainModule:public GraphModule
{
Swapchain *swapchain=nullptr;
RTSwapchain *swapchain_rt=nullptr;
public:
GRAPH_MODULE_CONSTRUCT(Swapchain)
virtual ~SwapchainModule()=default;
bool Init() override;
};//class SwapchainModule:public RenderModule
VK_NAMESPACE_END