added to RenderCmdBuffer's Begin and End of Swapchain in RenderFramework::MainLoop

This commit is contained in:
2024-11-14 00:24:13 +08:00
parent 2ab78bf4e6
commit fda5b629a2
8 changed files with 72 additions and 4 deletions

View File

@@ -67,6 +67,15 @@ public: //module
template<typename T> T *GetModule(){return graph_module_manager->GetModule<T>(false);} ///<获取指定类型的模块
template<typename T> T *AddModule()
{
T *tm=new T(graph_module_manager);
module_list.Add(tm);
return tm;
}
SwapchainModule *GetSwapchain(){return swapchain_module;} ///<取得Swapchain模块
public: //manager