splited to GraphModuleManager.cpp

This commit is contained in:
2024-10-25 23:17:14 +08:00
parent 1183e44221
commit 983281f6ad
6 changed files with 122 additions and 105 deletions

View File

@@ -65,7 +65,8 @@ public:
virtual const bool IsRender(){return false;} ///<是否为渲染模块
GraphModuleManager *GetManager(){return module_manager;} ///<取得模块管理器
GPUDevice *GetDevice(){return module_manager->GetDevice();} ///<取得GPU设备
GPUDevice * GetDevice(){return module_manager->GetDevice();} ///<取得GPU设备
GPUDeviceAttribute *GetDeviceAttribute();
static const AnsiIDName *GetModuleName(){return nullptr;} ///<取得模块名称(标准通用的名称比如Upscale供通用模块使用)
virtual const AnsiIDName *GetName()const{return &module_name;} ///<取得名称(完整的私有名称比如FSR3Upscale,DLSS3Upscale)